PUT api/Content/v3/GetLoyaltyEventLocationList
Request Information
URI Parameters
None.
Body Parameters
APILoyaltyEventRequestName | Description | Type | Additional information |
---|---|---|---|
SortBy | string |
None. |
|
SortDir | string |
None. |
|
PageNumber | integer |
None. |
|
CustomerId | integer |
None. |
|
SearchText | string |
None. |
|
UniqueId | globally unique identifier |
None. |
|
UserUniqueId | integer |
None. |
|
ProgramType | integer |
None. |
|
ShowRedeemed | boolean |
None. |
|
LoyaltyProgramId | integer |
None. |
|
EntityType | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "SortBy": "sample string 1", "SortDir": "sample string 2", "PageNumber": 3, "CustomerId": 4, "SearchText": "sample string 5", "UniqueId": "55829e19-0c3d-4eee-bc9c-799e8d6a097e", "UserUniqueId": 7, "ProgramType": 8, "ShowRedeemed": true, "LoyaltyProgramId": 1, "EntityType": 10 }
application/xml, text/xml
Sample:
<APILoyaltyEventRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model"> <CustomerId>4</CustomerId> <EntityType>10</EntityType> <LoyaltyProgramId>1</LoyaltyProgramId> <PageNumber>3</PageNumber> <ProgramType>8</ProgramType> <SearchText>sample string 5</SearchText> <ShowRedeemed>true</ShowRedeemed> <SortBy>sample string 1</SortBy> <SortDir>sample string 2</SortDir> <UniqueId>55829e19-0c3d-4eee-bc9c-799e8d6a097e</UniqueId> <UserUniqueId>7</UserUniqueId> </APILoyaltyEventRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of GetLoyaltyEventLocationListResponseName | Description | Type | Additional information |
---|---|---|---|
LocationId | integer |
None. |
|
LocationName | string |
None. |
|
City | string |
None. |
|
State | string |
None. |
|
Latitude | decimal number |
None. |
|
Longitude | decimal number |
None. |
|
LoyaltyEvent | Collection of LoyaltyEventLocation |
None. |
Response Formats
application/json, text/json
Sample:
[ { "LocationId": 1, "LocationName": "sample string 2", "City": "sample string 3", "State": "sample string 4", "Latitude": 1.0, "Longitude": 1.0, "LoyaltyEvent": [ { "LoyaltyEventId": 1, "Name": "sample string 2" }, { "LoyaltyEventId": 1, "Name": "sample string 2" } ] }, { "LocationId": 1, "LocationName": "sample string 2", "City": "sample string 3", "State": "sample string 4", "Latitude": 1.0, "Longitude": 1.0, "LoyaltyEvent": [ { "LoyaltyEventId": 1, "Name": "sample string 2" }, { "LoyaltyEventId": 1, "Name": "sample string 2" } ] } ]
application/xml, text/xml
Sample:
<ArrayOfGetLoyaltyEventLocationListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/"> <GetLoyaltyEventLocationListResponse> <City>sample string 3</City> <Latitude>1</Latitude> <LocationId>1</LocationId> <LocationName>sample string 2</LocationName> <Longitude>1</Longitude> <LoyaltyEvent> <LoyaltyEventLocation> <LoyaltyEventId>1</LoyaltyEventId> <Name>sample string 2</Name> </LoyaltyEventLocation> <LoyaltyEventLocation> <LoyaltyEventId>1</LoyaltyEventId> <Name>sample string 2</Name> </LoyaltyEventLocation> </LoyaltyEvent> <State>sample string 4</State> </GetLoyaltyEventLocationListResponse> <GetLoyaltyEventLocationListResponse> <City>sample string 3</City> <Latitude>1</Latitude> <LocationId>1</LocationId> <LocationName>sample string 2</LocationName> <Longitude>1</Longitude> <LoyaltyEvent> <LoyaltyEventLocation> <LoyaltyEventId>1</LoyaltyEventId> <Name>sample string 2</Name> </LoyaltyEventLocation> <LoyaltyEventLocation> <LoyaltyEventId>1</LoyaltyEventId> <Name>sample string 2</Name> </LoyaltyEventLocation> </LoyaltyEvent> <State>sample string 4</State> </GetLoyaltyEventLocationListResponse> </ArrayOfGetLoyaltyEventLocationListResponse>