PUT api/Content/v3/TourDePearlRequest
Request Information
URI Parameters
None.
Body Parameters
APILoyaltyRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| UniqueId | globally unique identifier |
None. |
|
| UserType | string |
None. |
|
| UserUniqueId | integer |
None. |
|
| QRCode | string |
None. |
|
| UserName | string |
None. |
|
| LoyaltyEventId | integer |
None. |
|
| LoyaltyEventType | integer |
None. |
|
| TransactionId | string |
None. |
|
| Quantity | decimal number |
None. |
|
| RefEmail | string |
None. |
|
| Pin | string |
None. |
|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
|
| LocationId | integer |
None. |
|
| IsManualRequest | boolean |
None. |
|
| ImageType | integer |
None. |
|
| Photo | string |
None. |
|
| IgnoreStampFrequency | boolean |
None. |
|
| LocationStatus | boolean |
None. |
|
| IsMultiPassportApp | boolean |
None. |
|
| IsEventStamp | boolean |
None. |
|
| LanguageId | integer |
None. |
|
| ReceiptPhoto | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"UniqueId": "ab38ce40-6243-4101-bcd8-36ae6d7ca155",
"UserType": "sample string 3",
"UserUniqueId": 4,
"QRCode": "sample string 5",
"UserName": "sample string 6",
"LoyaltyEventId": 7,
"LoyaltyEventType": 8,
"TransactionId": "sample string 9",
"Quantity": 10.0,
"RefEmail": "sample string 11",
"Pin": "sample string 12",
"Latitude": 13.0,
"Longitude": 14.0,
"LocationId": 15,
"IsManualRequest": true,
"ImageType": 17,
"Photo": "sample string 18",
"IgnoreStampFrequency": true,
"LocationStatus": true,
"IsMultiPassportApp": true,
"IsEventStamp": true,
"LanguageId": 23,
"ReceiptPhoto": "sample string 24"
}
application/xml, text/xml
Sample:
<APILoyaltyRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model"> <CustomerId>1</CustomerId> <IgnoreStampFrequency>true</IgnoreStampFrequency> <ImageType>17</ImageType> <IsEventStamp>true</IsEventStamp> <IsManualRequest>true</IsManualRequest> <IsMultiPassportApp>true</IsMultiPassportApp> <LanguageId>23</LanguageId> <Latitude>13</Latitude> <LocationId>15</LocationId> <LocationStatus>true</LocationStatus> <Longitude>14</Longitude> <LoyaltyEventId>7</LoyaltyEventId> <LoyaltyEventType>8</LoyaltyEventType> <Photo>sample string 18</Photo> <Pin>sample string 12</Pin> <QRCode>sample string 5</QRCode> <Quantity>10</Quantity> <ReceiptPhoto>sample string 24</ReceiptPhoto> <RefEmail>sample string 11</RefEmail> <TransactionId>sample string 9</TransactionId> <UniqueId>ab38ce40-6243-4101-bcd8-36ae6d7ca155</UniqueId> <UserName>sample string 6</UserName> <UserType>sample string 3</UserType> <UserUniqueId>4</UserUniqueId> </APILoyaltyRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<APIResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model"> <Message>sample string 2</Message> <Status>true</Status> </APIResult>