PUT api/content/v4/checkinrequest
Request Information
URI Parameters
None.
Body Parameters
CheckInRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductId | integer |
None. |
|
| LoyaltyEventId | integer |
None. |
|
| CustomerId | integer |
None. |
|
| UniqueId | globally unique identifier |
None. |
|
| UserUniqueId | integer |
None. |
|
| LocationId | integer |
None. |
|
| BeerId | integer |
None. |
|
| Comments | string |
None. |
|
| Rating | decimal number |
None. |
|
| PhotoBase64 | string |
None. |
|
| ImageType | integer |
None. |
|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
|
| Id | integer |
None. |
|
| IsPhotoRemoved | boolean |
None. |
|
| GooglePlace | APIGooglePlace |
None. |
|
| SeminarId | integer |
None. |
|
| EventId | integer |
None. |
|
| ExhibitorId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProductId": 1,
"LoyaltyEventId": 2,
"CustomerId": 3,
"UniqueId": "87c8ac8d-ab37-479a-b5ec-bdc2cc711043",
"UserUniqueId": 5,
"LocationId": 6,
"BeerId": 7,
"Comments": "sample string 8",
"Rating": 9.1,
"PhotoBase64": "sample string 10",
"ImageType": 11,
"Latitude": 12.1,
"Longitude": 13.1,
"Id": 14,
"IsPhotoRemoved": true,
"GooglePlace": {
"Title": "sample string 1",
"Latitude": 1.0,
"Longitude": 1.0,
"PlaceId": "sample string 2"
},
"SeminarId": 16,
"EventId": 17,
"ExhibitorId": 18
}
application/xml, text/xml
Sample:
<CheckInRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
<BeerId>7</BeerId>
<Comments>sample string 8</Comments>
<CustomerId>3</CustomerId>
<EventId>17</EventId>
<ExhibitorId>18</ExhibitorId>
<GooglePlace xmlns:d2p1="http://schemas.datacontract.org/2004/07/">
<d2p1:Latitude>1</d2p1:Latitude>
<d2p1:Longitude>1</d2p1:Longitude>
<d2p1:PlaceId>sample string 2</d2p1:PlaceId>
<d2p1:Title>sample string 1</d2p1:Title>
</GooglePlace>
<Id>14</Id>
<ImageType>11</ImageType>
<IsPhotoRemoved>true</IsPhotoRemoved>
<Latitude>12.1</Latitude>
<LocationId>6</LocationId>
<Longitude>13.1</Longitude>
<PhotoBase64>sample string 10</PhotoBase64>
<Rating>9.1</Rating>
<SeminarId>16</SeminarId>
<UniqueId>87c8ac8d-ab37-479a-b5ec-bdc2cc711043</UniqueId>
<UserUniqueId>5</UserUniqueId>
<LoyaltyEventId>2</LoyaltyEventId>
<ProductId>1</ProductId>
</CheckInRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APICommonWrapperOfAPIResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | HttpStatusCode |
None. |
|
| Message | string |
None. |
|
| Data | APIResult |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 100,
"Message": "sample string 1",
"Data": {
"Status": true,
"Message": "sample string 2"
}
}
application/xml, text/xml
Sample:
<APICommonWrapperOfAPIResultZdSfSp5S xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
<Data>
<Message>sample string 2</Message>
<Status>true</Status>
</Data>
<Message>sample string 1</Message>
<Status>Continue</Status>
</APICommonWrapperOfAPIResultZdSfSp5S>