# Booking Reservation Request Message Format

| Element Path                                                                                         | Attribute                                     | Occ                      | Type                         | Notes                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| ---------------------------------------------------------------------------------------------------- | --------------------------------------------- | ------------------------ | ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><br></p><p>HotelML/Head/Process</p>                                                               | <p><br></p>                                   | <p><br></p><p>1</p>      | <p><br></p>                  | <p><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| <p><br></p>                                                                                          | <p><br></p><p>DataPath</p>                    | <p><br></p><p>1</p>      | <p><br></p><p>Char</p>       | <p><br></p><p>Set to "/HotelML/Form/BookReservation”</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| <p><br></p>                                                                                          | <p><br></p><p>Function</p>                    | <p><br></p><p>1</p>      | <p><br></p><p>Char</p>       | <p><br></p><p>Set to “TI\_BookReservationV1\_1”</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| <p><br></p>                                                                                          | <p><br></p><p>Token</p>                       | <p><br></p><p>1</p>      | <p><br></p><p>Char</p>       | <p><br></p><p>Unique ID for the transaction generated by the system sending the transaction.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| <p><br></p><p>HotelML/Head/Route</p>                                                                 | <p><br></p>                                   | <p><br></p><p>1</p>      | <p><br></p>                  | <p><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| <p><br></p>                                                                                          | <p><br></p><p>Source</p>                      | <p><br></p><p>1</p>      | <p><br></p><p>Char 2-3</p>   | <p><br></p><p>Identifies the organization sending the transaction. The value to use will be provided during the implementation project.</p>                                                                                                                                                                                                                                                                                                                                                                                                                         |
| <p><br></p>                                                                                          | <p><br></p><p>Destination</p>                 | <p><br></p><p>1</p>      | <p><br></p><p>Char 2</p>     | <p><br></p><p>Always set to “00” (i.e. zero zero).</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| <p><br></p><p>HotelML/Form/BookReservation</p>                                                       | <p><br></p>                                   | <p><br></p>              | <p><br></p>                  | <p><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| <p><br></p>                                                                                          | <p><br></p><p>VersionCompliance</p>           | <p><br></p><p>0..1</p>   | <p><br></p><p>Enum</p>       | <p><br></p><p>Must be set to “EnhancedBook\_V1” for enhanced booking functionality.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| <p><br></p>                                                                                          | <p><br></p><p>GuaranteeType</p>               | <p><br></p><p>0..1</p>   | <p><br></p><p>Enum.</p>      | <p><br></p><p>Indicates whether this is a guarantee, deposit, or prepayment. Normally bookings are guaranteed.</p><p><br></p><p>Values are: “Guarantee”, “Deposit” and “PrePay”.</p>                                                                                                                                                                                                                                                                                                                                                                                |
| <p><br></p>                                                                                          | <p><br></p><p>GuaranteeMethod</p>             | <p><br></p><p>0..1</p>   | <p><br></p><p>Enum.</p>      | <p><br></p><p>Normally bookings are guaranteed by credit card, although other methods may be used if configured by the hotel chain.</p><p><br></p><p>Values are: “CreditCard”, “Account”, “Agency”, “Company”, “CashOrCheck”, “DirectBill”, “Other”.</p>                                                                                                                                                                                                                                                                                                            |
| <p><br></p>                                                                                          | <p><br></p><p>InDate</p>                      | <p><br></p><p>1</p>      | <p><br></p><p>Date</p>       | <p><br></p><p>Arrival date</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| <p><br></p>                                                                                          | <p><br></p><p>OutDate</p>                     | <p><br></p><p>1</p>      | <p><br></p><p>Date</p>       | <p><br></p><p>Departure date</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| <p><br></p>                                                                                          | <p><br></p><p>PropertyCode</p>                | <p><br></p><p>1</p>      | <p><br></p><p>Char 10</p>    | <p><br></p><p>Chain and property code – e.g. “UI;12345”</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| <p><br></p>                                                                                          | <p><br></p><p>RatePlanCode</p>                | <p><br></p><p>1</p>      | <p><br></p><p>Char 10</p>    | <p><br></p><p>Rate plan code (as returned in the availability response)</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| <p><br></p>                                                                                          | <p><br></p><p>RatePlanType</p>                | <p><br></p><p>0..1</p>   | <p><br></p><p>Enum.</p>      | <p><br></p><p>Rate plan type. Not normally required. Values are:</p><p><br></p><p>BusinessStandard, Consortium, Convention, Corporate, Credential, FreqAuto, FreqGuest, FreqFlyer, Government, IATA,Inclusive, Negotiated, Package, Privileged, PseudoCity, SearchQualifier</p>                                                                                                                                                                                                                                                                                     |
| <p><br></p>                                                                                          | <p><br></p><p>RoomRate</p>                    | <p><br></p><p>0..1</p>   | <p><br></p><p>Decimal</p>    | <p><br></p><p>The ‘bookable room rate’, as returned in the availability response</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| <p><br></p>                                                                                          | <p><br></p><p>CurrencyCode</p>                | <p><br></p><p>0..1</p>   | <p><br></p><p>Char 3</p>     | <p><br></p><p>The currency of the room rate</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| <p><br></p>                                                                                          | <p><br></p><p>RateOverride</p>                | <p><br></p><p> 0..1</p>  | <p><br></p><p>Boolean</p>    | <p><br></p><p>Set to “true” to request that the room rate provided in the booking message overrides the rate defined in the supplier’s system.   As this is a request, the supplier can choose whether or not to override the rate.  The demand partner must therefore get prior agreement from the supplier to use this rate override feature.  </p><p><br></p><p><br></p><p>This attribute will not be used in this implementation with RateGain  </p>                                                                                                            |
| <p><br></p>                                                                                          | <p><br></p><p>RoomTypeCode</p>                | <p><br></p><p>1</p>      | <p><br></p><p>Char 10</p>    | <p><br></p><p>Room type code, as returned in the availability response</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| <p><br></p>                                                                                          | <p><br></p><p>Session</p>                     | <p><br></p><p>0..1</p>   | <p><br></p><p>Enum</p>       | <p><br></p><p>Set to “New” if using active session control (i.e. booking will not be confirmed until committed using the SessionControl message). Otherwise omit the attribute.</p>                                                                                                                                                                                                                                                                                                                                                                                 |
| <p><br></p>                                                                                          | <p><br></p><p>TotalRateInclusive</p>          | <p><br></p><p>  0..1</p> | <p><br></p><p>  Decimal</p>  | <p><br></p><p>The sum of nightly rates and taxes for the stay. Mutually exclusive withTotalRateInclusiveCharges.</p><p><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| <p><br></p>                                                                                          | <p><br></p><p>  TotalRateInclusiveCharges</p> | <p><br></p><p>  0..1</p> | <p><br></p><p>  Decimal</p>  | <p><br></p><p>Total room rate inclusive of all known taxes, fees and any extra charges.</p><p><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| <p><br></p><p>HotelML/Form/BookReservation/ Locale</p>                                               | <p><br></p>                                   | <p><br></p><p>0..1</p>   | <p><br></p>                  | <p><br></p><p>This is used to request the response in a specific language.</p><p><br></p><p>Note: It can only be included if requesting a language other than English.</p>                                                                                                                                                                                                                                                                                                                                                                                          |
| <p><br></p>                                                                                          | <p><br></p><p>Language</p>                    | <p><br></p><p>1</p>      | <p><br></p><p>Char 2</p>     | <p><br></p><p>Language code – e.g. “FR”</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| <p><br></p>                                                                                          | <p><br></p><p>Country</p>                     | <p><br></p><p>0..1</p>   | <p><br></p><p>Char</p>       | <p><br></p><p>Optional country name – e.g. “France”.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| <p><br></p><p>HotelML/Form/BookReservation/ AgentInfo</p>                                            | <p><br></p>                                   | <p><br></p><p>0..1</p>   | <p><br></p>                  | <p><br></p><p>Travel agent identifier. This is normally required for the hotel to pay commission. It may also be required to access non-public rates.</p>                                                                                                                                                                                                                                                                                                                                                                                                           |
| <p><br></p>                                                                                          | <p><br></p><p>Number</p>                      | <p><br></p><p>1</p>      | <p><br></p><p>Char 8</p>     | <p><br></p><p>Travel agent identifier – often the IATA number.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| <p><br></p>                                                                                          | <p><br></p><p>Type</p>                        | <p><br></p><p>1</p>      | <p><br></p><p>Enum.</p>      | <p><br></p><p>Identifies the type of travel agent number. Values are: “ARC”, “IATA”, “TIDS”, “CLIA”, “AAA”,  “GDS”, “Other”.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| <p><br></p>                                                                                          | <p><br></p><p>CityCode</p>                    | <p><br></p><p>0..1</p>   | <p><br></p><p>Char 3</p>     | <p><br></p><p>Originating Agent’s City. Not normally required.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| <p><br></p>                                                                                          | <p><br></p><p>CountryCode</p>                 | <p><br></p><p>0..1</p>   | <p><br></p><p>Char 2</p>     | <p><br></p><p>Originating Agent’s Country Code (ISO Standard Codes). Not normally required.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| <p><br></p><p>HotelML/Form/BookReservation</p><p>CreditCard</p>                                      | <p><br></p>                                   | <p><br></p><p>0..1</p>   | <p><br></p>                  | <p><br></p><p>Details of the credit card used for guarantee, deposit or prepayment.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| <p><br></p>                                                                                          | <p><br></p><p>TypeIdentifier</p>              | <p><br></p><p>1</p>      | <p><br></p><p>Char 2</p>     | <p><br></p><p>Type of credit card – e.g. “VI” (Visa), “AX” (American Express) etc</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| <p><br></p>                                                                                          | <p><br></p><p>Number</p>                      | <p><br></p><p>1</p>      | <p><br></p><p>Char 21</p>    | <p><br></p><p>Credit card number</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| <p><br></p>                                                                                          | <p><br></p><p>CVMNumber</p>                   | <p><br></p><p>0..1</p>   | <p><br></p><p>Char 3-4</p>   | <p><br></p><p>Three or four digit credit card security code</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| <p><br></p>                                                                                          | <p><br></p><p>ExpirationDate</p>              | <p><br></p><p>1</p>      | <p><br></p><p>YYMM</p>       | <p><br></p><p>Credit card expiry date</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| <p><br></p>                                                                                          | <p><br></p><p>IssuedName</p>                  | <p><br></p><p>1</p>      | <p><br></p><p>Char 99</p>    | <p><br></p><p>Full credit card holder’s name, as printed on the card</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| <p><br></p>                                                                                          | <p><br></p><p>  Email</p>                     | <p><br></p><p>  0..1</p> | <p><br></p><p>  Char 128</p> | <p><br></p><p>  Email address of the cardholder (which may be different from the guest)</p><p><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| <p><br></p>                                                                                          | <p><br></p><p>  Channel</p>                   | <p><br></p><p>  0..1</p> | <p><br></p><p>  Enum</p>     | <p><br></p><p>  Channel used to make the booking:</p><p>  Valid values are “MailOrder”, “Telephone”, Ecommerce”, “FaceToFace”</p><p><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                        |
| <p><br></p>                                                                                          | <p><br></p><p>  CollectionMethod</p>          | <p><br></p><p>  0..1</p> | <p><br></p><p>  Enum</p>     | <p><br></p><p>  The method used to capture the credit card number.  Valid values are “KeyedIn”, “OnFile”, “CardReader”</p><p><br></p><p><br></p><p><br></p>                                                                                                                                                                                                                                                                                                                                                                                                         |
| <p><br></p><p>HotelML/Form/BookReservation</p><p>/CreditCard/PostalAddress</p>                       | <p><br></p>                                   | <p><br></p><p>0,,1</p>   | <p><br></p>                  | <p><br></p><p>This only needs to be supplied of the credit card billing address is different from the guest’s address</p>                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| <p><br></p>                                                                                          | <p><br></p><p>City</p>                        | <p><br></p><p>1</p>      | <p><br></p><p>Char 50</p>    | <p><br></p><p>City name</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| <p><br></p>                                                                                          | <p><br></p><p>CountryCode</p>                 | <p><br></p><p>1</p>      | <p><br></p><p>Char 2</p>     | <p><br></p><p>Country code</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| <p><br></p>                                                                                          | <p><br></p><p>Line1</p>                       | <p><br></p><p>1</p>      | <p><br></p><p>Char 99</p>    | <p><br></p><p>Address line 1</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| <p><br></p>                                                                                          | <p><br></p><p>Line2</p>                       | <p><br></p><p>0..1</p>   | <p><br></p><p>Char 99</p>    | <p><br></p><p>Address line 2</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| <p><br></p>                                                                                          | <p><br></p><p>Line3</p>                       | <p><br></p><p>0..1</p>   | <p><br></p><p>Char 99</p>    | <p><br></p><p>Address line 3</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| <p><br></p>                                                                                          | <p><br></p><p>Line4</p>                       | <p><br></p><p>0..1</p>   | <p><br></p><p>Char 99</p>    | <p><br></p><p>Address line 4</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| <p><br></p>                                                                                          | <p><br></p><p>PostalCode</p>                  | <p><br></p><p>0..1</p>   | <p><br></p><p>Char 15</p>    | <p><br></p><p>Postal code/ Zip code</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| <p><br></p>                                                                                          | <p><br></p><p>StateCode</p>                   | <p><br></p><p>0..1</p>   | <p><br></p><p>Char 2</p>     | <p><br></p><p>State / Province code</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| CreditCard/ThreeDomainSecurity                                                                       | <p><br></p>                                   | 0..1                     | <p><br></p>                  | <p>  This element is an enhanced booking feature, and VersionCompliance must</p><p>  be set to “EnhancedBook\_V1” for this to be used in the request</p>                                                                                                                                                                                                                                                                                                                                                                                                            |
| <p><br></p>                                                                                          | Protocol Version                              | 0..1                     | Char 3                       | <p>  3DS Program Protocol version<br>  No dots between numbers - e.g. 020 is version 2.0</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| <p>  CreditCard/ThreeDomainSecurity/</p><p>  Gateway</p>                                             | <p><br></p>                                   | 0..1                     | <p><br></p>                  | <p>  This element is an enhanced booking feature, and VersionCompliance must</p><p>  be set to “EnhancedBook\_V1” for this to be used in the request</p>                                                                                                                                                                                                                                                                                                                                                                                                            |
| <p><br></p>                                                                                          | ECI                                           | 0..1                     | Char 2                       | <p>  Electronic Commerce Indicator.  Indicates the security level associated</p><p>  with an Internet purchase transaction<br><br>Values 00 to 09</p>                                                                                                                                                                                                                                                                                                                                                                                                               |
| <p><br></p>                                                                                          | Merchant Name                                 | 0..1                     | Char 40                      | Name of the merchant completing the 3DS transaction                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| <p>  CreditCard/ThreeDomainSecurity/</p><p>  Results</p>                                             | <p><br></p>                                   | 0..1                     | <p><br></p>                  | <p>  This element is an enhanced booking feature, and VersionCompliance must</p><p>  be set to “EnhancedBook\_V1” for this to be used in the request</p>                                                                                                                                                                                                                                                                                                                                                                                                            |
| <p><br></p>                                                                                          | CAVV                                          | 0..1                     | Char 28                      | <p>  Cardholder Authentication Verification Value Information retrieved</p><p>  from the 3DS provider when authentication is successful<br><br>Length 28 characters. A 20-byte value that has been Base64 encoded, giving a 28-byte result</p>                                                                                                                                                                                                                                                                                                                      |
| <p><br></p>                                                                                          | XID                                           | 0..1                     | Char 28                      | <p>  Transaction identifier for a 3DS Version 1 provider<br><br>  Length 28 characters (Base 64 or HEX)</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| <p><br></p>                                                                                          | TransactionID                                 | 0..1                     | Char 36                      | <p>  Transaction identifier for a 3DS Version 2 provider<br><br>  May contain special characters</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| <p><br></p>                                                                                          | PAResStatus                                   | 0..1                     | Enum.                        | <p>  Payer Authentication Result Status when using 3DS credit card security<br><br>  This value will be required to communicate to the authorizing party</p><p>  when authentication could not be completed for reasons other than</p><p>  Authentication Outage<br><br>  Values:<br>  "Y" (Authentication Successful)<br>  "N" (Authentication Failed)<br>  "U" (Authentication Unavailable)</p>                                                                                                                                                                   |
| <p>  HotelML/Form/ BookReservation/</p><p>  CreditCard/ThreeDomainSecurity/</p><p>  Exemption</p>    | <p><br></p>                                   | 0..1                     | <p><br></p>                  | <p>  This element is an enhanced booking feature, and VersionCompliance must</p><p>  be set to “EnhancedBook\_V1” for this to be used in the request</p>                                                                                                                                                                                                                                                                                                                                                                                                            |
| <p><br></p>                                                                                          | Reason                                        | 1                        | E  num.                      | <p>  The reason for the 3DS exemption:<br>  Valid values are "RiskAnalysis"</p><p>  "TrustedBeneficiary"</p><p>  "LowValue"</p><p>  "SecureCorporate"</p><p>  "DelegatedAuthentication"</p><p>  "AuthenticationOutage"</p>                                                                                                                                                                                                                                                                                                                                          |
| <p>  HotelML/Form/ BookReservation/</p><p>  CreditCard/ThreeDomainSecurity/</p><p>  MIT\_Mandate</p> | <p><br></p>                                   | 0..1                     | <p><br></p>                  | <p>  This is used if the cardholder has authorized a merchant initiated transaction.</p><p><br></p><p>  This element is an enhanced booking feature, and VersionCompliance must</p><p>  be set to “EnhancedBook\_V1” for this to be used in the request</p>                                                                                                                                                                                                                                                                                                         |
| <p><br></p>                                                                                          | Type                                          | 0..1                     | Enum.                        | <p>  Merchant Initiated Transaction mandate:<br>  Valid values are "None"<br>  "NoShowFee"<br>  "CancelFee"<br>  "PostCheckInCharges"<br>  "PrePayment"<br>  "BalancePayment"<br>  "RecurringChargeFixedDate"<br>  "RecurringChargeVariableDate"</p>                                                                                                                                                                                                                                                                                                                |
| <p><br></p>                                                                                          | Amount                                        | 0..1                     | Num(15)                      | Maximum amount mandated for Merchant Initiated Transaction                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| <p><br></p>                                                                                          | Currency                                      | 0..1                     | Char 3                       | Currency associated with the amount.  Must be present if Amount provided.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| <p><br></p><p>HotelML/Form/BookReservation/Extra</p><p>Bed</p>                                       | <p><br></p>                                   | <p><br></p><p>0..3</p>   | <p><br></p>                  | <p><br></p><p>This is used to request rollaway beds or cots/cribs. The element can occur up to three times - once for each type of extra bed – as defined by the Type attribute.</p>                                                                                                                                                                                                                                                                                                                                                                                |
| <p><br></p>                                                                                          | <p><br></p><p>Type</p>                        | <p><br></p><p>1</p>      | <p><br></p><p>Enum</p>       | <p><br></p><p>Type of extra bed required. Valid values are:</p><p><br></p><p>AdultRollAway, ChildRollAway, Crib</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| <p><br></p>                                                                                          | <p><br></p><p>Number</p>                      | <p><br></p><p>0..1</p>   | <p><br></p><p>Integer</p>    | <p><br></p><p>The number of beds of this type</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| <p><br></p>                                                                                          | <p><br></p><p>Charge</p>                      | <p><br></p><p>0..1</p>   | <p><br></p><p>Decimal</p>    | <p><br></p><p>Optional charge for extra bed</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| <p><br></p>                                                                                          | <p><br></p><p>Currency</p>                    | <p><br></p><p>0..1</p>   | <p><br></p><p>Char 3</p>     | <p><br></p><p>Currency code for charge</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| <p><br></p><p>HotelML/Form/BookReservation</p><p>FlightInfo</p>                                      | <p><br></p>                                   | <p><br></p><p>0..1</p>   | <p><br></p>                  | <p><br></p><p>Optional details of the arrival flight</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| <p><br></p>                                                                                          | <p><br></p><p>AirportCode</p>                 | <p><br></p><p>0..1</p>   | <p><br></p><p>Char 3</p>     | <p><br></p><p>Arrival airport code</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| <p><br></p>                                                                                          | <p><br></p><p>Number</p>                      | <p><br></p><p>0..1</p>   | <p><br></p><p>Char</p>       | <p><br></p><p>Flight number</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| <p><br></p>                                                                                          | <p><br></p><p>Time</p>                        | <p><br></p><p>0..1</p>   | <p><br></p><p>Date/Time</p>  | <p><br></p><p>Arrival time</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| <p><br></p><p>HotelML/Form/BookReservation/Guest</p>                                                 | <p><br></p>                                   | <p><br></p><p>1..M</p>   | <p><br></p>                  | <p><br></p><p>Guest details. Normally just the details of the primary guest are included in the booking request, although details of all guests are permitted.</p>                                                                                                                                                                                                                                                                                                                                                                                                  |
| <p><br></p>                                                                                          | <p><br></p><p>FirstName</p>                   | <p><br></p><p>1</p>      | <p><br></p><p>Char</p>       | <p><br></p><p>Guest’s first name or initials. Total length of Title + FirstName + LastName + MiddleName + Suffix must not exceed 95 characters,</p>                                                                                                                                                                                                                                                                                                                                                                                                                 |
| <p><br></p>                                                                                          | <p><br></p><p>LastName</p>                    | <p><br></p><p>1</p>      | <p><br></p><p>Char</p>       | <p><br></p><p>Guest’s last name</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| <p><br></p>                                                                                          | <p><br></p><p>MiddleName</p>                  | <p><br></p><p>0..1</p>   | <p><br></p><p>Char</p>       | <p><br></p><p>Guest’s middle name or initial (optional)</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| <p><br></p>                                                                                          | <p><br></p><p>NumberOfAdults</p>              | <p><br></p><p>0..1</p>   | <p><br></p><p>Integer</p>    | <p><br></p><p>Number of adults staying per room. Normally at least one adult is required per room.</p><p>This attribute is deprecated.  Should use GuestCount element instead.</p>                                                                                                                                                                                                                                                                                                                                                                                  |
| <p><br></p>                                                                                          | <p><br></p><p>NumberOfChildren</p>            | <p><br></p><p>0..1</p>   | <p><br></p><p>Integer</p>    | <p><br></p><p>Number of children staying per room</p><p>This attribute is deprecated.  Should use GuestCount element instead.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| <p><br></p>                                                                                          | <p><br></p><p>NumberOfRooms</p>               | <p><br></p><p>1</p>      | <p><br></p><p>Integer</p>    | <p><br></p><p>Number of rooms (of the specified type and rate) to be booked.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| <p><br></p>                                                                                          | <p><br></p><p>Primary</p>                     | <p><br></p><p>0..1</p>   | <p><br></p><p>Boolean</p>    | <p><br></p><p>Indicates whether the Guest element if for the primary guest. One and only one Guest element must have Primary=”true”</p>                                                                                                                                                                                                                                                                                                                                                                                                                             |
| <p><br></p>                                                                                          | <p><br></p><p>Remarks</p>                     | <p><br></p><p>0..1</p>   | <p><br></p><p>Char 256</p>   | <p><br></p><p>Free format comment text</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| <p><br></p>                                                                                          | <p><br></p><p>ServiceRequest</p>              | <p><br></p><p>0..1</p>   | <p><br></p><p>Char 189</p>   | <p><br></p><p>Free format special request text</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| <p><br></p>                                                                                          | <p><br></p><p>Suffix</p>                      | <p><br></p><p>0..1</p>   | <p><br></p><p>Char</p>       | <p><br></p><p>Guest name suffix</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| <p><br></p>                                                                                          | <p><br></p><p>Title</p>                       | <p><br></p><p>0..1</p>   | <p><br></p><p>Char</p>       | <p><br></p><p>Guest name title</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| <p>  HotelML/Form/BookReservation/Guest/</p><p>  GuestCount</p>                                      | <p><br></p>                                   | 1..M                     | <p><br></p>                  | <p>This element specifies the type of guest “Adult” or “Child”, and (optionally the age of the child).</p><p><br></p><p>GuestCount must occur once (and only once) per Guest.</p><p><br></p><p><br></p><p>  It should be used instead of the NumberOfAdults and NumberOfChildren</p><p>  attributes of BookReservation/Guest because it allows the age of each child to</p><p>be specified.</p><p><br></p><p>  This element is an enhanced booking feature, and VersionCompliance must</p><p>  be set to “EnhancedBook\_V1” for this to be used in the request.</p> |
| <p><br></p>                                                                                          | Type                                          | 1                        | Enum                         | Values “Adult” or “Child”                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| <p><br></p>                                                                                          | Age                                           | 0..1                     | Integer                      | The optional age of the guest.  Only applicable when Type=”Child”                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| <p><br></p>                                                                                          | Count                                         | 1                        | Integer                      | Number of guests of this type                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| <p>HotelML/Form/BookReservation</p><p>/Guest/ExtraPerson</p>                                         | <p><br></p>                                   | 1..2                     | <p><br></p>                  | <p>  Only associated to BookReservation/Guest segment where Primary = true.</p><p><br></p><p>  This element is an enhanced booking feature, and VersionCompliance must</p><p>  be set to “EnhancedBook\_V1” for this to be used in the request.</p>                                                                                                                                                                                                                                                                                                                 |
| <p><br></p>                                                                                          | Type                                          | 1                        | Enum.                        | Values “Adult” and “Child”                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| <p><br></p>                                                                                          | Number                                        | 1                        | Integer                      | Number of Extra person(s) by type                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| <p><br></p>                                                                                          | Charge                                        | 0..1                     | Decimal                      | This value should be the same as ExtraBed Charge                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| <p><br></p>                                                                                          | Currency                                      | 0..1                     | Char 3                       | This value should be the same as ExtraBed Currency                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| <p><br></p><p>HotelML/Form/BookReservation</p><p>/Guest/AutoInfo</p>                                 | <p><br></p>                                   | <p><br></p><p>0..M</p>   | <p><br></p>                  | <p><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| <p><br></p>                                                                                          | <p><br></p><p>Code</p>                        | <p><br></p><p>1</p>      | <p><br></p><p>Char 25</p>    | <p><br></p><p>Auto frequent traveler ID. Not normally used.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| <p><br></p><p>HotelML/Form/BookReservation/ Guest/CorpInfo</p>                                       | <p><br></p>                                   | <p><br></p><p>0..1</p>   | <p><br></p>                  | <p><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| <p><br></p>                                                                                          | <p><br></p><p>Code</p>                        | <p><br></p><p>1</p>      | <p><br></p><p>Char 25</p>    | <p><br></p><p>Corporate Customer ID. Only used if booking a corporate rate.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| <p><br></p><p>HotelML/Form/BookReservation/ Guest/Email</p>                                          | <p><br></p>                                   | <p><br></p><p>1</p>      | <p><br></p>                  | <p><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| <p><br></p>                                                                                          | <p><br></p><p>Address</p>                     | <p><br></p><p>1</p>      | <p><br></p><p>Char 128</p>   | <p><br></p><p>Guest’s email address is required when making a reservation.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| <p><br></p><p>HotelML/Form/BookReservation/ Guest/FlyerInfo</p>                                      | <p><br></p>                                   | <p><br></p><p>0..M</p>   | <p><br></p>                  | <p><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| <p><br></p>                                                                                          | <p><br></p><p>Code</p>                        | <p><br></p><p>1</p>      | <p><br></p><p>Char 25</p>    | <p><br></p><p>Frequent flyer number. Not normally used.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| <p><br></p><p>HotelML/Form/BookReservation/ Guest/FreqGuest</p>                                      | <p><br></p>                                   | <p><br></p><p>0..M</p>   | <p><br></p>                  | <p><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| <p><br></p>                                                                                          | <p><br></p><p>Code</p>                        | <p><br></p><p>1</p>      | <p><br></p><p>Char 25</p>    | <p><br></p><p>Frequent guest number. Not normally used.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| <p><br></p><p>HotelML/Form/BookReservation/ Guest/Phone</p>                                          | <p><br></p>                                   | <p><br></p><p>1..M</p>   | <p><br></p>                  | <p><br></p><p>Guest’s telephone number(s). At least one is required.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| <p><br></p>                                                                                          | <p><br></p><p>Number</p>                      | <p><br></p><p>1</p>      | <p><br></p><p>Char 20</p>    | <p><br></p><p>Telephone number</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| <p><br></p>                                                                                          | <p><br></p><p>Type</p>                        | <p><br></p><p>1</p>      | <p><br></p><p>Enum</p>       | <p><br></p><p>Type of telephone number,</p><p><br></p><p>Most common values in this context are: “Home”, “Business”, “Mobile”, “FAX”</p>                                                                                                                                                                                                                                                                                                                                                                                                                            |
| <p><br></p><p>HotelML/Form/BookReservation/Guest/PostalAddress</p>                                   | <p><br></p>                                   | <p><br></p><p>1..M</p>   | <p><br></p>                  | <p><br></p><p>Guest’s address details</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| <p><br></p>                                                                                          | <p><br></p><p>City</p>                        | <p><br></p><p>1</p>      | <p><br></p><p>Char 50</p>    | <p><br></p><p>City name</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| <p><br></p>                                                                                          | <p><br></p><p>CountryCode</p>                 | <p><br></p><p>1</p>      | <p><br></p><p>Char 2</p>     | <p><br></p><p>Country code</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| <p><br></p>                                                                                          | <p><br></p><p>Line1</p>                       | <p><br></p><p>1</p>      | <p><br></p><p>Char 99</p>    | <p><br></p><p>Address line 1</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| <p><br></p>                                                                                          | <p><br></p><p>Line2</p>                       | <p><br></p><p>0..1</p>   | <p><br></p><p>Char 99</p>    | <p><br></p><p>Address line 2</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| <p><br></p>                                                                                          | <p><br></p><p>Line3</p>                       | <p><br></p><p>0..1</p>   | <p><br></p><p>Char 99</p>    | <p><br></p><p>Address line 3</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| <p><br></p>                                                                                          | <p><br></p><p>Line4</p>                       | <p><br></p><p>0..1</p>   | <p><br></p><p>Char 99</p>    | <p><br></p><p>Address line 4</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| <p><br></p>                                                                                          | <p><br></p><p>PostalCode</p>                  | <p><br></p><p>0..1</p>   | <p><br></p><p>Char 15</p>    | <p><br></p><p>Postal code/ Zip code</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| <p><br></p>                                                                                          | <p><br></p><p>StateCode</p>                   | <p><br></p><p>0..1</p>   | <p><br></p><p>Char 2</p>     | <p><br></p><p>State / Province code</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| <p><br></p>                                                                                          | <p><br></p><p>Type</p>                        | <p><br></p><p>1</p>      | <p><br></p><p>Enum</p>       | <p><br></p><p>Values “Home”, “Agent”, and “Business”</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.rategain.com/our-products/smart-distribution/book-and-cancel-reservation/book-api/booking-reservation-request-message-format.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
