Tip |
---|
Table of Contents | ||
---|---|---|
|
GET subscriptions/actions/get_scheduled
This method returns the subscription action which are scheduled to be executed and are in life cycle state Scheduled. Multiple subscription action types are returned by each call
Resource URL
Parameters
...
Name
...
Type
...
Description
...
token
...
String
...
The token retrieved from the login method
...
subscription_identifier
(mandatory)
...
The identifier of the subscription related with the actions that will be retrieved. The allowed subscription identifier fields are the following:
...
behavior_code
(optional)
...
The behavior code of the subscription actions that will be retrieved. If specified then only actions having the specified behavior code will be retrieved. The supported behavior codes are the following:
- ACTIVATE_SUBSCRIPTION
- ADD_INSTALLED_ITEM
- ADD_SERVICE_USAGE
- ADD_SERVICE
- AMEND_BILLING_TERMS
- BECOME_SUBSCRIBER
- BILL_AS_OF_DATE
- CHANGE_SUBSCRIBER_ACCOUNT
- CHANGE_SUBSCRIPTION_LOCATION
- DEACTIVATE_SUBSCRIPTION
- END_SUBSCRIPTION_RESTING
- EXTEND_GRACE_PERIOD
- REMOVE_INSTALLED_ITEM
- REMOVE_SERVICE
- REST_SUBSCRIPTION
- START_SERVICE
- STOP_SERVICE
- SWAP_INSTALLED_ITEM
- SWAP_SERVICE
- TERMINATE_SUBSCRIPTION
...
business_classification_code
(optional)
...
The business classification code of the subscription actions that will be retrieved along with the action type. If specified then only actions having the specified business classification code will be retrieved. The supported business classification codes, per behavior code are the following:
- ACTIVATE_SUBSCRIPTION
- ADD_INSTALLED_ITEM
- ADD_SERVICE_USAGE
- ADD_SERVICE / ADD_SERVICE_AS_DRAFT
- NEW_BINDING_PERIOD_TERMS / RENEWED_BINDING_PERIOD_TERMS / EXTENDED_BINDING_PERIOD_TERMS / ADJUSTED_BINDING_PERIOD_TERMS / CANCELED_BINDING_PERIOD_TERMS / NO_BINDING_PERIOD_TERM_CHANGES
- CREATE_ACTIVATE_SUBSCRIPTION / CREATE_DRAFT_SUBSCRIPTION
- NORMAL
- CHANGE_SUBSCRIBER / CHANGE_ACCOUNTS_RECEIVABLE
- CHANGE_SUBSCRIPTION_LOCATION
- DEACTIVATE_SUBSCRIPTION
- END_SUBSCRIPTION_RESTING
- EXTEND_GRACE_PERIOD
- REMOVE_INSTALLED_ITEM / UNDO_ADD_INSTALLED_ITEM
- REGRET_SERVICE / UNDO_ADD_SERVICE / REGRET_SERVICE / CANCEL_SERVICE
- REST_SUBSCRIPTION
- START_SERVICE
- STOP_SERVICE
- SWAP_INSTALLED_ITEM
UPGRADE_SERVICE / DOWNGRADE_SERVICE / SWITCH_SERVICE
- REGRET_SUBSCRIPTION / CANCEL_SUBSCRIPTION
...
fields_set
(optional)
...
List of Strings, comma separated
...
A list of fields that should be included in the results. If not specified then all the available fields will be returned
Response Data
...
Examples
Expand | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
HTTP Method: GET
Request: Response:
|
POST subscriptions/actions/cancel
This method cancels a scheduled action. This web API method can be used only on actions which are in a scheduled life cycle state. A single subscription action can be cancelled by each call
Resource URL
Parameters
...
Name
...
Type
...
Description
...
token
...
String
...
The token retrieved from the login method
...
subscription_action_identifier
(mandatory)
...
The subscription action to be cancelled. The allowed subscription action identifier fields are the following:
...
Response Data
...
Examples
Expand | ||||||
---|---|---|---|---|---|---|
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"token": "BAB61C7163984029A3E4877F727B145A",
"subscription_action_identifier":{"id":"1F46975162B043F793845CF623DB30C3"}
} |
Response:
theme | Confluence |
---|---|
language | javascript |
linenumbers | true |
name | blue |
---|
Child pages (Children Display) | ||||
---|---|---|---|---|
|