...
Available from CRM.COM R14.3.0
...
Tip |
---|
Excerpt |
---|
This method returns information related with reward offers. Multiple reward offers are returned by each call |
Resource URL
Parameters
Name | Type | Description | ||||||||||||||
token | String | The token retrieved from the login method | ||||||||||||||
groupclassification_identifier (optional) | Group Classification Identifier | The identifier of the group owns reward offerclassifications that the reward offers retrieved should be classified as. The allowed unit identifier fields are the following: | V4:group_identifier | V4:group_identifier | reward_scheme_identifier (optional) | Reward scheme identifier | ||||||||||
Include Page | V4:reward_scheme_identifier | V4:reward_scheme_identifier | category_identifier | Reward offer category identifier | The identifier of the reward offer category related with the reward offer that should be returned as a result. The allowed reward offer category
| |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
group_identifier (optional) | Group Identifier | The identifier of the group owns reward offer. The allowed unit identifier fields are the following:
| ||||||||||||||
reward_ offerscheme_ category_identifier
evaluation_method (optional) | Reward offer evaluation method scheme identifier | The identifier of the reward offer evaluation method related scheme related with the reward offer that should be returned as a result. The allowed reward offer evaluation method scheme identifier fields are the following:BATCH_PROCESS or INTERACTIVELY. spend_method
| ||||||||||||||
category_identifier | Reward Offer spend methodoffer category identifier | The identifier of the reward offer category related with the reward offer that should be returned as a result. The allowed reward offer category identifier fields are the following:
| ||||||||||||||
evaluation_method (optional) | Currency IdentifierReward offer evaluation method identifier | The identifier of the currency in which reward offer evaluation method related with the reward offer will award rewards participantsthat should be returned as a result. The allowed currency reward offer evaluation method identifier fields are the following: | V4:currency_identifier | V4:currency_identifier | number_of_resultsBATCH_PROCESS or INTERACTIVELY.||||||||||||
spend_method (optional) | NumberReward Offer spend method | The number of results that can be retrieved through each call | ||||||||||||||
offset (optional) | Number | Defines the number of entities that should be skipped from the results. If it is set to 0 then none results should be skipped, otherwise the results will begin from the provided offset number | ||||||||||||||
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 |
Response Data
...
Examples
...
title | Example 1 |
---|
HTTP Method: POST
Request:
Code Block |
---|
http://cyn1lnx004:9080/crmapi/rest/v2/reward_offers/list |
Body
Code Block |
---|
{
"token":"163317CACB7441CD88CB01C5427DF6E7",
"accounts_receivable_identifier":{"name":"ACR000879"},
"unit_identifier":{"name":"Test"},
"purchase_product":{"code":"TPG Bundle 3"},
"purchase_product_type":{"name":"Accessories"},
"purchase_product_family":{"name":"Analogue"}
} |
Response
...
language | js |
---|
...
identifier of the reward offer spend method related with the reward offer that should be returned as a result. The allowed reward offer spend method identifier fields are the following: SPEND_ON_REQUEST, SPEND_INSTANTLY or SPEND_INSTANTLY_THROUGH_VOUCHER | ||||||||||
award_currency (optional) | Currency Identifier | The identifier of the currency in which the reward offer will award rewards participants. The allowed currency identifier fields are the following:
| ||||||||
rewards_participant_identifier (optional) | Rewards participant identifier | The identifier of the rewards participant who might benefit from the reward offer that will be returned as a result. The allowed rewards participant identifier fields are the following:
| ||||||||
accounts_receivable_identifier (optional) | Accounts Receivable identifier | The identifier of the rewards participant's accounts receivable. The allowed accounts receivable identifier fields are the following:
| ||||||||
wallet_identifier (optional) | Wallet identifier | The identifier of the reward participant's wallet. The allowed wallet identifier fields are the following:
| ||||||||
number_of_results (optional) | Number | The number of results that can be retrieved through each call | ||||||||
offset (optional) | Number | Defines the number of entities that should be skipped from the results. If it is set to 0 then none results should be skipped, otherwise the results will begin from the provided offset number | ||||||||
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 |
Response Data
Include Page | ||||
---|---|---|---|---|
|
Examples
Expand | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
HTTP Method: POST Request:
Body
Response
|
Expand | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
HTTP Method: POST Request:
Body
Response
| |||||||||
Expand | |||||||||
| |||||||||
HTTP Method: POST Request: Code Block | Body: Code Block | Response:
|