Rooms and Rates
Message Exchange Workflow
OTA_HotelAvailRQ
- request made by SiteConnect to the Booking Channel endpoint.OTA_HotelAvailRS
- response sent by the Booking Channel.
Request
Example
<OTA_HotelAvailRQ
xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="ed8835ff-6198-4f38-b589-3058397f677c" TimeStamp="2024-07-06T15:27:41+00:00" Version="1.0" AvailRatesOnly="true">
<AvailRequestSegments>
<AvailRequestSegment AvailReqType="Room">
<HotelSearchCriteria>
<Criterion>
<HotelRef HotelCode="HOTELCODE"/>
</Criterion>
</HotelSearchCriteria>
</AvailRequestSegment>
</AvailRequestSegments>
</OTA_HotelAvailRQ>
Specification
Response
Examples
<OTA_HotelAvailRS
xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="ed8835ff-6198-4f38-b589-3058397f677c" TimeStamp="2024-07-06T15:27:41+00:00" Version="1.0">
<Success/>
<RoomStays>
<RoomStay>
<RoomTypes>
<RoomType RoomTypeCode="SGL">
<RoomDescription Name="Single Room">
<Text>Single bed for single occupancy.</Text>
</RoomDescription>
</RoomType>
</RoomTypes>
<RatePlans>
<RatePlan RatePlanCode="BAR">
<RatePlanDescription Name="Best Available Rate">
<Text>Best Available Rate.</Text>
</RatePlanDescription>
</RatePlan>
</RatePlans>
</RoomStay>
<!-- Additional RoomStay elements -->
</RoomStays>
</OTA_HotelAvailRS>
<OTA_HotelAvailRS
xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="ed8835ff-6198-4f38-b589-3058397f677c" TimeStamp="2024-07-06T15:27:41+00:00" Version="1.0">
<Success/>
<RoomStays>
<RoomStay>
<RoomTypes>
<RoomType RoomTypeCode="SGL">
<RoomDescription Name="Single Room">
<Text>Single bed for single occupancy.</Text>
</RoomDescription>
<Occupancy AgeQualifyingCode="10" MaxOccupancy="2"/>
</RoomType>
</RoomTypes>
<RatePlans>
<RatePlan RatePlanCode="BAR">
<RatePlanDescription Name="Best Available Rate">
<Text>Best Available Rate.</Text>
</RatePlanDescription>
</RatePlan>
</RatePlans>
</RoomStay>
<!-- Additional RoomStay elements -->
</RoomStays>
</OTA_HotelAvailRS>
<OTA_HotelAvailRS
xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="ed8835ff-6198-4f38-b589-3058397f677c" TimeStamp="2024-07-06T15:27:41+00:00" Version="1.0">
<Errors>
<Error Type="6" Code="392">Hotel not found for HotelCode=XXXXXX</Error>
</Errors>
</OTA_HotelAvailRS>
Additional Details
<OTA_HotelAvailRS
xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="ed8835ff-6198-4f38-b589-3058397f677c" TimeStamp="2024-07-06T15:27:41+00:00" Version="1.0">
<Success/>
<RoomStays>
<RoomStay>
<RoomTypes>
<RoomType RoomTypeCode="SGL">
<RoomDescription Name="Single Room">
<Text>Single bed for single occupancy.</Text>
</RoomDescription>
<Occupancy AgeQualifyingCode="10" MaxOccupancy="2"/>
</RoomType>
</RoomTypes>
<RatePlans>
<RatePlan RatePlanCode="BAR">
<RatePlanDescription Name="Best Available Rate">
<Text>Best Available Rate.</Text>
</RatePlanDescription>
<AdditionalDetails>
<AdditionalDetail Code="NO_RATES"/>
</AdditionalDetails>
</RatePlan>
</RatePlans>
</RoomStay>
<!-- Additional RoomStay elements -->
</RoomStays>
</OTA_HotelAvailRS>
<OTA_HotelAvailRS
xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="ed8835ff-6198-4f38-b589-3058397f677c" TimeStamp="2024-07-06T15:27:41+00:00" Version="1.0">
<Success/>
<RoomStays>
<RoomStay>
<RoomTypes>
<RoomType RoomTypeCode="SGL">
<RoomDescription Name="Single Room">
<Text>Single bed for single occupancy.</Text>
</RoomDescription>
<Occupancy AgeQualifyingCode="10" MaxOccupancy="2"/>
</RoomType>
</RoomTypes>
<RatePlans>
<RatePlan RatePlanCode="BAR">
<RatePlanDescription Name="Best Available Rate">
<Text>Best Available Rate.</Text>
</RatePlanDescription>
<AdditionalDetails>
<AdditionalDetail Code="NO_AVAILABILITY"/>
</AdditionalDetails>
</RatePlan>
</RatePlans>
</RoomStay>
<!-- Additional RoomStay elements -->
</RoomStays>
</OTA_HotelAvailRS>
<OTA_HotelAvailRS
xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="ed8835ff-6198-4f38-b589-3058397f677c" TimeStamp="2024-07-06T15:27:41+00:00" Version="1.0">
<Success/>
<RoomStays>
<RoomStay>
<RoomTypes>
<RoomType RoomTypeCode="SGL">
<RoomDescription Name="Single Room">
<Text>Single bed for single occupancy.</Text>
</RoomDescription>
<Occupancy AgeQualifyingCode="10" MaxOccupancy="2"/>
</RoomType>
</RoomTypes>
<RatePlans>
<RatePlan RatePlanCode="BAR">
<RatePlanDescription Name="Best Available Rate">
<Text>Best Available Rate.</Text>
</RatePlanDescription>
<AdditionalDetails>
<AdditionalDetail Code="NO_UPDATES"/>
</AdditionalDetails>
</RatePlan>
</RatePlans>
</RoomStay>
<!-- Additional RoomStay elements -->
</RoomStays>
</OTA_HotelAvailRS>
<OTA_HotelAvailRS
xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="ed8835ff-6198-4f38-b589-3058397f677c" TimeStamp="2024-07-06T15:27:41+00:00" Version="1.0">
<Success/>
<RoomStays>
<RoomStay>
<RoomTypes>
<RoomType RoomTypeCode="SGL">
<RoomDescription Name="Single Room">
<Text>Single bed for single occupancy.</Text>
</RoomDescription>
<Occupancy AgeQualifyingCode="10" MaxOccupancy="2"/>
</RoomType>
</RoomTypes>
<RatePlans>
<RatePlan RatePlanCode="BAR">
<RatePlanDescription Name="Best Available Rate">
<Text>Best Available Rate.</Text>
</RatePlanDescription>
<AdditionalDetails>
<AdditionalDetail Code="NO_RATES"/>
<AdditionalDetail Code="NO_AVAILABILITY"/>
</AdditionalDetails>
</RatePlan>
</RatePlans>
</RoomStay>
<RoomStay>
<RoomTypes>
<RoomType RoomTypeCode="SGL">
<RoomDescription Name="Single Room">
<Text>Single bed for single occupancy.</Text>
</RoomDescription>
<Occupancy AgeQualifyingCode="10" MaxOccupancy="2"/>
</RoomType>
</RoomTypes>
<RatePlans>
<RatePlan RatePlanCode="NR">
<RatePlanDescription Name="Non-Refundable">
<Text>Non-Refundable.</Text>
</RatePlanDescription>
<AdditionalDetails>
<AdditionalDetail Code="NO_UPDATES"/>
</AdditionalDetails>
</RatePlan>
</RatePlans>
</RoomStay>
<!-- Additional RoomStay elements -->
</RoomStays>
</OTA_HotelAvailRS>
Specification
Help Centre
Last updated