Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The OTA_HotelAvailNotifRQ / OTA_HotelAvailNotifRS can be used to transmit the booking rules on all the agreed levels. A request will be send every time a change in the booking rules has been detected on our system.

...

Code Block
languagexml
titleUse case: OTA_HotelAvailNotifRQ for room-based pricing
<OTA_HotelAvailNotifRQ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.opentravel.org/OTA/2003/05" xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelAvailNotifRQ.xsd" TimeStamp="2012-10-05T14:20:50" Target="Test" Version="1.000" EchoToken="">
  <POS>
    <Source>
      <RequestorID ID="MASTERUSERNAME" MessagePassword="MASTERPASSWORD" Type="13"></RequestorID>
    </Source>
  </POS>
  <AvailStatusMessages HotelCode="1234HotelCode">
    <AvailStatusMessage>
      <StatusApplicationControl Start="2015-09-24" End="2015-10-14" InvTypeCode="00P5519245316dc1" RatePlanCode="00P551924536469f" />
      <LengthsOfStay>
        <LengthOfStay Time="2" MinMaxMessageType="SetMinLOS"/>
        <LengthOfStay Time="5" MinMaxMessageType="SetMaxLOS"/>
      </LengthsOfStay>
      <RestrictionStatus Restriction="Master" Status="Open"/>
      <RestrictionStatus Restriction="Arrival" Status="Open"/>
      <RestrictionStatus Restriction="Departure" Status="Open"/>
      <RestrictionStatus MinAdvancedBookingOffset="P2W" MaxAdvancedBookingOffset="P1Y"/>
    </AvailStatusMessage>
  </AvailStatusMessages>
</OTA_HotelAvailNotifRQ>

...

Name
Mandatory
Description
RestrictionYesNo

Possible values:

  • Master
  • Arrival
  • Departure
StatusYesNo

Possible values are:

  • Open
  • Close
MinAdvancedBookingOffsetNoValue is given using the ISO 8601 Duration notation
MaxAdvancedBookingOffsetNoValue is given using the ISO 8601 Duration notation

Child elements: None


The online booking system must respond with either of the following formats

...