PUT api/content/v4/getloyaltyeventlocationlist

Request Information

URI Parameters

None.

Body Parameters

APILoyaltyEventRequest
NameDescriptionTypeAdditional 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": "8a74ee2f-6fef-45f6-bf24-ea08a2d06339",
  "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>8a74ee2f-6fef-45f6-bf24-ea08a2d06339</UniqueId>
  <UserUniqueId>7</UserUniqueId>
</APILoyaltyEventRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APICommonWrapperOfListOfGetLoyaltyEventLocationListResponse
NameDescriptionTypeAdditional information
Status

HttpStatusCode

None.

Message

string

None.

Data

Collection of GetLoyaltyEventLocationListResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 100,
  "Message": "sample string 1",
  "Data": [
    {
      "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:
<APICommonWrapperOfArrayOfGetLoyaltyEventLocationListResponseMTRdQN6P xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/">
    <d2p1:GetLoyaltyEventLocationListResponse>
      <d2p1:City>sample string 3</d2p1:City>
      <d2p1:Latitude>1</d2p1:Latitude>
      <d2p1:LocationId>1</d2p1:LocationId>
      <d2p1:LocationName>sample string 2</d2p1:LocationName>
      <d2p1:Longitude>1</d2p1:Longitude>
      <d2p1:LoyaltyEvent>
        <d2p1:LoyaltyEventLocation>
          <d2p1:LoyaltyEventId>1</d2p1:LoyaltyEventId>
          <d2p1:Name>sample string 2</d2p1:Name>
        </d2p1:LoyaltyEventLocation>
        <d2p1:LoyaltyEventLocation>
          <d2p1:LoyaltyEventId>1</d2p1:LoyaltyEventId>
          <d2p1:Name>sample string 2</d2p1:Name>
        </d2p1:LoyaltyEventLocation>
      </d2p1:LoyaltyEvent>
      <d2p1:State>sample string 4</d2p1:State>
    </d2p1:GetLoyaltyEventLocationListResponse>
    <d2p1:GetLoyaltyEventLocationListResponse>
      <d2p1:City>sample string 3</d2p1:City>
      <d2p1:Latitude>1</d2p1:Latitude>
      <d2p1:LocationId>1</d2p1:LocationId>
      <d2p1:LocationName>sample string 2</d2p1:LocationName>
      <d2p1:Longitude>1</d2p1:Longitude>
      <d2p1:LoyaltyEvent>
        <d2p1:LoyaltyEventLocation>
          <d2p1:LoyaltyEventId>1</d2p1:LoyaltyEventId>
          <d2p1:Name>sample string 2</d2p1:Name>
        </d2p1:LoyaltyEventLocation>
        <d2p1:LoyaltyEventLocation>
          <d2p1:LoyaltyEventId>1</d2p1:LoyaltyEventId>
          <d2p1:Name>sample string 2</d2p1:Name>
        </d2p1:LoyaltyEventLocation>
      </d2p1:LoyaltyEvent>
      <d2p1:State>sample string 4</d2p1:State>
    </d2p1:GetLoyaltyEventLocationListResponse>
  </Data>
  <Message>sample string 1</Message>
  <Status>Continue</Status>
</APICommonWrapperOfArrayOfGetLoyaltyEventLocationListResponseMTRdQN6P>