Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Next »

Hotel Booking Retrieval Import request is used to import booking record that was made in supplier's system from this system to GP Travel HUB.

OTA_HotelResRQ:

*mandatory

Element

Attribute

Type

Description

Min…Max occurs

PrimaryLangID

ResStatus*

string ("Import")

Must be always "Import" for that step.

1...1

HotelReservations/ HotelReservation

Include the information about the booking imported.

0...*

HotelReservations/ HotelReservation/ ResGlobalInfo/ HotelReservationIDs/ HotelReservationID*

Element should be used several times in this request with attributes that have different values every time.

2…3

ResID_Source*

string (“agent“, “client“, “supplier“)

Note: HotelReservationID for Agent is not mandatory for import, but “client“ and “supplier“ must be identified.

1…1

ResID_SourceContext

string

Сontains the supplier's name. Mandatory only if ResID_Source - “supplier“.

0…1

ResID_Value*

string

Preferred identifier in client system.

1…1

 Hotel Booking Retrieval Import Request Sample XML
<OTA_HotelResRQ EchoToken="tok1" ResStatus="Import" Version="2" xmlns="http://www.opentravel.org/OTA/2003/05">
   <POS>
      <Source>
         <RequestorID ID="client" MessagePassword="pwd" Type="22"/>
         <BookingChannel Type="7"/>
      </Source>
   </POS>
   <HotelReservations>
      <HotelReservation>
         <ResGlobalInfo>
            <HotelReservationIDs>
               <HotelReservationID ResID_Source="client" ResID_Value="c06118b"/>
               <HotelReservationID ResID_Source="supplier" ResID_SourceContext="hotelbeds" ResID_Value="1-3086905"/>
            </HotelReservationIDs>
         </ResGlobalInfo>
      </HotelReservation>
   </HotelReservations>
</OTA_HotelResRQ>
  • No labels