Returns a list of rewards configured for a loyalty program
Request Information
Headers
Name | Description | Type | Additional information |
---|---|---|---|
Authentication |
Authentication token |
string |
Required |
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
accountid |
Your account id |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Reward list
Name | Description | Type | Additional information |
---|---|---|---|
Data | Collection of ApiLPRewardInfo |
None. |
|
Success | boolean |
None. |
|
Messages | Collection of ErrorMessage |
None. |
Response Formats
application/json
Sample:
{ "Data": [ { "Id": 1, "LoyaltyProgramId": 1, "Name": "Reward name", "Description": "Reward description", "Points": 6, "RedeemCount": 1, "StatusCode": "A", "Expired": "2013-04-01T12:13:19.903", "StatusDescription": "Active", "Type": 2, "DaysBefore": 5, "DaysAfter": 5 }, { "Id": 2, "LoyaltyProgramId": 1, "Name": "Reward name", "Description": "Reward description", "Points": 6, "RedeemCount": 1, "StatusCode": "A", "Expired": "2013-04-01T12:13:19.903", "StatusDescription": "Active", "Type": 1 } ], "Success": true, "Messages": [] }