tenant-reward-group-read
or tenant-admin
Gets a list of the rewards from the catalog.
Returns the Rewards response.
Bad Request - Returns the Error response object.
Unauthorised
Forbidden - If the API user does not have one of the roles listed in Role Requirements above.
{- "rewards": [
- {
- "rewardId": "string",
- "rewardName": "string",
- "brandName": "string",
- "appId": "string",
- "appName": "string",
- "countries": [
- {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "currency": {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "symbol": "string",
- "numberOfDecimalPlaces": 0
}
}
], - "currencyCode": {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "symbol": "string",
- "numberOfDecimalPlaces": 0
}, - "isWholeAmountValueRequired": true,
- "valueType": "string",
- "fixedValue": 0,
- "maxValue": 0,
- "minValue": 0,
- "imageUrl": "string",
- "status": "string",
- "brand": {
- "brandKey": "string",
- "brandName": "string",
- "status": "string",
- "description": [
- {
- "languageCode": "string",
- "text": "string"
}
], - "shortDescription": [
- {
- "languageCode": "string",
- "text": "string"
}
], - "disclaimer": [
- {
- "languageCode": "string",
- "text": "string"
}
], - "terms": [
- {
- "languageCode": "string",
- "text": "string"
}
], - "imageUrls": [
- {
- "ppi": 0,
- "ratioHeight": 0,
- "ratioWidth": 0,
- "url": "string",
- "width": 0
}
], - "requirements": {
- "alwaysShowDisclaimer": true,
- "disclaimerInstructions": "string",
- "displayInstructions": "string",
- "termsAndConditionsInstructions": "string"
}
}, - "redemptionInstructions": [
- {
- "languageCode": "string",
- "text": "string"
}
]
}
]
}
tenant-reward-group-read
or tenant-admin
Search the rewards from the catalog by appId
and optionally brandName
, country
, currency
, and amount
.
The appId
is mandatory.
ThebrandName
parameter is optional. Supports partial
Thecountry
parameter is optional but if specified has to be a valid country code.
Thecurrency
parameter is optional but if specified has to be a valid currency code.
Theamount
parameter is optional but if specified has to be a positive numeric value.
Returns the Rewards response.
Bad Request - Returns the Error response object.
Unauthorised
Forbidden - If the API user does not have one of the roles listed in Role Requirements above.
{- "rewards": [
- {
- "rewardId": "string",
- "rewardName": "string",
- "brandName": "string",
- "appId": "string",
- "appName": "string",
- "countries": [
- {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "currency": {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "symbol": "string",
- "numberOfDecimalPlaces": 0
}
}
], - "currencyCode": {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "symbol": "string",
- "numberOfDecimalPlaces": 0
}, - "isWholeAmountValueRequired": true,
- "valueType": "string",
- "fixedValue": 0,
- "maxValue": 0,
- "minValue": 0,
- "imageUrl": "string",
- "status": "string",
- "brand": {
- "brandKey": "string",
- "brandName": "string",
- "status": "string",
- "description": [
- {
- "languageCode": "string",
- "text": "string"
}
], - "shortDescription": [
- {
- "languageCode": "string",
- "text": "string"
}
], - "disclaimer": [
- {
- "languageCode": "string",
- "text": "string"
}
], - "terms": [
- {
- "languageCode": "string",
- "text": "string"
}
], - "imageUrls": [
- {
- "ppi": 0,
- "ratioHeight": 0,
- "ratioWidth": 0,
- "url": "string",
- "width": 0
}
], - "requirements": {
- "alwaysShowDisclaimer": true,
- "disclaimerInstructions": "string",
- "displayInstructions": "string",
- "termsAndConditionsInstructions": "string"
}
}, - "redemptionInstructions": [
- {
- "languageCode": "string",
- "text": "string"
}
]
}
]
}