Developer Docs
  • Our Products
    • Channel Manager
      • Integration and Onboarding Flow
      • RG Bridge - Supply (Push)
        • Integration Overview
          • Vision of Integration
            • Commercial value and business case
          • Information Data flow
            • One way integration
            • Two Way integration – ARI Broadcast and Reservation fetch
            • Information delivery mechanism
          • Technical feasibility of integration
            • Test property setup
            • Sample reservation data
          • RG Bridge Setup
          • Contract
          • Project Plan
          • Certification
          • Monitoring and after sales support
          • Integration checklist
        • Interface Specifications – Availability and Rates Notification Service
          • RG Bridge Integration Process
          • Intended Audience
          • Typographical Conventions
          • Technical Overview
          • Operations
            • Availability Notification
              • OTA_HotelAvailNotifRQ
                • Change in Inventory count
                • Change in availability status and Restrictions
              • OTA_HotelAvailNotifRS
              • XML Usage Specification
            • Rate Change Notification
              • OTA_HotelRateAmountNotifRQ
              • XML Usage Description
              • OTA_HotelRateAmountNotifRS
              • XML Usage Specification
            • Points to remember
        • Interface Specifications – Reservation Notification Service
          • RG Bridge integration process
          • Intended audience
          • Typographical conventions
          • Technical overview
          • Operations
            • Reservation Notification
              • OTA_HotelResNotifRQ
              • XML Usage specification
              • Sample Reservation Messages
              • OTA_HotelResNotifRS
              • XML Usage specification
          • Points to remember
          • Code Lists
      • RG Bridge - Reservation Retrieval (Pull)
        • Technical overview
        • Operations
          • Reservation Retrieval
            • OTA_ReadRQ
            • XML Usage specification
            • OTA_ResRetrieveRS
            • XML Usage specification
          • Reservation Confirmation
            • OTA_NotifReportRQ
            • XML Usage specification
            • OTA_NotifReportRS
            • XML Usage specification
        • Code Lists
      • Direct Connect - Demand (Push)
        • Introduction
        • Interface Specifications – ARI Service
          • Technical Overview
          • Operation: Property List
            • HotelPropertyListGetRQ
            • HotelPropertyListGetRS
            • Test Use Cases
            • FAQ
          • Operation: Product List
            • HotelProductListGetRQ
            • HotelProductListGetRS
            • Test Use Cases
            • FAQ
          • Operation: ARI Get
            • HotelARIGetRQ
            • HotelARIGetRS
            • Test Use Cases
            • FAQ
          • Operation: ARI Update
            • HotelARIUpdateRQ
            • HotelARIUpdateRS
            • Test Use Cases
            • FAQ
          • Points to remember
          • Code Lists
        • Interface Specifications – Reservation Notification Service
          • Technical overview
            • Communication protocols
            • General design
            • Authentication
          • Operation: Reservation
            • OTA_HotelResNotifRQ
            • OTA_HotelResNotifRS
            • Test use cases
            • FAQ
    • Smart Distribution
      • Onboarding process
      • Certification - Demand
      • Authentication Method
      • Book and Cancel Reservation
        • Transaction Header Formats
        • Book API
          • Book Reservation
          • Cancel Reservation
          • Booking Reservation Request Message Format
          • Booking Reservation Response Message Format
          • Cancel Reservation Request Message Format
      • Multiavailability (Enhanced Shopping Transaction)
        • Transaction Header Formats
        • Enhanced Shopping (EST) – Detailed Rate Information
          • Requesting Specific Rates
          • UltraDirect Account Author Negotiated Rate Processing
          • Unavailable Properties
          • UltraDirect Cache Processing
          • Enhanced Shopping Transaction Request Header Format
          • Enhanced Shopping Transaction Response Message Format
      • Pre-Book
        • Transaction Header Formats
        • Pre Book API
          • Pre-Book Request message format
          • Pre-Book Response message format
      • Property list and Booking Summary
        • PropertyList API
        • Booking Summary API
  • Content
    • Integration Process
    • Certification - Demand
    • Content Retrieve
      • SOAP/HTTP
        • SOAP Envelop
        • SOAP Body
        • Date and Time
        • Specifications for Currency Amounts
      • Transaction Specifications
      • Content Retrieval Request
      • Content Retrieval Response
    • Content Update
      • Overview
      • Transaction List
      • Transaction Flow
      • Batch processing
        • File naming convention
      • Multi-lingual capabilities
      • Associating media to textual content
      • Managing images
      • GDS content updates
      • Office of Foreign Assets Control (OFAC)
      • Interface requirements
        • SOAP envelope
        • Standard element formats
      • Transaction specifications
        • Data mapping of elements
        • Area Information
        • Affiliation information
        • Media information
        • Contact information
        • TPA extensions
        • GDS information
        • Response message
      • Codes lists
        • Credit Card
        • Error and Warning codes
        • Spoken Language
        • State and Country
      • Supported language codes
      • Client application generation using WSDL tool
  • UltraDirect
    • Integration Process
    • Certification
    • Ultradirect transaction sets - XML
      • Transaction header formats
      • Booking transactions
        • Booking request message format..
        • Request message format - Cancel
        • Request message format - Commit/Rollback
        • Request message format - Modify
        • Response message format - Booking
      • Enhanced shopping (EST)
        • Requesting Specific Rates
        • Request message format
        • Response message format.
      • Rate and availability transactions
        • Standard multi-availability
          • Request & Response message format
      • Rate Rules
        • Request message format
        • Response message format
      • Reference data transactions
        • Request message format..
        • Response message format..
      • Single property availability
        • Request message format
        • Response message format
    • XML ultradirect specifications
      • Overview
        • Transaction list
      • Interface requirements
      • Transaction meta data
    • Error Codes..
    • UltraDirect Transaction Samples and Usage
      • Using UltraDirect (Seamless, a real-time transaction)
      • EST (Enhanced Shopping Transaction)
      • Rate Rules
      • Book Reservation
      • Cancellation
      • Book Reservation with session control
      • Modification
      • Booking Storage and Retrieval
      • List of Test Credit Cards
      • Test properties in UAT
      • Guarantee Type and Method Combinations
    • xml ultradirect codes
  • Get in Touch
    • Questions?
Powered by GitBook
On this page
  1. Our Products
  2. Smart Distribution
  3. Pre-Book

Pre Book API

Overview

The Precheck API is a validation API used to re-check and re-validate room availability, rates, and restrictions before finalizing a booking. This step ensures the accuracy of the booking request and verifies that no changes have occurred since the initial search or shopping process.

Request Example

<HotelML xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance
" xmlns="
http://www.xpegs.com/v2001Q3/HotelML
">
       <Head>
             <Process DataPath="/HotelML/Form/PreBook" Function="TI_PreBookV1_1" Token="xxxxxxxxx_1635512924"/>
             <Route Destination="00" Source="XX"/>
       </Head>
       <Form>
              <PreBook>
                    <Property Code="XM;8500" Context="Xxxx"/>
                    <RateCriteria VersionCompliance="PreBook_V1" NumberOfRooms="1" TotalRate="270.00" TotalRateInclusive="280.00" RatePlanCode="LV7" RoomTypeCode="A03" RoomCodeContext="Native" RateCodeContext="Native">
                           <GuestCount Type="Adult" Count="2"/>
                           <GuestCount Type="Child" Count="1" Age="3"/>
                           <AgentInfo Number="12345678" Type="TIDS"/>
                           <DateRange InDate="2023-01-14" OutDate="2023-01-15"/>
                           <RateSearch RatePlanCode="AB1" RatePlanType="Negotiated"/>
                    </RateCriteria>
             </PreBook>
       </Form>
</HotelML>

Response Example:

<HotelML xmlns="
http://www.xpegs.com/v2001Q3/HotelML
">
       <Head>
             <Route Destination="XX" Source="00">
                   <Operation Action="Create" App="UltraDirect-d2c3_prod_08" AppVer="V1_1" DataPath="/HotelML" StartTime="2022-02-09T19:03:40.217+00:00" Success="true" TotalProcessTime="1248"/>
             </Route>
<Warning Code="XXXX" Description="PRICE CHANGE" Type="Process"/>
      </Head>
      <Property xml:lang="en" AvailabilityStatus="Open" Code="XM;8500" Token="xxxxxxxxx_1635512924">
             <Rate>
                   <RatePlan Code="LV7" CommissionableStatus="Commissionable" Description="RA1 - Breakfast Included BB Bed and breakfast" InDate="2023-01-14" Indicator="Negotiated" OutDate="2023-01-15" RequestedRatePlanCode="AB1" Status="Open">
<Amenity Code="BRKFST" Confirmable="true" Property="true" Room="true"/>
                         <RoomType BookableRate="290.00" Code="A03" NativeCurrency="EUR" RateFrequency="Daily" RoomDescription="Junior Suite with 1 Double Bed + 1 Sofa cum Dou ble bed" RoomRateText="RA1 - Breakfast Included Junior Suite with 1 Double Bed + 1 Sofa cum Dou ble bed" TotalRate="290.00" TotalRateInclusive="300.00" PriceChangeIndicator="Increased">
                               <CommissionPolicy Percentage="10.00"/>
                               <GuaranteePolicy LateArrivalTime="18:00:00.000" Required="false" HoldTime="18:00:00.000"/>
                               <CancelPolicy Time="18:00:00.000" Date="2022-02-18" PenaltyAmountTaxIndicator="Unknown" PenaltyAmountFeeIndicator="Unknown"/>
                         </RoomType>
                   </RatePlan>
             </Rate>
      </Property>
</HotelML>

Last updated 3 months ago