PUT api/Content/v3/GetLoyaltyHistory
Request Information
URI Parameters
None.
Body Parameters
APILoyaltyHistoryRequestName | 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": "a65958ce-d914-4583-906d-6dd30c903059", "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>a65958ce-d914-4583-906d-6dd30c903059</UniqueId> <UserUniqueId>2</UserUniqueId> </APILoyaltyHistoryRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APILoyaltyHistoryResponseName | 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>