Room/Rate Request

This message will allow Levart to request the 3rd party send back room and rate information back to Levart.

This will allow Levart to easily map the room/rate without any 3rd party intervention if a property decides to add or remove rooms and/or rates.

Warning: Although this is a conforming OTA message it isn’t the typical way in that it is used (its primary use is for availability checking)

Direction

  • Levart can send request to 3rd Party and expect a response.

Request

<OTA_HotelAvailRQ 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 https://secure.levartdistributionsystems.com.au/html/schema/OTA/2015B/OTA_HotelAvailRQ.xsd"
                  TimeStamp="2020-06-19T22:21:23+08:00" Target="Production" Version="1.0">
  <AvailRequestSegments>
    <AvailRequestSegment>
      <HotelSearchCriteria AvailableOnlyIndicator="0">
        <Criterion>
          <HotelRef HotelCode="UsernameHere"/>
        </Criterion>
      </HotelSearchCriteria>
    </AvailRequestSegment>
  </AvailRequestSegments>
</OTA_HotelAvailRQ>

Response

<OTA_HotelAvailRS 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 https://secure.levartdistributionsystems.com.au/html/schema/OTA/2015B/OTA_HotelAvailRS.xsd"
                  TimeStamp="2020-06-19T22:21:23+08:00" Target="Production" Version="1.0">
  <Success />
  <RoomStays>
    <RoomStay>
      <RoomTypes>
        <RoomType RoomTypeCode="1234">
          <RoomDescription>
            <Text>Hotel Room Type X</Text>
          </RoomDescription>
        </RoomType>
      </RoomTypes>
      <RatePlans>
        <RatePlan RatePlanCode="7777">
          <RatePlanDescription>
            <Text>Rate A</Text>
          </RatePlanDescription>
        </RatePlan>
      </RatePlans>
    </RoomStay>
    <RoomStay>
      <RoomTypes>
        <RoomType RoomTypeCode="1234">
          <RoomDescription>
            <Text>Hotel Room Type X</Text>
          </RoomDescription>
        </RoomType>
      </RoomTypes>
      <RatePlans>
        <RatePlan RatePlanCode="7778">
          <RatePlanDescription>
            <Text>Rate B</Text>
          </RatePlanDescription>
        </RatePlan>
      </RatePlans>
    </RoomStay>
  </RoomStays>
</OTA_HotelAvailRS>

For every RoomStay element it will contain valid combination of 1 Room and 1 Rate. If there are just rooms provided (such as how Wotif has room offers) just simply list them as a RoomType only with no RatePlan.