Table of Contents | ||||
---|---|---|---|---|
|
Note: this page is a work in progress
Overview
Windsurfer CRS ARI changes are pushed in real-time to partners.
...
Code Block | ||
---|---|---|
| ||
<OTA_HotelAvailNotifRQ xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" EchoToken="2901727514" TimeStamp="2020-01-31T17:00:39.344971-06:00" Target="Production" Version="1" xmlns="http://www.opentravel.org/OTA/2003/05"> <AvailStatusMessages HotelCode="HTBEN"> <AvailStatusMessage> <StatusApplicationControl Start="2020-03-31" End="2020-04-30" RatePlanCode="CHK" InvCode="KRO" /> <LengthsOfStay> <LengthOfStay Time="1" TimeUnit="Day" MinMaxMessageType="SetMinLOS" /> <LengthOfStay Time="1" TimeUnit="Day" MinMaxMessageType="SetForwardMinStay" /> </LengthsOfStay> <RestrictionStatus Status="Open" /> </AvailStatusMessage> </AvailStatusMessages> </OTA_HotelAvailNotifRQ> |
OTA_HotelAvailNotifRQ XML Usage Specification
Element/@Attribute | Description | Occurrences | |||||||||
@TimeStamp | Time of the transaction in xml schema date-time format | 1 | |||||||||
@EchoToken | Unique Identifier to track the RQ/RS message | 1 | |||||||||
@Target | Always set to “Production” | 1 | |||||||||
@Version | Always set to “1.0” | 1 | |||||||||
AvailStatusMessages | Contains list of availability messages (AvailStatusMessage) | 1 | |||||||||
@HotelCode | The code of the property whose availability is being updated | 1 | |||||||||
@HotelName | The name of the property whose availability is being updated | 0..1 | |||||||||
AvailStatusMessage | An availability message. One of the BookingLimit or RestrictionStatus or LengthsOfStay must be included | 1..n | |||||||||
@BookingLimit | The number of rooms available. Optional, to be set at Room level | 0…1 | |||||||||
@BookingLimitMessageType | Always set to “SetLimit”. Mandatory if “BookingLimit” is available | 0…1 | |||||||||
StatusApplicationControl | The date range, room type code and rate code for which this notification is sent is specified in the element. | 1 | |||||||||
@Start | The start date for which the availability update is being set | 1 | |||||||||
@End | The end date for which the availability update is being set | 1 | |||||||||
@invCode | Identifies the Room type for which the availability is being updated | 1 |
| . The room type code + rate code |
| /OTA_HotelAvailNotifRQ/AvailStatusMessages/AvailStatusMessage/ | identify a unique product for which |
| StatusApplicationControl | this update applies. | 1 |
@RatePlanCode | Identifies the Rate plan for which the availability is being updated. Optional, in case of Inventory count (“BookingLimit”) only. | 0..1 | |||||||||
/OTA_HotelAvailNotifRQ/AvailStatusMessages/AvailStatusMessage/ StatusApplicationControl |
| UniqueID@UniqueID | Unique identifier for each | 1 |
| availability message |
| ||||
/OTA_HotelAvailNotifRQ/AvailStatusMessages/AvailStatusMessage |
|
| |||||||||
LengthsOfStay1 | |||||||||||
@LengthsOfStay | Availability based on length of stay | 0..1 |
| can be set using this. Optional | 0..1 | ||||||
/OTA_HotelAvailNotifRQ/AvailStatusMessages/AvailStatusMessage | Optional |
LengthOfStay |
| 1 |
| Mandatory if LengthsOfStay |
| ||||
/OTA_HotelAvailNotifRQ/AvailStatusMessages/AvailStatusMessage | present. |
| |||||||||
/LengthsOfStay |
|
| |||||||||
@Time |
| 1 | |||||||||
| is present | 1 | |||||||||
@Time | Mandatory if LengthOfStay is |
|
| present. Sets the minimum number |
| /OTA_HotelAvailNotifRQ/AvailStatusMessages/AvailStatusMessage | of days required for a stay. |
| /LengthsOfStay /LengthOfStay |
| 1 |
@TimeUnit |
| 1 |
| Mandatory Mandatory if LengthOfStay is |
| /OTA_HotelAvailNotifRQ/AvailStatusMessages/AvailStatusMessage | present. Always set to “Day” |
| |||
/LengthsOfStay /LengthOfStay |
|
| |||||||||
@MinMaxMessageType /OTA_HotelAvailNotifRQ/AvailStatusMessages/AvailStatusMessage /LengthsOfStay /LengthOfStay1 | |||||||||||
@MinMaxMessageType | Mandatory if LengthOfStay is present. Stay control type. Can be any of the options below: SetMinLOS : To set minimum length of stay. SetMaxLOS: To set maximum length of stay. | 1 | |||||||||
RestrictionStatus |
| 0..1 |
| Availability Availability status assigned to the |
|
| room rate combination. |
| /OTA_HotelAvailNotifRQ/AvailStatusMessages/AvailStatusMessage0..1 | ||
@Status | The restriction status. Mandatory if RestrictionStatus is present. Can be any of the options below: Open: The Sale is open. Close: The Sale is closed. ClosedOnArrival: Arrival is closed. ClosedOnDeparture: Departure is closed. OpenOnArrival: Arrival is open. OpenOnDeparture: Departure is open. | 1 | |||||||||
@Status |
| ||||||||||
/OTA_HotelAvailNotifRQ/AvailStatusMessages/AvailStatusMessage/ RestrictionStatus ClosedOnArrivalDeparture: Both Arrival & Departure is closed. MinAdvancedBookingOffset: Minimum number of days before the arrival date the hotel is bookable. | 1
|
Page Properties | ||||||
---|---|---|---|---|---|---|
| ||||||
|
...