Subscriptions: Status
Subscriptions: Status
#340740
Description
Refer to
Resource
/subscriptions/cloud/<subscriptionId>/status
/subscriptions/containers/<subscriptionId>/status
/subscriptions/<subscriptionId>/status
Note: If you use this resource without the <platformType> specified (i.e. without cloud or containers specified), the behavior is exactly the same as specifying the cloud-specific resource. This behavior enables backward compatibility with scripts using the Densify API prior to release 12.1.6, where the platform-specific indicator was not available.
Supported Operations
Table: Subscription Status Supported Operations
HTTP Method |
Input |
Output |
Description |
Path Parameter: |
Returns the last subscription results request and webhook status of the platform-specific subscription identified by <subscriptionRef>. |
The following is a list of possible response elements returned for the /subscriptions/<platformType>/<subscriptionRef>/status resource.
Table: Subscription Status Response Schema
Element |
Type |
Filter/Sort |
Description |
string |
The status, date, and time of the last request for subscription results:
|
||
string |
The status, date, and time of the last subscription results pushed to the webhook location:
|
||
string |
|
The message for the status response is returned. |
|
number |
|
The HTTP response code of the request. Possible status values include:
|
Examples
Example: Getting the Status of a Subscription
The following example shows you how to retrieve the status of a specific cloud subscription. The status message for the subscription will be returned if the subscription is global or owned by you.