Tip |
---|
Available from CRM.COM R4.0.0 |
Table of Contents | ||
---|---|---|
|
...
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 returned as a result. The allowed wallets 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 |
...
Name | Type | Description | ||||||
token | String | The token retrieved from the login method | ||||||
accounts_receivable_identifier | Accounts Receivable identifier | The identifier of the accounts receivable related with the wallets that should be returned as a result. The allowed accounts receivable identifier fields are the following:
| ||||||
subscription_identifier (semi-optional) | Subscription Identifier | The identifier of the subscription owned by the accounts receivable related with the wallets that should be returned as a result. The allowed subscription 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 |
...
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 returned as a result. The allowed wallets identifier fields are the following:
| ||||||
wallet_transaction_type_identifier | Wallet Transaction Type identifier | The wallet transactions type of the wallet transactions that should be retrieved in the results. The allowed wallet transaction type identifier fields are the following:
| ||||||
number (mandatory) | Number | The number of wallet transactions to be retrieved, starting from the latest one | ||||||
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 |
...
This method is used to get the amount which is available for specific products for a specific period of time and a specific unit or group
Tip |
---|
Available from CRM.COM R5.0.0 |
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 returned as a result. The allowed wallets identifier fields are the following:
| ||||||
product_identifier | Product Identifier | The product for which the amount will be calculated for . The allowed product identifier fields are the following:
| ||||||
unit_identifier (semi-optional) | Unit identifier | The unit for which the amount will be calculated for. The allowed unit identifier fields are the following:
| ||||||
group_identifier (semi-optional) | Group identifier | The group for which the amount will be calculated for. The allowed group identifier fields are the following:
| ||||||
as_of_date (mandatory) | Date field | The date for which the amount will be calculated for. | ||||||
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 |
...
POST wallets/get_effective
Tip |
---|
This method returns information related with the effective wallet which is related with a specific accounts receivable or rewards participant. A single wallet is returned by each call
...
Name | Type | Description | ||||||
token | String | The token retrieved from the login method | ||||||
rewards_participant_identifier (semi-optional) | Rewards Participant identifier | The identifier of the rewards participant related with the effective wallet that should be retrieved as a result. The allowed rewards participant identifier fields are the following:
| ||||||
accounts_receivable_identifier (semi-optional) | Accounts Receivable identifier | The identifier of the accounts receivable related with the effective wallet that should be retrieved as a result. The allowed accounts receivable 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 |
...
Name | Type | Description | ||||||
token | String | The token retrieved from the login method | ||||||
accounts_receivable_identifier | Account Receivable identifier | The identifier of the account receivable related with the wallet that should be created. The allowed accounts receivable identifier fields are the following:
| ||||||
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 | ||||||
(optional) | Set of Wallet Product Consumption Objects | The information related with the consumption of the wallet amount by various products | ||||||
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 |
...
Name | Type | Description | ||||||
token | String | The token retrieved from the login method | ||||||
wallet_identifier (mandatory) | Wallet Identifier | The identifier of the wallet to be updated. The allowed wallet identifier fields are the following:
| ||||||
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 | ||||||
product_consumption_set | Set of Wallet Consumption Objects | The information related with the consumption of the wallet amount by various products
| ||||||
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 |
...
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 |
...
POST wallets/get_expiring_balance
Tip |
---|
This method returns information related with the wallet balance that expires before a specified threshold date. The expiring balance of a single wallet can be retrieved by each call
...
Name | Type | Description | ||||||
token | String | The token retrieved from the login method | ||||||
wallet_identifier (semi-optional) | Wallet Identifier | The identifier of the wallet that should be returned in the results. The allowed wallet identifier fields are the following:
| ||||||
rewards_participant_identifier (semi-optional) | Rewards Participant Identifier | The identifier of the rewards participant owning the wallet that should be returned in the results. The allowed rewards participant identifier fields are the following:
| ||||||
accounts_receivable_identifier (semi-optional) | Accounts Receivable Identifier | The identifier of the accounts receivable owning the wallet that should be returned in the results. The allowed accounts receivable identifier fields are the following:
| ||||||
threshold_date (mandatory) | Date | The expiration period in days. Only wallet balance that expires on a date which is equal or before the threshold date will be retrieved | ||||||
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 |
...
POST wallets/get_balance
Tip |
---|
This method returns information related with the balance of the wallet which is available either on the current date or as of a date in the future. The balance of a single wallet can be retrieved by each call.
...
Name | Type | Description | ||||||
token | String | The token retrieved from the login method | ||||||
wallet_identifier (semi-optional) | Wallet Identifier | The identifier of the wallet that should be returned in the results. The allowed wallet identifier fields are the following:
| ||||||
rewards_participant_identifier (semi-optional) | Rewards Participant Identifier | The identifier of the rewards participant owning the wallet that should be returned in the results. The allowed rewards participant identifier fields are the following:
| ||||||
accounts_receivable_identifier (semi-optional) | Accounts Receivable Identifier | The identifier of the accounts receivable owning the wallet that should be returned in the results. The allowed accounts receivable identifier fields are the following:
| ||||||
as_of_date (optional) | Date | The date as of which the wallet balance will be calculated (inclusive). If specified then this date should be in the future. If not specified then the current date is used | ||||||
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 |
...
Expand | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||
HTTP Method: POST
Request: Body:
Response:
|
GET wallets
...
/get_current_period_transactions
Tip |
---|
Available from CRM.COM R12.0.0 |
This method is used to get the detailed information of a wallet's running and opening balance, as well as of the wallet amounts which were not considered during the latest wallet opening balance calculation. The opening balance of a single wallet can be retrieved by each call.
...
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 returned as a result. The allowed wallets 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 |
...