You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Next »
GET subscriptions/configuration/behavior_codes/list
This method returns a list of behavior codes and business classification codes that can be applied on a specific subscription, subscription service or subscription installed item, considering their life cycle state. Multiple behavior codes are returned by each call
Resource URL
Parameters
Name | Type | Description |
token | String | The token retrieved from the login method |
subscription_identifier (semi-optional) | Subscription Identifier | The identifier of the subscription that the action will be applied on. The allowed subscription identifier fields are the following: | | |
---|
id (semi-optional) | String | The ID of subscription | number (semi-optional) | String | The number of subscription |
|
subscription_service_id (semi-optional) | String | The subscription service that the action will be applied on. |
subscription_installed_item_id (semi-optional) | String | The subscription installed item that the action will be applied on. |
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 |
Restrictions
- It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.
Response Data
Name | Type | Description |
---|
behavior_code | String | The applicable behavior code. The supported behavior codes are the following: - ACTIVATESUBSCRIPTION
- ADDINSTALLEDITEM
- ADDSERVICEUSAGE
- ADDSERVICE
- AMENDBILLINGTERMS
- BECOMESUBSCRIBER
- BILLASOFDATE
- CHANGESUBRIBERACCOUNT
- CHANGESUBSCRIPTIONLOCATION
- DEACTIVATESUBSCRIPTION
- ENDSUBSCRIPTIONRESTING
- EXTENDGRACEPERIOD
- REMOVEINSTALLEDITEM
- REMOVESERVICE
- RESTSUBSCRIPTION
- STARTSERVICE
- STOPSERVICE
- SWAPINSTALLEDITEM
- SWAPSERVICE
- TERMINATESUBSCRIPTION
- REPLACESUBSCRIPTION
- SWAPPACKAGE
|
business_classification_codes_set | Set of Business Classification Codes Object | The applicable business classification codes |
Referred Objects Response Data
business classification code referred response object
Name | Type | Description |
---|
business_classification_code | String | The applicable business classification code. The supported business classification codes, per behavior code are the following: - ACTIVATESUBSCRIPTION
- ADDINSTALLEDITEM
- ADDSERVICEUSAGE
- ADDSERVICE / ADDSERVICEASDRAFT
- NEWBINDINGPERIODTERMS / RENEWEDBINDINGPERIODTERMS / EXTENDEDBINDINGPERIODTERMS / ADJUSTEDBINDINGPERIODTERMS / CANCELEDBINDINGPERIODTERMS / NOBINDINGPERIODTERMCHANGES
- CREATEACTIVATESUBSCRIPTION / CREATEDRAFTSUBSCRIPTION
- NORMAL
- CHANGESUBSCRIBER / CHANGEACCOUNTSRECEIVABLE
- CHANGESUBSCRIPTIONLOCATION
- DEACTIVATESUBSCRIPTION
- ENDSUBSCRIPTIONRESTING
- EXTENDGRACEPERIOD
- REMOVEINSTALLEDITEM / UNDOADDINSTITEM
- REGRETSERVICE / UNDOADDSERVICE / REGRETSERVICE / CANCELSERVICE
- RESTSUBSCRIPTION
- STARTSERVICE
- STOPSERVICE
- SWAPINSTALLEDITEM
UPGRADESERVICE / DOWNGRADESERVICE / SWITCHSERVICE - REGRETSUBSCRIPTION / CANCELSUBSCRIPTION
- REPLACESUBFLEXTOFLEX / REPLACESUBFLEXTOPACK
- UPGRADEPACKAGE / DOWNGRADEPACKAGE / SWITCHPACKAGE
|
Examples
Example 1
HTTP Method: GET
Request:
Response:
{
"status": {
"message": null,
"description": null,
"code": "OK"
},
"data": [
{
"behavior_code": "DEACTIVATE_SUBSCRIPTION",
"business_classification_codes_set": [
{
"business_classification_code": "DEACTIVATE_SUBSCRIPTION"
}
]
},
{
"behavior_code": "TERMINATE_SUBSCRIPTION",
"business_classification_codes_set": [
{
"business_classification_code": "REGRET_SUBSCRIPTION"
},
{
"business_classification_code": "CANCEL_SUBSCRIPTION"
}
]
},
{
"behavior_code": "REST_SUBSCRIPTION",
"business_classification_codes_set": [
{
"business_classification_code": "REST_SUBSCRIPTION"
}
]
},
{
"behavior_code": "CHANGE_SUBSCRIBER_ACCOUNT",
"business_classification_codes_set": [
{
"business_classification_code": "CHANGE_SUBSCRIBER"
},
{
"business_classification_code": "CHANGE_ACCOUNTS_RECEIVABLE"
}
]
},
{
"behavior_code": "AMEND_BILLING_TERMS",
"business_classification_codes_set": [
{
"business_classification_code": "ADJUSTED_BINDING_PERIOD_TERMS"
},
{
"business_classification_code": "CANCELED_BINDING_PERIOD_TERMS"
},
{
"business_classification_code": "EXTENDED_BINDING_PERIOD_TERMS"
},
{
"business_classification_code": "NEW_BINDING_PERIOD_TERMS"
},
{
"business_classification_code": "NO_BINDING_PERIOD_TERM_CHANGES"
},
{
"business_classification_code": "RENEWED_BINDING_PERIOD_TERMS"
}
]
},
{
"behavior_code": "CHANGE_SUBSCRIPTION_LOCATION",
"business_classification_codes_set": [
{
"business_classification_code": "CHANGE_SUBSCRIPTION_LOCATION"
}
]
},
{
"behavior_code": "EXTEND_GRACE_PERIOD",
"business_classification_codes_set": [
{
"business_classification_code": "EXTEND_GRACE_PERIOD"
}
]
}
]
}