PUT api/Content/v3/GetLoyaltyEventLocationList
Request Information
URI Parameters
None.
Body Parameters
APILoyaltyEventRequest| Name | 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. |
|
| SectionId | integer |
None. |
|
| LanguageId | integer |
None. |
|
| IsManualStampScreen | boolean |
None. |
|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
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": "5cbd6b28-9f64-4937-9c1f-2d3a42aac221",
"UserUniqueId": 7,
"ProgramType": 8,
"ShowRedeemed": true,
"LoyaltyProgramId": 1,
"EntityType": 10,
"SectionId": 11,
"LanguageId": 12,
"IsManualStampScreen": true,
"Latitude": 14.0,
"Longitude": 15.0
}
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> <IsManualStampScreen>true</IsManualStampScreen> <LanguageId>12</LanguageId> <Latitude>14</Latitude> <Longitude>15</Longitude> <LoyaltyProgramId>1</LoyaltyProgramId> <PageNumber>3</PageNumber> <ProgramType>8</ProgramType> <SearchText>sample string 5</SearchText> <SectionId>11</SectionId> <ShowRedeemed>true</ShowRedeemed> <SortBy>sample string 1</SortBy> <SortDir>sample string 2</SortDir> <UniqueId>5cbd6b28-9f64-4937-9c1f-2d3a42aac221</UniqueId> <UserUniqueId>7</UserUniqueId> </APILoyaltyEventRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of GetLoyaltyEventLocationListResponse| Name | 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>