Availability and Restrictions
Message Exchange Workflow
OTA_HotelAvailNotifRQ
- request made by SiteConnect to the Booking Channel endpoint.OTA_HotelAvailNotifRS
- response sent by the Booking Channel.
Request
Examples
Specification
OTA_HotelAvailNotifRQ
Element
1
Root element for the request.
@xmlns
String
1
Defines the XML namespace for the request. Will be set to http://www.opentravel.org/OTA/2003/05
@EchoToken
String
1
Unique identifier for the request, used to match requests and responses.
@TimeStamp
DateTime
1
Time when the request was generated.
@Version
String
1
Specifies the API version. Will be set to 1.0
.
AvailStatusMessages
Element
1
Container for availability status messages.
@HotelCode
String
1
Identifier for the hotel.
AvailStatusMessage
Element
1
Single availability status message.
@BookingLimit
Integer
1
Sets the number of rooms available for sale.
StatusApplicationControl
Element
1
Contains date and room identification information.
@Start
Date
1
The start date for which the update is being set. This date is inclusive.
@End
Date
1
The end date for which the update is being set. This date is inclusive.
@InvTypeCode
String
1
Identifies the room.
@RatePlanCode
String
1
Identifies the rate.
LengthsOfStay
Element
0..2
Used for Minimum Stay and Maximum Stay.
LengthOfStay
Element
1
Single length of stay information.
@MinMaxMessageType
String
1
Can be one of the following:
SetMinLOS
SetMaxLOS
SetForwardMinStay
SetForwardMaxStay
@Time
Integer
0..1
Specifies the number of days related to a stay. Valid range: 1 to 9999.
Will be excluded if no SetMaxLOS
or SetForwardMaxStay
is set.
RestrictionStatus
Element
0..1
Used to restrict the room for Stop Sell, Closed to Arrivals, and Closed to Departure.
@Status
String
1
Values:
Open
(opens room for sale)
Close
(closes room for sale)
@Restriction
String
0..1
Values:
Arrival
(closes to arrival)
Departure
(closes to departure)
If no type is specified, assume a full close or open for the room date.
Response
Examples
Specification
OTA_HotelAvailNotifRS
Element
1
Root element for the response.
@xmlns
String
1
Defines the XML namespace for the request. Will be set to http://www.opentravel.org/OTA/2003/05
@EchoToken
String
1
Unique identifier for the request, used to match requests and responses.
@TimeStamp
DateTime
1
Time when the response was generated.
@Version
String
1
Specifies the API version. Must be set to 1.0
.
Success
Element
0..1
Indicates successful processing of the request.
Errors
Element
0..1
Indicates an error occurred during the processing of the request.
Error
Element
1..n
Single error information containing free text.
@Type
Integer
1
@Code
Integer
0..1
Help Centre
Last updated