PUT api/content/v4/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": "6b6865f8-44b5-4c65-9f31-3fdd0c9dd22b",
"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>6b6865f8-44b5-4c65-9f31-3fdd0c9dd22b</UniqueId> <UserUniqueId>2</UserUniqueId> </APILoyaltyHistoryRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APICommonWrapperOfAPILoyaltyHistoryResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | HttpStatusCode |
None. |
|
| Message | string |
None. |
|
| Data | APILoyaltyHistoryResponse |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 100,
"Message": "sample string 1",
"Data": {
"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:
<APICommonWrapperOfAPILoyaltyHistoryResponseZdSfSp5S xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
<Data>
<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>
</Data>
<Message>sample string 1</Message>
<Status>Continue</Status>
</APICommonWrapperOfAPILoyaltyHistoryResponseZdSfSp5S>