Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: HUB-8781 added OriginHotelCodeContext attribute

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

Expand
titleChannel Manager Hotel Availability Request Sample XML
Code Block
languagexml
<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>