API
6. Reward List
Description : Reward list is used to show a list few rewards in mobile app/website.URL : https://sandbox.goodie.id/api-rest/point-transaction/redemption/reward
Method : GET
Header :
| No | Key | Value | Requirement | Description |
|---|---|---|---|---|
| 1 | Content-type | application/x-www-form-urlencoded | M | Security Header |
| 2 | authToken | String | M | authentication |
| 3 | deviceUniqueId | String | M | Device Id |
Body :
| No | Parameter | Value | Requirement | Description |
|---|---|---|---|---|
| 1 | keyword | String | O | User’s Id |
| 2 | rewardId | String | O | Merchant’s Id |
| 3 | memberId | String | M | Member’s Id |
| 4 | merchantId | String | M | Id of the merchant |
| 5 | orderBy | Int | M | Reward’s Order by |
| 6 | nRecords | Int | M | Reward’s record |
| 7 | page | Int | M | Reward’s page |
Response :
| No | Parameter | Value | Description |
|---|---|---|---|
| 1 | Rewards | ||
| 2 | rewardId | String | Merchant’s reward id |
| 3 | rewardName | String | Merchant’s reward name |
| 4 | Description | string | Merchant’s reward description |
| 5 | termAndCondition | String/td> | Merchant’s term and condition |
| 6 | requiredPoint | Integer | Reward’s required point |
| 7 | expiredDate | Date | Reward’s expired date |
| 8 | productName | String | Merchant’s product name |
| 9 | productImage | String | Merchant’s product image |
| 10 | productType | String | Merchant’s product type |
| 11 | amountValue | Integer | Merchant’s amount value |
| 12 | PercentageValue | Integer | |
| 13 | Stock | Integer | Merchant’s reward stock |
| 14 | RecordsInfo | ||
| 15 | totalRecords | Integer | Reward’s total record |
| 16 | Page | Integer | Reward’s page |
| 17 | nRecords | Integer | Record’s reward page |
| 18 | abstractResponse | ||
| 19 | responseStatus | String | See details** |
| 20 | responseMessage | String/td> | See details** |
JSON Format :