6. HOTEL BOOKING RULE RESPONSE
Hotel Booking Rule Response contains room rate information, information about the cancellation policy, and a list of required information to complete booking.
OTA_HotelBookingRuleRS*:
*mandatory
Element | Attribute | Type | Description | Min…Max occurs |
---|---|---|---|---|
|
| For more information see Common Data Description section in Glossary. |
| |
|
|
| ||
RuleMessage* |
|
| Unites all information about booking rules for the chosen offer. | 1…1 |
RuleMessage/StatusApplication* |
|
| Represents basic information about the offer. | 1...1 |
| BookingCode* | string | Must be equal to BookingCode from the availability response. | 1...1 |
RuleMessage/StatusApplication/RoomRates/RoomRate* |
|
| Contains basic information about the offer. | 1…* |
Amount* | decimal | The price after taxes, if any has been applied. | 1...1 | |
Start* | yyyy-mm-dd | Defines start day of stay. | 1...1 | |
End* | yyyy-mm-dd | Defines end day of stay. | 1...1 | |
string | For more information see Common Data Description section in Glossary. | 1...1 | ||
|
| Represents main information about offer rules. | 1...1 |
OTA_HotelBookingRuleRS/RuleMessage/BookingRules/BookingRule*:
Element | Attribute | Type | Description | Min…Max occurs |
---|---|---|---|---|
|
| For more information see Hotel Availability Response section. | 0...* | |
Description |
|
| Contains a collection of offer descriptions. | 0...* |
Name | String | Name of description. | 0...1 | |
Description/Text |
| String | Offer description. | 0…1 |
RequiredGuestDetails* |
|
| A collection of required guest details that are part of the booking requirements. | 1…1 |
RequiredGuestDetails/Guest* |
|
| Represents guest details for the specific guest. |
|
| For more information see Common Data Description section in Glossary. | 1...1 | ||
PrimaryIndicator* | boolean | Indicates is required information provided for the tour lead or not. | 1...1 | |
Age | integer (0 - 150) | Represents the age of the guest. | 0…1 | |
RequiredGuestDetails/Guest/RequiredGuestDetail* |
|
| Collection of required guest details. | 1...* |
Type* | String | Name of the required detail. Possible values are: GivenName, Surname, BirthDate, Email, DocumentNumber, DocumentType, PhoneNumber, AddressLine, CityName, CountryName, PostalCode, CitizenCountryName, Prefix. | 1...1 |