POST wallets/cancel
- Former user (Deleted)
- p_demou (Deactivated)
This method cancels a wallet. Single wallet can be cancelled by each call. Only effective wallets can be cancelled
Resource URL
Parameters
Name | Type | Description | |||||||||
token | String | The token retrieved from the login method | |||||||||
wallet_identifier (mandatory) | Wallet identifier | The identifier of the wallet that should be cancelled. The allowed wallet 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 wallet |
number | String | The number of the retrieved wallet |
estimated_consumption_days | Number | An estimation on the number of days left until the whole wallet amount will be consumed |
estimated_consumption_date | Date | An estimation of the date on which the whole wallet amount will be consumed |
estimated_consumption_as_of_date | Date | The latest date that the estimation was performed |
balance | Number | The balance of the retrieved wallet in wallet currency |
alternative_balance | Number | The balance of the retrieved wallet in wallet alternative currency Available from CRM.COM R14.2.0 |
opening_balance | Number | The opening balance of the wallet - in wallet currency - as this was calculated for the latest and still Open Wallet Balance Period. This information is calculated during the latest Wallet Balance per Period process Available from CRM.COM R12.1.0 |
opening_alternative_balance | Number | The opening balance of the wallet in the alternative currency, as this was calculated for the latest and still Open Wallet Balance Period. This information is calculated during the latest Wallet Balance per Period process Available from CRM.COM R14.2.0 |
opening_balance_date | Date | The date on which the wallet's opening balance was last updated. Available from CRM.COM R12.1.0 |
life_cycle_state | String | The life cycle state of the retrieved wallet. Supported values are EFFECTIVE and CANCELLED |
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 |
accounts_receivable | Accounts Receivable Object | The account receivable related with the retrieved wallet |
currency | Currency Object | The wallet's currency Available from CRM.COM R10.0.0 |
alternative_currency | Currency Object | The wallet's alternative currency Available from CRM.COM R14.2.0 |
wallet_balance_period | Wallet Balance Period Object | The latest Wallet Balance Period for which the wallet's opening balance was calculated for. Available from CRM.COM R12.1.0 |
log_information | Log Information Object | The log information of the retrieved wallet |
product_consumption_set | Set of Wallet Product Consumption Objects | Information related with the consumption of the wallet amount by various products |
allotments_set | Set of Wallet Allotment Objects | Information related with the amount allotted by the wallet |
allotment_group_conditions_set | Set of Wallet Allotment Group Condition Objects | Information related with the amount allotted by the wallet grouped by the conditions related with the each allotted amount Available from CRM.COM R8.0.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 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 |
---|---|---|
number | String | The Wallet Balance Period's number |
name | String | The Wallet Balance Period's name |
from_date | Date | The Wallet Balance Period's from date |
to_date | Date | The Wallet Balance Period's to date |
life_cycle_state | Sting | The Wallet Balance Period's life cycle state. Available values are OPEN and CLOSED |
closed_date | Date | The Wallet Balance Period's closed date. Available only for Wallet Balance Periods in Closed life cycle state |
Name | Type | Description |
created_date | Date | The date that the retrieved user was created |
updated_date | Date | The last date that the retrieved user was updated |
process_name | String | The name of the process that created or canceled the wallet |
entity_name | String | The name of the entity that caused the creation or cancellation of the wallet |
entity_value | String | The value of the entity that caused the creation or cancellation of the wallet |
Unit Object | The name of unit that created the retrieved user | |
User Object | The name of user that created the retrieved user | |
Unit Object | The name of the last unit that updated the retrieved user | |
User Object | The name of the last user that updated the retrieved user |
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 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 retrieved wallet product consumption |
estimated_consumption_days | Number | An estimation on the number of days left until the whole wallet amount allotted for the specified product will be consumed |
estimated_consumption_date | Date | An estimation of the date on which the whole wallet amount allotted for the specified product will be consumed |
estimated_consumption_as_of_date | Date | The latest date that the estimation was performed |
product | Product Object | The product related with the consumption information |
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 |
Name | Type | Description |
id | String | The ID of the retrieved wallet allotment |
group_condition_id | String | The ID of the group condition related with the retrieved wallet allotment Available from CRM.COM R8.0.0 |
amount | Number | The amount that was allotted by the retrieved wallet allotment in wallet currency |
alternative_amount | Number | The amount that was allotted by the retrieved wallet allotment in wallet alternative currency Available from CRM.COM R14.2.0 |
validity_date | Date | The date that the retrieved wallet allotment becomes valid for consumption |
wallet_balance_date | Date | The date on which this wallet allotment was included in a Wallet Balance Period Available from CRM.COM R12.0.0 |
wallet_balance_period | Wallet Balance Period Object | The Wallet Balance Period within which this allotment falls within Available from CRM.COM R12.0.0 |
time_conditions_set | Set of Allotment Time Condition Objects | The time conditions related with the retrieved wallet allotment |
product_conditions_set | Set of Allotment Product Condition Objects | The product conditions related with the retrieved wallet allotment |
unit_conditions_set | Set of Allotment Unit Condition Objects | The unit conditions related with the retrieved wallet allotment |
date_conditions_set | Set of Allotment Date Condition Objects | The date conditions related with the retrieved wallet allotment |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
number | String | The Wallet Balance Period's number |
name | String | The Wallet Balance Period's name |
from_date | Date | The Wallet Balance Period's from date |
to_date | Date | The Wallet Balance Period's to date |
life_cycle_state | Sting | The Wallet Balance Period's life cycle state. Available values are OPEN and CLOSED |
closed_date | Date | The Wallet Balance Period's closed date. Available only for Wallet Balance Periods in Closed life cycle state |
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved allotment condition |
from | Number | The start of the time period condition related with the retrieved allotment condition |
to | Number | The end of the time period condition related with the retrieved allotment condition |
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved allotment condition |
product | Product object | The product related with the retrieved allotment condition |
product_type | Product Type object | The product type related with the retrieved allotment condition |
product_family | Product Family object | The product family related with the retrieved allotment condition Available from CRM.COM Rx.0.0 |
product_brand | Product Brand object | The product brand related with the retrieved allotment condition Available from CRM.COM R15.0.0 |
product_category | Product Category object | The product category related with the retrieved allotment condition Available from CRM.COM R15.0.0 |
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 |
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 product family |
name | String | The Name of the retrieved product family |
code | String | The code of the retrieved product family |
description | String | The Description of the retrieved product family |
Name | Type | Description |
---|---|---|
Id | String | The ID of the retrieved product brand |
name | String | The Name of the retrieved product brand |
alternative_code | String | The Alternative Code of the retrieved product brand |
description | String | The Description of the retrieved product brand |
Name | Type | Description |
---|---|---|
Id | String | The ID of the retrieved product category |
name | String | The Name of the retrieved product category |
code | String | The code of the retrieved product category |
description | String | The Description of the retrieved product category |
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved allotment condition |
business_unit | Business Unit Object | The business unit related with the retrieved allotment condition Available from CRM.COM R18.0.0 |
unit | Unit object | The unit related with the retrieved allotment condition Deprecated from CRM.COM R18.0.0 (replaced with business_unit) |
group | Group object | The group related with the retrieved allotment condition Deprecated from CRM.COM R18.0.0 (replaced with business_unit) |
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 group |
name | String | The name of the retrieved group |
community_name | String | The name of the community that the retrieved group belongs to |
alternative_code | String | The alternative code of the retrieved group |
unified_code | String | The unified code of the retrieved group Available from CRM.COM R16.2.2 |
description | String | The description of the retrieved group |
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 allotment condition |
day_of_week | Number | The day of week condition related with the retrieved allotment condition. The supported values are the following: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY |
Name | Type | Description |
id | String | The ID of the retrieved wallet allotment group condition |
number_of_conditions | Number | The total number of conditions related with the retrieved wallet allotment group condition |
total_amount | Number | The total amount in wallet currency, that is allotted by the retrieved wallet allotment group condition |
total_alternative_amount | Number | The total amount in wallet alternative currency, that is allotted by the retrieved wallet allotment group condition Available from CRM.COM R14.2.0 |
allotment_group_opening_balance | Number | The opening balance of this wallet allotment group of conditions - in wallet currency - as this was calculated in the latest wallet balance period. Available from CRM.COM R12.0.0 |
allotment_group_opening_alternative_balance | Number | The opening balance of this wallet allotment group of conditions - in wallet alternative currency - as this was calculated in the latest wallet balance period Available from CRM.COM R14.2.0 |
opening_balance_date | Date | The date on which the allotment group of conditions balance was calculated Available from CRM.COM R12.1.0 |
wallet_balance_period | Wallet Balance Period Object | The Wallet balance period within which this wallet allotment group condition falls within Available from CRM.COM R12.1.0 |
time_conditions_set | Set of Allotment Time Condition Objects | The time conditions related with the retrieved wallet allotment group condition |
product_conditions_set | Set of Allotment Product Condition Objects | The product conditions related with the retrieved wallet allotment group condition |
unit_conditions_set | Set of Allotment Unit Condition Objects | The unit conditions related with the retrieved wallet allotment group condition |
date_conditions_set | Set of Allotment Date Condition Objects | The date conditions related with the retrieved wallet allotment group condition |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
number | String | The Wallet Balance Period's number |
name | String | The Wallet Balance Period's name |
from_date | Date | The Wallet Balance Period's from date |
to_date | Date | The Wallet Balance Period's to date |
life_cycle_state | Sting | The Wallet Balance Period's life cycle state. Available values are OPEN and CLOSED |
closed_date | Date | The Wallet Balance Period's closed date. Available only for Wallet Balance Periods in Closed life cycle state |
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved allotment condition |
from | Number | The start of the time period condition related with the retrieved allotment condition |
to | Number | The end of the time period condition related with the retrieved allotment condition |
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved allotment condition |
product | Product object | The product related with the retrieved allotment condition |
product_type | Product Type object | The product type related with the retrieved allotment condition |
product_family | Product Family object | The product family related with the retrieved allotment condition Available from CRM.COM Rx.0.0 |
product_brand | Product Brand object | The product brand related with the retrieved allotment condition Available from CRM.COM R15.0.0 |
product_category | Product Category object | The product category related with the retrieved allotment condition Available from CRM.COM R15.0.0 |
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 |
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 product family |
name | String | The Name of the retrieved product family |
code | String | The code of the retrieved product family |
description | String | The Description of the retrieved product family |
Name | Type | Description |
---|---|---|
Id | String | The ID of the retrieved product brand |
name | String | The Name of the retrieved product brand |
alternative_code | String | The Alternative Code of the retrieved product brand |
description | String | The Description of the retrieved product brand |
Name | Type | Description |
---|---|---|
Id | String | The ID of the retrieved product category |
name | String | The Name of the retrieved product category |
code | String | The code of the retrieved product category |
description | String | The Description of the retrieved product category |
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved allotment condition |
business_unit | Business Unit Object | The business unit related with the retrieved allotment condition Available from CRM.COM R18.0.0 |
unit | Unit object | The unit related with the retrieved allotment condition Deprecated from CRM.COM R18.0.0 (replaced with business_unit) |
group | Group object | The group related with the retrieved allotment condition Deprecated from CRM.COM R18.0.0 (replaced with business_unit) |
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 group |
name | String | The name of the retrieved group |
community_name | String | The name of the community that the retrieved group belongs to |
alternative_code | String | The alternative code of the retrieved group |
unified_code | String | The unified code of the retrieved group Available from CRM.COM R16.2.2 |
description | String | The description of the retrieved group |
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 allotment condition |
day_of_week | Number | The day of week condition related with the retrieved allotment condition. The supported values are the following: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY |
Examples
HTTP Method: GET
Request:
Body:
{ "token" : "5458B970EB51B99A1DD323C885000E58", "wallet_identifier" : { "number" : "14" } }
Response:
{ "status": { "message": null, "description": null, "code": "OK" }, "data": { "est_consumption_as_of_date": null, "udf_float_1": null, "udf_float_2": null, "udf_float_3": null, "number": "14", "udf_float_4": null, "udf_string_1": null, "udf_string_2": 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, "est_consumption_days": null, "accounts_receivable": { "account_owner": { "last_name": "Johnson", "middle_name": null, "company_profile": null, "type": "PERSON", "first_name": "Peter", "name": "Peter Johnson", "id": "C73D1572FEA76C37A08945ECE4DECC98", "company_name": null, "demographics": { "gender": "MALE", "passport_issued_by_country": null, "passport_number": "7839023", "social_security_number": "98374", "country_of_residence": { "name": "CYPRUS", "id": "181" }, "industry_sector": { "name": "GOVERNMENTAL", "id": "A9BDEBD4D8FAEDB0BACE40C041156D12" }, "date_of_birth": { "month": 4, "day": 6, "year": 1985 }, "name_day": { "month": 6, "day": 29 }, "id_number": "984783", "id_issued_by_country": { "name": "CYPRUS", "id": "181" }, "industry": null } }, "life_cycle_state": "ACTIVE", "number": "192", "name": "Peter Johnson Premium", "id": "2C5FC6F615FA9E798487AC0C293ECCE6" }, "id": "38E651C88B307119317DDA6EBF3248DF", "balance": 0, "udf_date_1": null, "udf_date_2": null, "udf_date_3": null, "udf_date_4": null, "est_consumption_date": null, "product_consumptions_set": [ { "estimated_date": "2014-09-05T00:00:00", "estimated_days": 5, "id": "C2A1FFDAB6CB1E7574D18AFA6AF20583", "estimated_as_of_date": "2014-09-08T00:00:00", "daily_amount": 12, "available_amount": 100, "product": { "product_type": null, "id": "5A9BCF1A573AE46057BFB39F5BCCAA47", "description": "Lord of the Rings 6", "code": "Lord of the Rings 6", "alternative_code": "LOR6" } }, { "estimated_date": "2014-09-05T00:00:00", "estimated_days": 5, "id": "B81D225217C18F8212494E288E46669F", "estimated_as_of_date": "2014-09-08T00:00:00", "daily_amount": 1, "available_amount": 100, "product": { "product_type": null, "id": "3535CA95FCD0B73E337D10E522802EE5", "description": "SERENDIPITY", "code": "SERENDIPITY", "alternative_code": "SER" } } ], "log_information": { "updated_date": "2014-09-01T15:20:33", "created_by_unit": { "community_name": "Main Community", "group_name": "Main Group", "name": "Admin Unit", "id": "48305F8849E3C18B227C5BE3A27BA6DF", "description": "r1", "alternative_code": "MG" }, "created_date": "2014-09-01T15:19:20", "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": "MPAdministrator", "username": "MPAdministrator", "id": "1", "email": "mp@ministrator.com" }, "updated_by_user": { "person_name": "MPAdministrator", "username": "MPAdministrator", "id": "1", "email": "mp@ministrator.com" } }, "life_cycle_state": "CANCELLED" } }
HTTP Method: GET
Request:
Body:
{ "token":"{{token}}", "wallet_identifier": {"number":"W0000000239"} }
Response:
{ "data": { "log_information": { "entity_name": null, "created_by_unit": { "alternative_code": "adminunit", "group_name": "Main Group", "community_name": "Community", "name": "Admin Unit", "description": "admin unit", "id": "1" }, "process_name": null, "updated_by_unit": { "alternative_code": "adminunit", "group_name": "Main Group", "community_name": "Community", "name": "Admin Unit", "description": "admin unit", "id": "1" }, "created_date": "2016-07-05T11:16:54", "updated_date": "2016-07-05T11:29:19", "updated_by_user": { "person_name": "CRM COM", "id": "1", "username": "MPAdministrator" }, "created_by_user": { "person_name": "MPAdministrator", "id": "1", "email": "dev@crm.com", "username": "MPAdministrator" } }, "udf_date_2": "2014-06-05T15:49:59", "product_consumption_set": [ { "estimated_consumption_days": null, "product": { "code": "Gold", "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": "G", "description": null, "id": "D1EB074DFD904E54A0C67CAB9DC7E010" }, "estimated_consumption_as_of_date": null, "estimated_consumption_date": null, "id": "BAC33ADD22A647EC8CE5048E0AA9F0D0" } ], "udf_date_1": "2014-05-05T15:49:59", "udf_date_4": "2014-08-05T15:49:59", "udf_date_3": "2014-07-05T15:49:59", "number": "W0000000239", "udf_float_3": 30, "udf_float_4": 40, "balance": 0, "estimated_consumption_date": null, "currency": { "suffix_symbol": null, "prefix_symbol": "€", "decimal_part_name": null, "code": "EUR", "integer_part_name": null, "id": "2" }, "id": "1F5212B3BA964276A4232116C48C0A5E", "udf_float_1": 10, "udf_float_2": 20, "udf_string_2": "udf string 2", "udf_string_3": "udf string 3", "udf_string_4": "udf string 4", "udf_string_5": "udf string 5", "udf_string_1": "TEST", "accounts_receivable": { "number": "ACR0000000221", "name": "ACR0000000221 Kyriacos16 Clerides", "id": "F73BD30B13F64BE1A181AD4115B8D758", "life_cycle_state": "ACTIVE", "account_owner": { "company_profile": null, "company_name": null, "name": "Kyriacos16 Clerides", "last_name": "Clerides", "id": "7747BAF431E9457D93D8E4A800DFFB1E", "life_cycle_state": "FINANCIAL", "middle_name": null, "title": null, "type": "PERSON", "first_name": "Kyriacos16", "demographics": { "name_day": { "month": null, "day": null }, "id_number": "45786", "gender": null, "country_of_residence": { "alternative_code": "CYP", "three_character_code": "CYP", "name": "CYPRUS", "id": "181", "two_character_code": "CY" }, "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 } } }, "life_cycle_state": "CANCELLED", "estimated_consumption_days": null, "estimated_consumption_as_of_date": null, "allotment_group_conditions_set": [ { "time_conditions_set": [], "date_conditions_set": [], "unit_conditions_set": [], "total_amount": 0, "product_conditions_set": [], "id": "AEE26407C3F1434EABA3549DC678A12A", "number_of_conditions": 0 } ], "udf_string_6": "udf string 6", "udf_string_7": "udf string 7", "udf_string_8": "NEWTEST", "allotments_set": [ { "time_conditions_set": [], "date_conditions_set": [], "amount": 0, "unit_conditions_set": [], "validity_date": null, "group_condition_id": "AEE26407C3F1434EABA3549DC678A12A", "product_conditions_set": [], "id": "663FE28782CC4A2C85EA0D92BFFE70B7" } ] }, "status": { "code": "OK", "description": "", "message": "" } }