GET additive_discounts/applied_additive_discounts/list
This method returns information related with applied additive discounts (discounts that have been already taken into consideration by billing engine). Multiple applied additive discounts are returned by each call
Resource URL
Parameters
Name | Type | Description | |||||||||||||||
token | String | The token retrieved from the login method | |||||||||||||||
additive_discount_definition_identifier (semi-optional) | Additive Discount Definition identifier | The identifier of the additive discount definition related with the applied additive that should be returned as a result. The allowed additive discount definition identifier fields are the following:
| |||||||||||||||
accounts_receivable_identifier (semi-optional) | Accounts Receivable identifier | The identifier of the accounts receivable related with the applied additive discount that should be returned as a result. The allowed accounts receivable identifier fields are the following:
| |||||||||||||||
subscription_identifier (semi-optional) | Subscription identifier | The identifier of the subscription related with the applied additive discount that should be returned as a result. The allowed subscription identifier fields are the following:
| |||||||||||||||
job_identifier (semi-optional) | Job identifier | The identifier of the job related with the applied additive discount that should be returned as a result. The allowed job identifier fields are the following:
| |||||||||||||||
invoice_identifier (semi-optional) | Invoice identifier | The identifier of the job related with the applied additive discount that should be returned as a result. The allowed job identifier fields are the following:
Available from CRM.COM R14.2.0 | |||||||||||||||
additive_discount_definition_classification (semi-optional) | String | The classification of the additive discount definition related with the applied additive that should be returned as a result. The supported classifications are SUBSCRIPTIONS and JOBS
The supported classifications are SUBSCRIPTION, JOB and GENERAL Available from CRM.COM R15.0.0 | |||||||||||||||
additive_discount_definition_type (semi-optional) | String | The type of the additive discount definition related with the applied additive that should be returned as a result. The supported classifications are AUTO_APPLIED and AD_HOC | |||||||||||||||
from_date (optional) | Date | It determines the date that the applied additive discount becomes effective. If specified then only applied additive discounts which were effective on that date or after that date will be retrieved | |||||||||||||||
to_date (optional) | Date | It determines the date that the applied additive discount becomes not effective. If specified then only applied additive discounts which were effective up to that date or before that date will be retrieved | |||||||||||||||
number_of_results (optional) | Number | The number of results that can be retrieved through each call Available from CRM.COM R13.0.0 | |||||||||||||||
offset (optional) | Number | Defines the number of entities that should be skipped from the results. If it is set to 0 then none results should be skipped, otherwise the results will begin from the provided offset number Available from CRM.COM R13.0.0 | |||||||||||||||
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. More than one semi-optional parameter can be specified.
Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved applied additive discount |
number | String | The number of the retrieved applied additive discount |
discount_amount | Number | The discount amount that was applied by the additive discount |
usage_amount | Number | The free usage applied by the additive discount Available from CRM.COM R15.0.0 |
from_date | Date | The date that the additive discount was applied from |
to_date | Date | The date that the additive discount was applied to |
udf_string_1 | String | User Defined Field of type String |
udf_string_2 | String | User Defined Field of type String |
udf_string_3 | String | User Defined Field of type String |
udf_string_4 | String | User Defined Field of type String |
udf_string_5 | String | User Defined Field of type String |
udf_string_6 | String | User Defined Field of type String |
udf_string_7 | String | User Defined Field of type String |
udf_string_8 | String | User Defined Field of type String |
udf_float_1 | Float | User Defined Field of type Float |
udf_float_2 | Float | User Defined Field of type Float |
udf_float_3 | Float | User Defined Field of type Float |
udf_float_4 | Float | User Defined Field of type Float |
udf_date_1 | Date | User Defined Field of type Date |
udf_date_2 | Date | User Defined Field of type Date |
udf_date_3 | Date | User Defined Field of type Date |
udf_date_4 | Date | User Defined Field of type Date |
ad_hoc_discount | Ad hoc Discount Object | The ad hoc discount that was applied |
applied_additive_discount_definition | Additive Discount Definition Object | The additive discount definition that was applied |
subscription | Subscription Object | The subscription on which the additive discount was applied on |
job | Job Object | The Job on which the additive discount was applied on |
product | Product Object | The product on which the additive discount was applied on |
currency_rate_period | Currency Rate Period Object | The currency rate period of the additive discount Available from CRM.COM R10.0.0 |
log_information | Log Information Object | The log information of the retrieved applied additive discount |
Referred Objects Response Data