Hotel API · Booking flow
HotelBookingAcknowledge()
This function is dedicated to retrieve the response about already sent bookings to a PMS.
Request
<HotelBookingAcknowledgeRQ>
<Credential>
<Login>?</Login>
<Password>?</Password>
</Credential>
<User>?</User>
<Ilng>?</Ilng>
<Orders>
<Order>
<Id>?</Id>
<Operation>?</Operation>
<Comments>?</Comments>
<HCN>?</HCN>
<CheckinUrl>?</CheckinUrl>
</Order>
…
</Orders>
</HotelBookingAcknowledgeRQ>| Root | Sub root | Description | Values & Format | Tag |
|---|---|---|---|---|
| Credential | Mandatory | |||
| Login | Text | |||
| Password | Text | |||
| User | Current user ID | Numeric | Mandatory | |
| Ilng | Cyberesa language code | Numeric 1 :Frensh 2 :English | Mandatory | |
| Orders | ||||
| Order : Id | Id of order | Numeric | Mandatory | |
| Order : Operation | Accepted : 2 Rejected : 3 | Numeric | Mandatory | |
| Order : Comments | Comments of order | Text | Optional | |
| Order : HCN | Hotel confirmation number | Text | Optional | |
| Order : CheckinUrl | Pre-checkin Url | Text | Optional |
Response
<HotelBookingAcknowledgeRS>
<ErrorResult id='?'>
<message>?</message>
</ErrorResult>
<Orders>
<Order>
<Id>?</Id>
<Status>?</Status>
<Comments>?</Comments>
</Order>
</Orders>
</HotelBookingAcknowledgeRS>| Root | Sub root | Description | Values & Format | Tag |
|---|---|---|---|---|
| ErrorResult | Operation State | |||
| ErrorResult:@id | Id of current error | Numeric | ||
| message | Appropriate message | Text | ||
| Orders | ||||
| Order : Id | Id of Order | Numeric | ||
| Order : Status | Status of order (Ok/NOK) | Text | ||
| Order : Comments | Comment of order in case of NOK | Text |