...
...
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 offer. The allowed unit identifier classifications that the reward offers retrieved should be classified as. The allowed 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 (optional) | Reward scheme identifier | The identifier of the reward offer evaluation method 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: | award_currency (optional) | Currency Identifier
| |||||||||
evaluation_method (optional) | Reward 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 | |||||||||
spend_method (optional) | NumberReward Offer spend method | The number of results that can be retrieved through each call offset 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) | 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 |
---|
{{server}}/crmapi/rest/v2/reward_offers/list |
Body
Code Block |
---|
{
"token":"{{token}}",
"rewards_participant_identifier":{"number":"33"},
"reward_scheme_identifier":{"name":"Main Rewards Scheme"},
"number_of_results":3
} |
Response
...
language | js |
---|
...
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
|
...