Tip |
---|
Available from CRM.COM R9.1.0 |
Excerpt |
---|
This method is used to calculate the rates that will be applied while creating a new subscription or modifying an existing one, before submitting the actual request. The rates calculation can be applied on a single subscription per each call. |
Resource URL
Parameters
...
Name
...
Type
...
Description
...
token
...
String
...
The token retrieved from the login method
...
mode
(mandatory)
...
It determines if the rate calculation should be applied on a new subscriptions or a modification of an existing subscription. The following options are supported:
...
Tip |
---|
Available from CRM.COM R9.1.0 |
Excerpt |
---|
This method is used to calculate the rates that will be applied while creating a new subscription or modifying an existing one, before submitting the actual request. The rates calculation can be applied on a single subscription per each call. |
Resource URL
Parameters
Name | Type | Description | ||||||
token | String | The token retrieved from the login method | ||||||
mode (mandatory) | String | It determines if the rate calculation should be applied on a new subscriptions or a modification of an existing subscription. The following options are supported: subscription_identifier
| ||||||
number_of_additional_periods (optional) | Number | It determines if the rates should be calculated only for the upcoming period or for additional billing periods. If not specifed then the method will return only the rates for the upcoming period | ||||||
| ||||||||
number_of_additional_periods (optional) | Number | It determines if the rates should be calculated only for the upcoming period or for additional billing periods. If not specified then the method will return only the rates for the upcoming period | ||||||
subscription_identifier (mandatory and applicable on conditions) | Subscription Identifier | The identifier of the existing subscription that should be rated. The allowed subscription identifier fields are the following:
Note that this information is applicable and mandatory only if the mode is set to RATE_ACTIVATE_SUBSCRIPTIONS, RATE_ADD_SERVICES, RATE_REMOVE_SERVICES, RATE_SWAP_SERVICES, RATE_START_SERVICES, RATE_STOP_SERVICES, RATE_BUY_IN_ADVANCE_REQUESTS, RATE_ADD_EXPENSES | ||||||
(mandatory and applicable on conditions) | Accounts Receivable Object | Information related with the accounts receivable that will own the new subscription that will be rated. Note that this information is applicable and mandatory only if the mode is set to RATE_BECOME_SUBSCRIBER | ||||||
(mandatory and applicable on conditions) | Subscription Identifier | The identifier of the existing subscription that should be rated. The allowed subscription identifier fields are the following: Include Page | | V4:subscription_identifier | V4:subscription_identifier | Subscriptions ObjectInformation related with the new subscription that will be rated Note that this information is applicable and mandatory only if the mode is set to RATE_ACTIVATE_SUBSCRIPTIONS, RATE_ADD_SERVICES, RATE_REMOVE_SERVICES, RATE_SWAP_SERVICES, RATE_START_SERVICES, RATE_STOP_SERVICES, RATE_BUY_IN_ADVANCE_REQUESTS, RATE_ADD_EXPENSES | (mandatory and applicable on conditions) | Accounts Receivable RATE_BECOME_SUBSCRIBER |
(mandatory on conditions) | Buy in Advance Request Object | Information related with the accounts receivable that will own the new a buy in advance request that might be applicable on the new or existing subscription that will be rated. Note that this information is applicable and for all modes but is mandatory only if the mode is set to RATE_BUY_BECOMEIN_ADVANCE_SUBSCRIBERsubscriptionREQUESTS | ||||||
(mandatory and applicable on conditions) | Subscriptions Object | Information related with the new subscription that will be ratedSet of New Subscription Services | Information with new services that will be added and activated on the existing subscription that was specified Note that this information is applicable and mandatory only if the mode is set to RATE_BECOME_SUBSCRIBER | (mandatory on conditions) | Buy in Advance Request Object | Information related with a buy in advance request that might be applicable on the new or existing subscription that will be rated.ADD_SERVICES or RATE_ADD_EXPENSES When the mode is set to RATE_AMEND_SERVICES_INSTALLED_ITEMS, this information is applicable but it is optional. | ||
(mandatory and applicable on conditions) | Set of Existing Subscription Services | Information with existing subscription services that will be modified on the existing subscription that was specified Note that this information is applicable for all modes but is and mandatory only if the mode is set to RATE_BUY_IN_ADVANCE_REQUESTSnew_services_REMOVE_SERVICES, RATE_START_SERVICES, RATE_STOP_SERVICES. When the mode is set to RATE_AMEND_SERVICES_INSTALLED_ITEMS, this information is applicable but it is optional. | ||||||
(mandatory and applicable on conditions) | Set of New Existing Subscription Services that will be swapped | Information with new existing subscription services that will be added and activated swapped on the existing subscription that was specified Note that this information is applicable and mandatory only if if the mode is set to RATE_SWAP_SERVICES. When the mode is set to RATE_ADDAMEND_SERVICES or RATE_ADD_EXPENSESexisting_servicesINSTALLED_ITEMS, this information is applicable but it is optional. | ||||||
(mandatory optional and applicable on conditions) | Set of Existing New Subscription ServicesInstalled Items | Information with existing new subscription services installed items that will be modified added on the existing subscription that was specified Note that this information is applicable and mandatory optional only if the mode is set to RATE_REMOVEAMEND_SERVICES, RATE_START_SERVICES, RATE_STOP_SERVICES (mandatory INSTALLED_ITEMS
| ||||||
(optional and applicable on conditions) | Set of Existing Subscription ServicesInstalled Items | Information with existing new subscription services installed items that will be deactivated on removed from the existing subscription that was specified Note that this information is applicable and mandatory optional only if the mode is set to RATE_SWAPAMEND_SERVICES_INSTALLED_ITEMS
| ||||||
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
|
Referred Parameters Objects Data
...
Include Page | ||||
---|---|---|---|---|
|
Include Page | ||||
---|---|---|---|---|
|
Include Page | ||||
---|---|---|---|---|
|
Restrictions
- It is mandatory to specify one of the semi-optional parameters. More than one of those parameters are allowed to be specified.
...