Hotel Booking Rule Response contains room rate information, information about 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* |
|
| Unite all information about booking rules of chosen offer. | 1…1 |
RuleMessage/StatusApplication* |
|
| Represents basic information about offer. | 1...1 |
RuleMessage/BookingRules/BookingRule* |
|
| Represents main information about offer rules. | 1...1 |
OTA_HotelBookingRuleRS/RuleMessage/StatusApplication*:
Element | Attribute | Type | Description | Min…Max occurs |
---|---|---|---|---|
BookingCode* | string | Must be equal to BookingCode from availability response. | 1...1 | |
RoomRates/RoomRate* |
|
| Contains basic information about 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 |
OTA_HotelBookingRuleRS/RuleMessage/BookingRules/BookingRule*:
Element | Attribute | Type | Description | Min…Max occurs |
---|---|---|---|---|
|
| Describes penalties on booking cancellation. | 0...* | |
Description |
|
| 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* |
|
| Represent guest detail for concrete guest. |
|
| For more information see Common Data Description section in Glossary. | 1...1 | ||
PrimaryIndicator* | boolean | Indicate is required information provided for the tour lead or not | 1...1 | |
Age | integer (0 - 150) | Represent age of guest. | 0…1 | |
RequiredGuestDetails/Guest/RequiredGuestDetail* |
|
| Collection of required guest details. | 1...* |
Type* | String | Name of required detail. Possible values are: GivenName, Surname, BirthDate, Email, DocumentNumber, DocumentType, PhoneNumber, AddressLine, CityName, CountryName, PostalCode, CitizenCountryName | 1...1 |