GET api/v{version}/checkin/picture/forbooking/{bookingId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| bookingId | string |
Required |
|
| version |
The requested API version |
string |
Required Default value is 2 |
Body Parameters
None.
Response Information
Resource Description
ResponseObjectOfGetPhotoIdResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| statusCode | integer |
None. |
|
| errorMessage | string |
None. |
|
| success | boolean |
None. |
|
| result | GetPhotoIdResponse |
None. |
Response Formats
application/json, text/json
Sample:
{
"statusCode": 1,
"errorMessage": "sample string 2",
"success": true,
"result": {
"BookingRef": "sample string 1",
"PhotoIdPath": "sample string 2",
"PhotoIdType": "sample string 3"
}
}
text/javascript
Sample:
{"statusCode":1,"errorMessage":"sample string 2","success":true,"result":{"BookingRef":"sample string 1","PhotoIdPath":"sample string 2","PhotoIdType":"sample string 3"}}
application/xml, text/xml
Sample:
<ResponseObjectOfGetPhotoIdResponseG3hVBHK7 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNITE.External.API.Models">
<ErrorMessage>sample string 2</ErrorMessage>
<Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNITE.External.API.Support.Checkin.v2">
<d2p1:BookingRef>sample string 1</d2p1:BookingRef>
<d2p1:PhotoIdPath>sample string 2</d2p1:PhotoIdPath>
<d2p1:PhotoIdType>sample string 3</d2p1:PhotoIdType>
</Result>
<StatusCode>1</StatusCode>
<Success>true</Success>
</ResponseObjectOfGetPhotoIdResponseG3hVBHK7>