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 | ||||
---|---|---|---|---|
| ||||
<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 |
---|---|---|
Restriction | YesNo | Possible values:
|
Status | YesNo | Possible values are:
|
MinAdvancedBookingOffset | No | Value is given using the ISO 8601 Duration notation |
MaxAdvancedBookingOffset | No | Value is given using the ISO 8601 Duration notation |
Child elements: None
The online booking system must respond with either of the following formats
...