PUT api/Content/v2/GetLoyaltyHistory
Request Information
URI Parameters
None.
Body Parameters
APILoyaltyHistoryRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| UserUniqueId | integer |
None. |
|
| UniqueId | globally unique identifier |
None. |
|
| SortBy | string |
None. |
|
| SortDir | string |
None. |
|
| PageNumber | integer |
None. |
|
| ProgramId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"UserUniqueId": 2,
"UniqueId": "9400fb58-3f8c-49a8-8d71-e7dfddc5887b",
"SortBy": "sample string 4",
"SortDir": "sample string 5",
"PageNumber": 6,
"ProgramId": 7
}
application/xml, text/xml
Sample:
<APILoyaltyHistoryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model"> <CustomerId>1</CustomerId> <PageNumber>6</PageNumber> <ProgramId>7</ProgramId> <SortBy>sample string 4</SortBy> <SortDir>sample string 5</SortDir> <UniqueId>9400fb58-3f8c-49a8-8d71-e7dfddc5887b</UniqueId> <UserUniqueId>2</UserUniqueId> </APILoyaltyHistoryRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APILoyaltyHistoryResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| List | Collection of APILoyaltyHistory |
None. |
|
| TotalRecords | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"List": [
{
"LoyaltyEventName": "sample string 1",
"Points": 2,
"Redeemed": true,
"CreatedDate": 4
},
{
"LoyaltyEventName": "sample string 1",
"Points": 2,
"Redeemed": true,
"CreatedDate": 4
}
],
"TotalRecords": 1
}
application/xml, text/xml
Sample:
<APILoyaltyHistoryResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
<List>
<APILoyaltyHistory>
<CreatedDate>4</CreatedDate>
<LoyaltyEventName>sample string 1</LoyaltyEventName>
<Points>2</Points>
<Redeemed>true</Redeemed>
</APILoyaltyHistory>
<APILoyaltyHistory>
<CreatedDate>4</CreatedDate>
<LoyaltyEventName>sample string 1</LoyaltyEventName>
<Points>2</Points>
<Redeemed>true</Redeemed>
</APILoyaltyHistory>
</List>
<TotalRecords>1</TotalRecords>
</APILoyaltyHistoryResponse>