2.1. СМ HOTEL AVAILABILITY REQUEST
Channel Manager Hotel Availability Request is used to get a list of available rooms in a particular hotel (by hotel code).
OTA_HotelAvailRQ*:
*mandatory
Element | Attribute | Type | Description | Min…Max occurs |
---|---|---|---|---|
| AvailRatesOnly* | boolean | If it is set to "true", it is used to search for available hotels only that could be immediately confirmed. If it is set to "false", it is used to search for all hotels including hotels with "on request" availability. | 1...1 |
| For more information see Common Data Description section in Glossary. | 0...1 | ||
AvailRequestSegments/AvailRequestSegment* |
|
|
| 1...1 |
OTA_HotelAvailRQ/AvailRequestSegments/AvailRequestSegment*:
Element | Attribute | Type | Description | Min…Max occurs |
---|---|---|---|---|
| AvailReqType* | string ("Room") | Must always be “Room“. | 1...1 |
HotelSearchCriteria/Criterion* |
|
| Contains a parameter (HotelCode) by which a hotel will be searched. | 1...* |
HotelSearchCriteria/Criterion/HotelRef* |
|
|
| 1...1 |
HotelCode* | string | Identifies a specific hotel in Client's API system. | 1...1 | |
HotelCodeContext* | string | Describes a context where the hotel code is taken, identifier of a Client's API. | 1...1 | |
OriginHotelCodeContext* | string | Shows from which supplier the request came from. | 1...1 |