- Created by Former user on Jul 04, 2017
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
Version 1 Next »
GET additive_discounts/ad_hoc_discounts/show
This method returns information related with an ad hoc discount. A single ad hoc discount is returned by each call
Resource URL
Parameters
Name | Type | Description | |||||||||
token | String | The token retrieved from the login method | |||||||||
ad_hoc_discount_identifier (mandatory) | Ad hoc discount identifier | The identifier of the ad hoc discount that should be returned as a result. The allowed ad hoc discount identifier fields are the following:
| |||||||||
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 |
---|---|---|
id | String | The ID of the retrieved ad hoc discount |
number | String | The number of the retrieved ad hoc discount |
discount_option | String | The type of discount which will be applied, which can be one of the following
Available from CRM.COM R15.0.0 |
discount_amount | Number | The discount amount that will be applied, if the additive discount definition is set up to provide a range of discount based on amount. |
discount_amount_uot | String | The period of time that the ad hoc discount amount will be applied for Not available from CRM.COM R15.0.0 |
discount_percentage | Number | The discount percentage that will be applied, if the additive discount definition is set up to provide a range of discount based on percentage |
discount_free_usage | Number | The free usage discount that will be applied, if the additive discount definition is set up to provide a range of discount based on usage. The UOM depends on the UOM of the usage service being discounted Available from CRM.COM R15.0.0 |
for | For Object | The discounted period every time the discount is given when the Discount Option is Percentage per Period or Amount per Period. The possible options are the following:
Available from CRM.COM R15.0.0 |
renew | Renew Object | How often the discount is renewed (provided again) when the Discount Option is Percentage per Period or Amount per Period which can have one of the following options:
Available from CRM.COM R15.0.0 |
effective_date | Date | The date that the discount becomes effective |
expiration_date | Date | The date that the discount will expire |
life_cycle_state | String | The life cycle state of the retrieved ad hoc discount. Supported values are PENDING_APPROVAL, APPROVED and CANCELLED |
provided_on | Date | The date that the ad hoc discount was provided |
approved_on | Date | The date that the ad hoc discount was approved Not available from CRM.COM R15.0.0 |
cancelled_on | Date | The date that the ad hoc discount was cancelled Not available from CRM.COM R15.0.0 |
approval_method | String | The method that was followed in order to approve the the ad hoc discount. The supported approval methods are AUTOMATIC or MANUAL |
applied | Boolean | It determines if the ad hoc discount was already applied or not. It returns true if the ad hoc discount was applied or false otherwise |
applied_on | Date | The date that the ad hoc discount was applied. |
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 |
discount_free_period | Time Period object | The free period that will be provided, measured in days, weeks, months or years. This information is available if the additive discount definition is set up to provide a range of discount based on free period. Not available from CRM.COM R15.0.0 |
subscription | Subscription Object | The subscription that the ad hoc discount will be applied on |
job | Job Object | The job that the ad hoc discount will be applied on. |
additive_discount_definition | Additive Discount Definition Object | The additive discount definition that will be applied by the ad hoc discount |
provided_by | User Object | The user that provided the ad hoc discount |
approved_by | User Object | The user that approved the ad hoc discount. |
cancelled_by | User Object | The user that cancelled the ad hoc discount |
currency_rate_period | Currency Rate Period Object | The currency rate period of the ad hoc discount Available from CRM.COM R10.0.0 |
log_information | Log Information Object | The log information of the retrieved ad hoc discount |
products_set | Set of Ad hoc Discount Products Objects | Set of ad hoc discount products used to keep track of the products that the discount will be applied on. If not specified then the discount will be applicable on any products that will be billed |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
for_option | String | The period for which the discount is for:
|
for_value | Number | The for period value when the for_option is set to 'For X UOT' |
for_uot | String | The For unit of time when the for_option is set to 'For X UOT'. The supported values are the following: DAYS, WEEKS, MONTHS, YEARS |
Name | Type | Description |
---|---|---|
renew_option | String | How often the discount is renewed (provided again) which can have one of the following options:
|
renew_value | Number | The renew every 'x' value when the renew option is set to Every X UOT |
renew_uot | String | The renew period unit of time when the renew option is set to Every X UOT. The supported values are the following: DAYS, WEEKS, MONTHS, YEARS |
Name | Type | Description |
---|---|---|
time_period_value | Number | The time period value |
time_period_uot | String | The time period unit of time. The supported values are the following: MINUTES, HOURS, DAYS, WEEKS, MONTHS, YEARS |
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved subscription |
number | String | The number of the retrieved subscription |
life_cycle_state | String | The life cycle state of the subscription. One of the following values is returned DRAFT, EFFECTIVE, NOT_EFFECTIVE, SHORT_TERM_EFFECTIVE, SHORT_TERM_NOT_EFFECTIVE, IN_RESTING, CANCELLED, REGRETTED, REPLACED, PENDING_VERIFICATION REPLACED life cycle state available from CRM.COM R14.0.0, deprecated in CRM.COM R17.0.0 PENDING_VERIFICATION life cycle state available from CRM.COM R15.0.0 |
first_activated_date | Date | The date that the subscription became effective for the first time (i.e. the date that the first effective period of that subscription started) Available from CRM.COM R9.0.0 |
rating_state | String | The rating state of the retrieved subscription that can be PENDING or COMPLETED Available from CRM.COM R9.0.0 |
accounts_receivable | Accounts receivable object | The accounts receivable owning the subscriptions |
type | Subscription type object | The type of the retrieved subscription |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved accounts receivable |
number | String | The number of the retrieved accounts receivable |
name | String | The name of the retrieved accounts receivable |
life_cycle_state | String | The life cycle state of the accounts receivable. One of the following values is returned: ACTIVE, SUSPENDED, TERMINATED |
account_owner | Contact information object | The contact information owning the accounts receivable |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved contact information |
type | String | The type of the retrieved contact information which can be PERSON or COMPANY |
life_cycle_state | String | The lifecycle state of the retrieved contact information which can be MARKETING or FINANCIAL |
name | String | The full name of the retrieved contact information |
first_name | String | The first name of the retrieved contact information |
middle_name | String | The middle name of the retrieved contact information |
last_name | String | The last name of the retrieved contact information |
title | String | The title of the retrieved contact information |
company_name | Sting | The company name of the retrieved contact information |
Demographics Object | The demographics information of the retrieved contact information | |
Company profile object | The company profile of the retrieve contact information |
Referred Objects Response Data
Name | Type | Description |
gender | String | The gender of the retrieved contact information which can be MALE or FEMALE |
id_number | String | The ID number of the retrieved contact information |
id_number_expiration_date | Date | The ID number's expiration date of the retrieved contact information Available from CRM.COM R14.0.0 |
passport_number | String | The passport number of the retrieved contact information |
passport_number_expiration_date | Date | The passport's expiration date of the retrieved contact information Available from CRM.COM R14.0.0 |
social_security_number | String | The social security number of the retrieved contact information |
Date of Birth Object | The date of birth of the retrieved contact information | |
Name Day Object | The name day of the retrieved contact information | |
Country Object | The country of residence of the retrieved contact information | |
Country Object | The ID issued country of retrieved contact information | |
Country Object | The passport issued country of retrieved contact information | |
Industry Object | The industry of retrieved contact information | |
Industry sector Object | The sector of retrieved contact information |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
day | Integer | The day of the retrieved date of birth |
month | Integer | The month of the retrieved date of birth |
year | Integer | The year of the retrieved date of birth |
Name | Type | Description |
---|---|---|
day | Integer | The day of the retrieved name day |
month | Integer | The month of the retrieved name day |
Name | Type | Description |
---|---|---|
id | String | The id of the retrieved country |
name | String | The name of the retrieved country |
alternative_code | String | The alternative code of the retrieved country |
dialing_code | String | The dialing code of the retrieved country Available from CRM.COM R15.1.0 |
two_character_code | String | The two character code of the retrieved country |
three_character_code | String | The three character code of the retrieved country |
country_flag | Image Object | The flag of the retrieved country Available from CRM.COM R15.1.0 |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved country flag |
file | File Object | The information of the attached file |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
file_name | String | The name of the file |
file_content_url | String | The url that can be used to access the actual content of the file |
file_mime_type | String | The mime type of the attached file |
Name | Type | Description |
---|---|---|
id | String | The id of the retrieved industry |
name | String | The name of the retrieved industry |
code | String | The code of the retrieved industry |
Name | Type | Description |
---|---|---|
id | String | The id of the retrieved industry sector |
name | String | The name of the retrieved industry sector |
alternative_code | String | The alternative code of the retrieved industry sector |
Name | Type | Description |
profile_year | Number | The profile year of the retrieved contact information |
annual_turnover | Number | The annual turnover of the retrieved contact information |
established_date | Date | The established date of the retrieved contact information |
number_of_employees | Number | The number of employees of the retrieved contact information |
registration_number | String | The registration number of the retrieved contact information |
vat_registration_number | String | The vat registration number of the retrieved contact information |
vat_registered_by | String | The vat registration by of the retrieved contact information |
vat_registration_date | Date | The vat registration date of the retrieved contact information |
tax_reference_number | String | The tax referenece number of the retrieved contact information |
Country Object | The country of residence of the retrieved contact information | |
Industry Object | The industry of retrieved contact information | |
Industry sector Object | The sector of retrieved contact information |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
id | String | The id of the retrieved country |
name | String | The name of the retrieved country |
alternative_code | String | The alternative code of the retrieved country |
dialing_code | String | The dialing code of the retrieved country Available from CRM.COM R15.1.0 |
two_character_code | String | The two character code of the retrieved country |
three_character_code | String | The three character code of the retrieved country |
country_flag | Image Object | The flag of the retrieved country Available from CRM.COM R15.1.0 |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved country flag |
file | File Object | The information of the attached file |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
file_name | String | The name of the file |
file_content_url | String | The url that can be used to access the actual content of the file |
file_mime_type | String | The mime type of the attached file |
Name | Type | Description |
---|---|---|
id | String | The id of the retrieved industry |
name | String | The name of the retrieved industry |
code | String | The code of the retrieved industry |
Name | Type | Description |
---|---|---|
id | String | The id of the retrieved industry sector |
name | String | The name of the retrieved industry sector |
alternative_code | String | The alternative code of the retrieved industry sector |
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved subscription type |
name | String | The name of the retrieved subscription type |
alternative_code | String | The alternative code of the retrieved subscription type |
description | String | A description of the retrieved subscription type |
classification | String | The classification of the retrieved subscription type, Flexible or Package Available from CRM.COM R14.0.0 Deprecated from CRM.COM R17.0.0 |
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved job |
number | String | The number of the retrieved job |
description | String | The description of the retrieved job |
life_cycle_state | String | The life cycle state of the retrieved job The supported options are
|
rating_state | String | The rating state of the retrieved subscription that can be PENDING or COMPLETED Available from CRM.COM R9.0.0 |
Accounts Receivable object | The accounts receivable related with the specified job | |
type | Job type object | The type information of the retrieved job Available from CRM.COM R11.2.0 |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved accounts receivable |
number | String | The number of the retrieved accounts receivable |
name | String | The name of the retrieved accounts receivable |
life_cycle_state | String | The life cycle state of the accounts receivable. One of the following values is returned: ACTIVE, SUSPENDED, TERMINATED |
account_owner | Contact information object | The contact information owning the accounts receivable |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved contact information |
type | String | The type of the retrieved contact information which can be PERSON or COMPANY |
life_cycle_state | String | The lifecycle state of the retrieved contact information which can be MARKETING or FINANCIAL |
name | String | The full name of the retrieved contact information |
first_name | String | The first name of the retrieved contact information |
middle_name | String | The middle name of the retrieved contact information |
last_name | String | The last name of the retrieved contact information |
title | String | The title of the retrieved contact information |
company_name | Sting | The company name of the retrieved contact information |
Demographics Object | The demographics information of the retrieved contact information | |
Company profile object | The company profile of the retrieve contact information |
Referred Objects Response Data
Name | Type | Description |
gender | String | The gender of the retrieved contact information which can be MALE or FEMALE |
id_number | String | The ID number of the retrieved contact information |
id_number_expiration_date | Date | The ID number's expiration date of the retrieved contact information Available from CRM.COM R14.0.0 |
passport_number | String | The passport number of the retrieved contact information |
passport_number_expiration_date | Date | The passport's expiration date of the retrieved contact information Available from CRM.COM R14.0.0 |
social_security_number | String | The social security number of the retrieved contact information |
Date of Birth Object | The date of birth of the retrieved contact information | |
Name Day Object | The name day of the retrieved contact information | |
Country Object | The country of residence of the retrieved contact information | |
Country Object | The ID issued country of retrieved contact information | |
Country Object | The passport issued country of retrieved contact information | |
Industry Object | The industry of retrieved contact information | |
Industry sector Object | The sector of retrieved contact information |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
day | Integer | The day of the retrieved date of birth |
month | Integer | The month of the retrieved date of birth |
year | Integer | The year of the retrieved date of birth |
Name | Type | Description |
---|---|---|
day | Integer | The day of the retrieved name day |
month | Integer | The month of the retrieved name day |
Name | Type | Description |
---|---|---|
id | String | The id of the retrieved country |
name | String | The name of the retrieved country |
alternative_code | String | The alternative code of the retrieved country |
dialing_code | String | The dialing code of the retrieved country Available from CRM.COM R15.1.0 |
two_character_code | String | The two character code of the retrieved country |
three_character_code | String | The three character code of the retrieved country |
country_flag | Image Object | The flag of the retrieved country Available from CRM.COM R15.1.0 |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved country flag |
file | File Object | The information of the attached file |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
file_name | String | The name of the file |
file_content_url | String | The url that can be used to access the actual content of the file |
file_mime_type | String | The mime type of the attached file |
Name | Type | Description |
---|---|---|
id | String | The id of the retrieved industry |
name | String | The name of the retrieved industry |
code | String | The code of the retrieved industry |
Name | Type | Description |
---|---|---|
id | String | The id of the retrieved industry sector |
name | String | The name of the retrieved industry sector |
alternative_code | String | The alternative code of the retrieved industry sector |
Name | Type | Description |
profile_year | Number | The profile year of the retrieved contact information |
annual_turnover | Number | The annual turnover of the retrieved contact information |
established_date | Date | The established date of the retrieved contact information |
number_of_employees | Number | The number of employees of the retrieved contact information |
registration_number | String | The registration number of the retrieved contact information |
vat_registration_number | String | The vat registration number of the retrieved contact information |
vat_registered_by | String | The vat registration by of the retrieved contact information |
vat_registration_date | Date | The vat registration date of the retrieved contact information |
tax_reference_number | String | The tax referenece number of the retrieved contact information |
Country Object | The country of residence of the retrieved contact information | |
Industry Object | The industry of retrieved contact information | |
Industry sector Object | The sector of retrieved contact information |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
id | String | The id of the retrieved country |
name | String | The name of the retrieved country |
alternative_code | String | The alternative code of the retrieved country |
dialing_code | String | The dialing code of the retrieved country Available from CRM.COM R15.1.0 |
two_character_code | String | The two character code of the retrieved country |
three_character_code | String | The three character code of the retrieved country |
country_flag | Image Object | The flag of the retrieved country Available from CRM.COM R15.1.0 |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved country flag |
file | File Object | The information of the attached file |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
file_name | String | The name of the file |
file_content_url | String | The url that can be used to access the actual content of the file |
file_mime_type | String | The mime type of the attached file |
Name | Type | Description |
---|---|---|
id | String | The id of the retrieved industry |
name | String | The name of the retrieved industry |
code | String | The code of the retrieved industry |
Name | Type | Description |
---|---|---|
id | String | The id of the retrieved industry sector |
name | String | The name of the retrieved industry sector |
alternative_code | String | The alternative code of the retrieved industry sector |
Name | Type | Description |
---|---|---|
Id | String | The ID of the retrieved job type |
name | String | The Name of the retrieved job type |
alternative_code | String | The Alternative Code of the retrieved job type |
description | String | The Description of the retrieved job type |
billing_directive | String | The billing directive of the retrieved job type The supported billing directive options are
Available from CRM.COM R10.0.0 |
billing_method | String | The billing method of the retrieved job type. Applicable only for billable job types with fulfillment scope GENERIC_PURPOSE The supported billing methods are
Available from CRM.COM R10.0.0 From CRM.COM R15.0.0 and onward, this attribute will be deprecated |
fulfillment_scope | String | The fulfillment scope of the retrieved job type The supported fulfillment scopes are
The following fulfillment scopes will be available from CRM.COM R8.0.0 ACTIVATE_SUBSCRIPTION, DEACTIVATE_SUBSCRIPTION, CANCEL_SUBSCRIPTION, ADD_SUBSCRIPTION_SERVICES, CANCEL_SUBSCRIPTION_SERVICES, CHANGE_SUBSCRIPTION_LOCATION The following fulfillment scopes will be available from CRM.COM R9.0.0 SWAP_SUBSCRIPTION_SERVICES, SWAP_SUBSCRIPTION_INSTALLED_ITEMS The following fulfillment scope will be available from CRM.COM R11.0.0 REPLACE_PHYSICAL_GOODS From CRM.COM R15.0.0 and onward, all fulfillment scopes will be deprecated |
fulfillment_method | String | The fulfillment method of the retrieved job type The supported fulfillment methods are
From CRM.COM R15.0.0 and onward, this attribute will be deprecated |
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved invoice |
number | String | The number of the retrieved invoice |
reference_number | String | The reference number of the retrieved invoice |
life_cycle_state | String | The life cycle state of the invoice. One of the following values is returned: DRAFT, REJECTED, POSTED, CANCELLED |
issued_on | Date | The date that the invoice was issued |
posted_on | Date | The date that the invoice was posted |
due_on | Date | The date that the credit period for that specific invoice is ending. |
total_amount | Number | The total amount of the invoice |
outstanding_amount | Number | The total outstanding amount of the invoice |
unsettled_amount | Number | The total unsettled amount of the invoice |
currency_rate_period | Currency Rate Period object | The currency rate period based on which the invoice's amounts were calculated Available from CRM.COM R10.0.0 |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved currency rate period |
rate | Number | The exchange rate of the currency rate period |
inverse_rate | Number | The inverse exchange rate of the currency rate period |
from_date | Date | The date from which the exchange rate is valid |
to_date | Date | The date until which the exchange rate is valid |
currency | Currency Object | The Currency with which the returned exchange rate information refers to |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved currency |
code | String | The code of the retrieved currency |
prefix_symbol | String | The prefix symbol for the specified currency |
suffix_symbol | String | The suffix symbol for the specified currency |
life_cycle_state | String | The life cycle state for the specified currency, which can be EFFECTIVE or NOT EFFECTIVE Available from CRM.COM R14.0.0 |
integer_part_name | String | The integer part name for the specified currency |
decimal_part_name | String | The decimal part name for the specified currency |
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved additive discount definition |
alternative_code | String | The alternative code of the retrieved additive discount definition |
name | String | The name of the retrieved additive discount definition |
life_cycle_state | String | The life cycle state of the retrieved additive discount definition. The supported life cycle states are EFFECTIVE or NOT_EFFECTIVE |
classification | String | The classification of the retrieved additive discount definition which can be either SUBSCRIPTIONS, JOBS or GENERAL GENERAL classification available from CRM.COM R15.0.0 JOB classification is not available from CRM.COM R17.0.0 |
type | String | The type of the additive discount definition which can be AUTO_APPLY or AD_HOC |
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved user |
username | String | The user name of the retrieved user |
person_name | String | The full name of the retrieved user |
String | The email of the retrieved user |
Name | Type | Description |
created_date | Date | The date that the retrieved record was created |
updated_date | Date | The last date that the retrieved record was updated |
Unit Object | The unit that created the retrieved record From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled Deprecated from CRM.COM R18.0.0 | |
Unit Object | The unit that created the retrieved record From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled Available from CRM.COM R18.0.0 | |
User Object | The user that created the retrieved record From CRM.COM R14.1.0 and onward, person_name and email attributes will be returned as empty, if the related legacy compatibility setting is disabled | |
Unit Object | The last unit that updated the retrieved record From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled Deprecated from CRM.COM R18.0.0 | |
Unit Object | The last unit that updated the retrieved record Available from CRM.COM R18.0.0 | |
User Object | The last user that updated the retrieved record From CRM.COM R14.1.0 and onward, person_name and email attributes will be returned as empty, if the related legacy compatibility setting is disabled |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved unit |
name | String | The name of the retrieved unit |
group_name | String | The name of the group that the retrieved unit belongs to |
community_name | String | The name of the community that the retrieved unit belongs to |
alternative_code | String | The alternative code of the retrieved unit |
description | String | The description of the retrieved unit |
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved business unit |
name | String | The name of the retrieved business unit |
code | String | The code of the retrieved business unit |
unified_code | String | The unified code of the retrieved business unit |
description | String | The description of the retrieved business unit |
parent_business_unit_name | String | The name of the parent business unit that the retrieved business unit belongs to |
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved user |
username | String | The user name of the retrieved user |
person_name | String | The full name of the retrieved user |
String | The email of the retrieved user |
Name | Type | Description |
---|---|---|
id | String | The ID of the ad hoc discount product |
product | Product Object | The product related with the ad hoc discount |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
Id | String | The ID of the product |
code | String | The code of product |
alternative_code | String | The alternative code of product |
description | String | The description of product |
priority_level | Integer | The priority level of the product Available from CRM.COM R12.3.0 |
global_rate | Global Rate Object | The global rate of the retrieved product Available from CRM.COM R15.0.0 |
product_type | Product type object | The type of the product |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
Id | String | The ID of the retrieved product type |
name | String | The Name of the retrieved product type |
alternative_code | String | The Alternative Code of the retrieved product type |
description | String | The Description of the retrieved product type |
classification | String | The Classification of the retrieved product type which can be SERVICES or PHYSICALGOODS |
service_type | String | The Service Type of the retrieved product type which can be TERMED, USAGE, ONETIME or EXPENSE |
physical_good_type | String | The physical Good Type of the retrieved product type which can be TRACEABLE or NONTRACEABLE |
composition_method | String | The Composition Method of the retrieved product type which can be FLAT, FLEXIBLEBUNDLE or FIXEDBUNDLE |
used_for_provisioning | Boolean | The flag shows if the retrieved product type is used for provisioning |
udr_type | Usage Detail Record Type | The UDR type related with the product type. This is applicable only if the product type is classified as SERVICES and the service type is set to USAGE |
meter_reading_type | Meter Reading Type | The Meter Reading type related with the product type. This is applicable only for traceable physical goods Available from CRM.COM R14.0.0 |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
Id | String | The ID of the retrieved usage detail record type |
name | String | The Name of the retrieved usage detail record type |
alternative_code | String | The Alternative Code of the retrieved usage detail record type |
description | String | The Description of the retrieved usage detail record type |
unit_of_measurement | String | The Unit of measurement of the retrieved usage detail record type |
Referred Objects Response Data
Name | Type | Description |
id | String | The identifier of the Unit of measurement |
name | String | The name of the Unit of measurement |
description | String | The description of the Unit of measurement |
alternative_code | String | The alternative code of the Unit of measurement |
Name | Type | Description |
---|---|---|
Id | String | The ID of the retrieved meter reading type |
name | String | The Name of the retrieved meter reading type |
alternative_code | String | The Alternative Code of the retrieved meter reading type |
classification | String | The Classification of the retrieved meter reading type |
description | String | The Description of the retrieved meter reading type |
unit_of_measurement | String | The Unit of measurement of the retrieved meter reading type |
Referred Objects Response Data
Name | Type | Description |
id | String | The identifier of the Unit of measurement |
name | String | The name of the Unit of measurement |
description | String | The description of the Unit of measurement |
alternative_code | String | The alternative code of the Unit of measurement |
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved rate |
rate_model | String | The price plan rate model which can be one of the following:
From CRM.COM R17.0.0, QUANTITYANDMATURITYBASED is renamed to QUANTITYANDPERIODBASED |
global_base_amount | Number | The base price of the product in the Global Price Plan |
base_rate_applied_per | String | The value for 'Base Rate Applied per' Available when the rate model is 'Quantity & Quantity Based' and it is a selection between
|
uot | String | The 'UOT' applicable for the rate
Available for one-time services |
time_period | Time Period Object | The period and unit of time for which the base amount is applicable for. This is available only on termed services rates. |
uom | String | The 'UOM' applicable for the rate Available when the product type is of Usage Service Classification |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
time_period_value | Number | The time period value |
time_period_uot | String | The time period unit of time. The supported values are the following: MINUTES, HOURS, DAYS, WEEKS, MONTHS, YEARS |
Examples
HTTP Method: GET
Request:
Response:
{ "status": { "message": null, "description": null, "code": "OK" }, "data": { "cancelled_by": null, "effective_date": "2014-07-11T12:20:47", "udf_float_1": null, "products_set": [ { "id": "81C527EC9134BE1272BD1E1534DBAEB6", "product": { "product_type": { "physical_good_type": "TRACEABLE", "service_type": null, "used_for_provisioning": true, "composition_method": "FLAT", "classification": "PHYSICALGOODS", "name": "Decoders", "id": "B4A1396AE3D1384B304A0FEB22F7BA50", "description": "Decoders", "alternative_code": "D" }, "id": "A2B00E27070BEB1B1273733260A45ACC", "description": "Athina STB", "code": "Athina STB", "alternative_code": "A-STB" } }, { "id": "20F5F79CE3061B00615EF69273493201", "product": { "product_type": { "physical_good_type": null, "service_type": "TERMED", "used_for_provisioning": false, "composition_method": "FIXEDBUNDLE", "classification": "SERVICES", "name": "Fixed Bundle", "id": "AF80230C21FDBD38C3D24777BE9CA333", "description": null, "alternative_code": "Fixed Bundle" }, "id": "468733DA92F19F0F9208F9B91A93E243", "description": null, "code": "Viasat ", "alternative_code": "Viasat" } } ], "udf_float_2": null, "udf_float_3": null, "number": "AH001", "udf_float_4": null, "udf_string_1": null, "udf_string_2": null, "cancelled_on": null, "udf_string_3": null, "udf_string_4": null, "udf_string_5": null, "udf_string_6": null, "udf_string_7": null, "udf_string_8": null, "discount_amount": null, "discount_percentage": 12, "id": "789FBA44C27D1DA69AB3652E0F5575E7", "approval_method": "MANUAL", "subscription": { "accounts_receivable": { "account_owner": { "last_name": "Pickman", "life_cycle_state": "FINANCIAL", "middle_name": "Lie", "company_profile": null, "title": "Mrs", "type": "PERSON", "first_name": "Jessie", "name": "Jessie Pickman", "id": "2F3CDD2FDA4BD2832DED9FD71A6FAFBF", "company_name": null, "demographics": { "gender": "FEMALE", "passport_issued_by_country": { "name": "UNITED STATES", "id": "127" }, "passport_number": "2234567", "social_security_number": "765656", "country_of_residence": { "name": "UNITED STATES", "id": "127" }, "industry_sector": { "name": "GOVERNMENTAL", "id": "A9BDEBD4D8FAEDB0BACE40C041156D12", "alternative_code": "GOV" }, "date_of_birth": { "month": 5, "day": 3, "year": 1980 }, "name_day": { "month": 7, "day": 11 }, "id_number": "11232345", "id_issued_by_country": { "name": "UNITED STATES", "id": "127" }, "industry": { "name": "Industry1", "id": "31BC2070C79EAE5455BFAD41599C5190", "code": "In" } } }, "life_cycle_state": "ACTIVE", "number": "101", "name": "PickmanAcc", "id": "16DC87AEB2F308C82ED30D379787F0B6" }, "life_cycle_state": "DRAFT", "number": "S60136", "type": { "name": "London", "id": "3100B0D56E7C7EADF073C34BCE1E42AF", "description": "For Subscribers residing in London ", "alternative_code": "LND" }, "id": "5F2B1F786E804DBC7B16C5F14B679E07" }, "additive_discount_definition": { "life_cycle_state": "EFFECTIVE", "classification": "SUBSCRIPTIONS", "type": "AUTO_APPLY", "name": "Lucia test 3", "id": "35346B2FB563CD998DF9DFF00949CD7C", "alternative_code": "lt3" }, "approved_by": { "person_name": "Meri", "username": "Meri", "id": "573150C4CE1882B98D3D65DB9390D851", "email": null }, "applied_on": null, "approved_on": "2014-07-11T12:20:47", "udf_date_1": null, "udf_date_2": null, "udf_date_3": null, "udf_date_4": null, "log_information": { "updated_date": "2015-02-20T11:20:51", "created_by_unit": { "community_name": "Main Community", "group_name": "Developers Group", "name": "Developers Unit", "id": "C4370788B2630BC8A99E8C7397406C09", "description": null, "alternative_code": null }, "created_date": "2014-07-11T12:20:47", "updated_by_unit": { "community_name": "Main Community", "group_name": "Main Group", "name": "Admin Unit", "id": "48305F8849E3C18B227C5BE3A27BA6DF", "description": "r1", "alternative_code": "MG" }, "created_by_user": { "person_name": "Meri", "username": "Meri", "id": "573150C4CE1882B98D3D65DB9390D851", "email": null }, "updated_by_user": { "person_name": "MPAdministrator", "username": "MPAdministrator", "id": "1", "email": null } }, "provided_by": { "person_name": "Meri", "username": "Meri", "id": "573150C4CE1882B98D3D65DB9390D851", "email": null }, "life_cycle_state": "APPROVED", "provided_on": "2014-07-11T12:20:47", "applied": true, "job": null, "expiration_date": "2015-02-20T11:20:51" } }
HTTP Method: GET
Request:
Response:
{ "data": { "log_information": { "created_by_unit": { "alternative_code": "adminunit", "group_name": "Main Group", "community_name": "Community", "name": "Admin Unit", "description": "admin unit", "id": "1" }, "updated_by_unit": { "alternative_code": "adminunit", "group_name": "Main Group", "community_name": "Community", "name": "Admin Unit", "description": "admin unit", "id": "1" }, "created_date": "2016-04-05T12:28:50", "updated_date": "2016-04-05T12:29:59", "updated_by_user": { "person_name": "emichailidou", "id": "9A2CF58F91D94B8B981C33275BA20880", "username": "emichailidou" }, "created_by_user": { "person_name": "emichailidou", "id": "9A2CF58F91D94B8B981C33275BA20880", "username": "emichailidou" } }, "applied": true, "discount_amount": 3, "currency_rate_period": null, "approved_on": "2016-04-05T12:29:59", "discount_percentage": null, "subscription": { "number": "S0000000143", "first_activated_date": "2016-03-22T10:16:08", "rating_state": "PENDING", "accounts_receivable": { "number": "ACR0000000131", "name": "ACR0000000131 Donna Paulsen", "id": "6CBF60D6BA7843B3AEF6C1E1975F493A", "life_cycle_state": "ACTIVE", "account_owner": { "company_profile": null, "company_name": null, "name": "Donna Paulsen", "last_name": "Paulsen", "id": "2D64B10AFF7E4FC6B219FCD58C014245", "life_cycle_state": "FINANCIAL", "middle_name": null, "title": null, "type": "PERSON", "first_name": "Donna", "demographics": { "name_day": { "month": null, "day": null }, "id_number": "659832", "gender": null, "country_of_residence": { "alternative_code": "IRN", "three_character_code": null, "name": "IRAN (ISLAMIC REPUBLIC OF)", "id": "231", "two_character_code": null }, "date_of_birth": { "month": null, "year": null, "day": null }, "industry_sector": null, "passport_number": null, "industry": null, "social_security_number": null, "id_issued_by_country": null, "passport_issued_by_country": null } } }, "id": "B00030B52FFB4D64A19E91B67A8FCB24", "life_cycle_state": "EFFECTIVE", "type": { "alternative_code": "normalsub", "name": "Normal", "description": null, "id": "D1BAE6454A2248189EBCD7ADD3B4B65F" } }, "expiration_date": null, "udf_date_2": null, "udf_date_1": null, "udf_date_4": null, "products_set": [ { "product": { "code": "Sports 1", "product_type": { "service_type": "TERMED", "used_for_provisioning": true, "alternative_code": "AS", "composition_method": "FLAT", "name": "Additional Services", "description": null, "id": "C8321F0BCA8A4051857BC35CEEE41555", "classification": "SERVICES", "physical_good_type": null }, "alternative_code": "S1", "description": null, "id": "02191FFC231D4FBD844D0BB66EBAB14B" }, "id": "AC7ABCD8F6414E68BCA3319BD43B8C14" }, { "product": { "code": "Movies 1", "product_type": { "service_type": "TERMED", "used_for_provisioning": true, "alternative_code": "AS", "composition_method": "FLAT", "name": "Additional Services", "description": null, "id": "C8321F0BCA8A4051857BC35CEEE41555", "classification": "SERVICES", "physical_good_type": null }, "alternative_code": "M1", "description": null, "id": "571C10876AF840088372A94A14D0A02C" }, "id": "26D4295C75FB4F8B838C1ECEAD4BC14B" }, { "product": { "code": "Music1", "product_type": { "service_type": "TERMED", "used_for_provisioning": true, "alternative_code": "AS", "composition_method": "FLAT", "name": "Additional Services", "description": null, "id": "C8321F0BCA8A4051857BC35CEEE41555", "classification": "SERVICES", "physical_good_type": null }, "alternative_code": "M", "description": null, "id": "D6453416BB704BC4A5448C06F361B5D3" }, "id": "6D51BBABA4574F6EA674C1B8848B79E2" }, { "product": { "code": "Bronze", "product_type": { "service_type": "TERMED", "used_for_provisioning": true, "alternative_code": "Main Packages", "composition_method": "FLAT", "name": "Main Packages", "description": null, "id": "E186E293AAAB49EE86A729540A4287FE", "classification": "SERVICES", "physical_good_type": null }, "alternative_code": "B", "description": null, "id": "F50CC52934BD4F119B6E18E215A4FC55" }, "id": "030E6F384D30432B8456014ED1C8CE50" } ], "udf_date_3": null, "number": "8", "udf_float_3": null, "udf_float_4": null, "effective_date": null, "id": "DB9999B5D4634087BC448B19D46CEDAB", "udf_float_1": null, "approval_method": "AUTOMATIC", "udf_float_2": null, "udf_string_2": null, "udf_string_3": null, "udf_string_4": null, "udf_string_5": null, "cancelled_by": null, "udf_string_1": null, "additive_discount_definition": { "alternative_code": "AHFBIAMT1M", "name": "Ad Hoc for Buy in Advance more than 11 months", "id": "B31BC3885FC64610BB67D7DF5CBDAF87", "life_cycle_state": "EFFECTIVE", "classification": "SUBSCRIPTIONS", "type": "AD_HOC" }, "life_cycle_state": "APPROVED", "cancelled_on": null, "provided_on": "2016-04-05T12:29:59", "approved_by": { "person_name": "emichailidou", "id": "9A2CF58F91D94B8B981C33275BA20880", "username": "emichailidou" }, "applied_on": "2016-04-05T12:35:43", "provided_by": { "person_name": "emichailidou", "id": "9A2CF58F91D94B8B981C33275BA20880", "username": "emichailidou" }, "udf_string_6": null, "job": null, "udf_string_7": null, "udf_string_8": null }, "status": { "code": "OK", "description": "", "message": "" } }
- No labels