PUT api/content/v4/getloyaltyeventnew
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": "9f106780-0c42-4c64-a214-171ce53f1ef1",
"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>9f106780-0c42-4c64-a214-171ce53f1ef1</UniqueId> <UserUniqueId>7</UserUniqueId> </APILoyaltyEventRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APICommonWrapperOfListOfAPILoyaltyEventNew| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | HttpStatusCode |
None. |
|
| Message | string |
None. |
|
| Data | Collection of APILoyaltyEventNew |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 100,
"Message": "sample string 1",
"Data": [
{
"EventId": 1,
"CustomerId": 2,
"Title": "sample string 3",
"Points": 4,
"description": "sample string 5",
"EntityType": 6,
"EntityId": 1,
"Location": {
"Id": 1,
"EventId": 1,
"Title": "sample string 1",
"City": "sample string 2",
"State": "sample string 3",
"Latitude": 4.0,
"Longitude": 5.0,
"pointsEarned": 1,
"isProductionOnly": true
},
"Event": {
"Id": 1,
"Title": "sample string 2",
"City": "sample string 3",
"State": "sample string 4",
"StartDate": "2026-01-16T04:33:16.4524837+00:00",
"EndDate": "2026-01-16T04:33:16.4524837+00:00",
"Type": "sample string 5",
"Recur": 1,
"DayOccurrence": "sample string 6",
"DaysOfWeek": "sample string 7",
"Day": 1,
"Month": 1,
"EndRecurrence": 1
},
"IsPassportStampRequested": true,
"MemberId": 8,
"tieredEarningPoints": 1
},
{
"EventId": 1,
"CustomerId": 2,
"Title": "sample string 3",
"Points": 4,
"description": "sample string 5",
"EntityType": 6,
"EntityId": 1,
"Location": {
"Id": 1,
"EventId": 1,
"Title": "sample string 1",
"City": "sample string 2",
"State": "sample string 3",
"Latitude": 4.0,
"Longitude": 5.0,
"pointsEarned": 1,
"isProductionOnly": true
},
"Event": {
"Id": 1,
"Title": "sample string 2",
"City": "sample string 3",
"State": "sample string 4",
"StartDate": "2026-01-16T04:33:16.4524837+00:00",
"EndDate": "2026-01-16T04:33:16.4524837+00:00",
"Type": "sample string 5",
"Recur": 1,
"DayOccurrence": "sample string 6",
"DaysOfWeek": "sample string 7",
"Day": 1,
"Month": 1,
"EndRecurrence": 1
},
"IsPassportStampRequested": true,
"MemberId": 8,
"tieredEarningPoints": 1
}
]
}
application/xml, text/xml
Sample:
<APICommonWrapperOfArrayOfAPILoyaltyEventNewMTRdQN6P 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:APILoyaltyEventNew>
<d2p1:CustomerId>2</d2p1:CustomerId>
<d2p1:EntityId>1</d2p1:EntityId>
<d2p1:EntityType>6</d2p1:EntityType>
<d2p1:Event>
<d2p1:City>sample string 3</d2p1:City>
<d2p1:Day>1</d2p1:Day>
<d2p1:DayOccurrence>sample string 6</d2p1:DayOccurrence>
<d2p1:DaysOfWeek>sample string 7</d2p1:DaysOfWeek>
<d2p1:EndDate>2026-01-16T04:33:16.4524837+00:00</d2p1:EndDate>
<d2p1:EndRecurrence>1</d2p1:EndRecurrence>
<d2p1:Id>1</d2p1:Id>
<d2p1:Month>1</d2p1:Month>
<d2p1:Recur>1</d2p1:Recur>
<d2p1:StartDate>2026-01-16T04:33:16.4524837+00:00</d2p1:StartDate>
<d2p1:State>sample string 4</d2p1:State>
<d2p1:Title>sample string 2</d2p1:Title>
<d2p1:Type>sample string 5</d2p1:Type>
</d2p1:Event>
<d2p1:EventId>1</d2p1:EventId>
<d2p1:IsPassportStampRequested>true</d2p1:IsPassportStampRequested>
<d2p1:Location>
<d2p1:City>sample string 2</d2p1:City>
<d2p1:EventId>1</d2p1:EventId>
<d2p1:Id>1</d2p1:Id>
<d2p1:Latitude>4</d2p1:Latitude>
<d2p1:Longitude>5</d2p1:Longitude>
<d2p1:State>sample string 3</d2p1:State>
<d2p1:Title>sample string 1</d2p1:Title>
<d2p1:isProductionOnly>true</d2p1:isProductionOnly>
<d2p1:pointsEarned>1</d2p1:pointsEarned>
</d2p1:Location>
<d2p1:MemberId>8</d2p1:MemberId>
<d2p1:Points>4</d2p1:Points>
<d2p1:Title>sample string 3</d2p1:Title>
<d2p1:description>sample string 5</d2p1:description>
<d2p1:tieredEarningPoints>1</d2p1:tieredEarningPoints>
</d2p1:APILoyaltyEventNew>
<d2p1:APILoyaltyEventNew>
<d2p1:CustomerId>2</d2p1:CustomerId>
<d2p1:EntityId>1</d2p1:EntityId>
<d2p1:EntityType>6</d2p1:EntityType>
<d2p1:Event>
<d2p1:City>sample string 3</d2p1:City>
<d2p1:Day>1</d2p1:Day>
<d2p1:DayOccurrence>sample string 6</d2p1:DayOccurrence>
<d2p1:DaysOfWeek>sample string 7</d2p1:DaysOfWeek>
<d2p1:EndDate>2026-01-16T04:33:16.4524837+00:00</d2p1:EndDate>
<d2p1:EndRecurrence>1</d2p1:EndRecurrence>
<d2p1:Id>1</d2p1:Id>
<d2p1:Month>1</d2p1:Month>
<d2p1:Recur>1</d2p1:Recur>
<d2p1:StartDate>2026-01-16T04:33:16.4524837+00:00</d2p1:StartDate>
<d2p1:State>sample string 4</d2p1:State>
<d2p1:Title>sample string 2</d2p1:Title>
<d2p1:Type>sample string 5</d2p1:Type>
</d2p1:Event>
<d2p1:EventId>1</d2p1:EventId>
<d2p1:IsPassportStampRequested>true</d2p1:IsPassportStampRequested>
<d2p1:Location>
<d2p1:City>sample string 2</d2p1:City>
<d2p1:EventId>1</d2p1:EventId>
<d2p1:Id>1</d2p1:Id>
<d2p1:Latitude>4</d2p1:Latitude>
<d2p1:Longitude>5</d2p1:Longitude>
<d2p1:State>sample string 3</d2p1:State>
<d2p1:Title>sample string 1</d2p1:Title>
<d2p1:isProductionOnly>true</d2p1:isProductionOnly>
<d2p1:pointsEarned>1</d2p1:pointsEarned>
</d2p1:Location>
<d2p1:MemberId>8</d2p1:MemberId>
<d2p1:Points>4</d2p1:Points>
<d2p1:Title>sample string 3</d2p1:Title>
<d2p1:description>sample string 5</d2p1:description>
<d2p1:tieredEarningPoints>1</d2p1:tieredEarningPoints>
</d2p1:APILoyaltyEventNew>
</Data>
<Message>sample string 1</Message>
<Status>Continue</Status>
</APICommonWrapperOfArrayOfAPILoyaltyEventNewMTRdQN6P>