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

« Previous Version 2 Current »

Channel Manager Hotel Availability Request is used to get a list of available rooms in a particular hotel (by hotel code).

OTA_HotelAvailRQ*:

*mandatory

Element

Attribute

Type

Description

Min…Max occurs

AvailRatesOnly*

boolean

If it is set to "true", it is used to search for available hotels only that could be immediately confirmed.

If it is set to "false", it is used to search for all hotels including hotels with "on request" availability.

1...1

PrimaryLangID

For more information see Common Data Description section in Glossary.

0...1

AvailRequestSegments/AvailRequestSegment*

1...1

OTA_HotelAvailRQ/AvailRequestSegments/AvailRequestSegment*:

Element

Attribute

Type

Description

Min…Max occurs

AvailReqType*

string ("Room")

Must always be “Room“.

1...1

HotelSearchCriteria/Criterion*

Contains a parameter (HotelCode) by which a hotel will be searched.

1...*

HotelSearchCriteria/Criterion/HotelRef*

1...1

HotelCode*

string

Identifies a specific hotel in Client's API system.

1...1

HotelCodeContext*

string

Describes a context where the hotel code is taken, identifier of a Client's API.

1...1

OriginHotelCodeContext*

string

Shows from which supplier the request came from.

1...1

 Channel Manager Hotel Availability Request Sample XML
<OTA_HotelAvailRQ xmlns="http://www.opentravel.org/OTA/2003/05" AvailRatesOnly="true" EchoToken="EchoToken" PrimaryLangID="en" Version="2.0">
  <POS>
    <Source>
      <RequestorID ID="client" MessagePassword="test" Type="22"/>
      <BookingChannel PriceDomain="1" Type="7"/>
    </Source>
  </POS>
  <AvailRequestSegments>
    <AvailRequestSegment AvailReqType="Room">
      <HotelSearchCriteria>
        <Criterion>
          <HotelRef HotelCode="9105431" HotelCodeContext="supplierCode" OriginHotelCodeContext="supplierName"/>
        </Criterion>
      </HotelSearchCriteria>
    </AvailRequestSegment>
  </AvailRequestSegments>
</OTA_HotelAvailRQ>
  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.