he OTA_HotelBookingRuleNotifRQ / OTA_HotelBookingRuleNotifRS 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_HotelBookingRuleNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelBookingRuleNotifRQ.xsd" Version="1.000" Target="Test" TimeStamp="2011-08-01T12:05:56"> <POS> <Source> <RequestorID ID="MASTERUSERNAME" MessagePassword="MASTERPASSWORD" Type="13"></RequestorID> </Source> </POS> <RuleMessages HotelCode="HOTELCODE"> <RuleMessage> <StatusApplicationControl InvCode="00P5519245316dc1" RatePlanCode="00P551924536469f" Start="2015-08-24" End="2015-08-24"/> <BookingRules> <BookingRule> <LengthsOfStay> <LengthOfStay MinMaxMessageType="SetMinLOS" Time="2"/> <LengthOfStay MinMaxMessageType="SetMaxLOS" Time="4"/> </LengthsOfStay> <RestrictionStatus Restriction="Arrival" Status="Open"/> </BookingRule> <BookingRule> <RestrictionStatus Restriction="Departure" Status="Close"/> </BookingRule> <BookingRule> <RestrictionStatus Restriction="Master" Status="Open"/> </BookingRule> <BookingRule> <RestrictionStatus MinAdvancedBookingOffset="P2W" MaxAdvancedBookingOffset="P1Y"/> </BookingRule> </BookingRules> </RuleMessage> </RuleMessages> </OTA_HotelBookingRuleNotifRQ> |
...
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
...