OTA_HotelAvailRQ

To assist you PMS and Channel Managers with mapping the rooms and rates created on Staylists with rooms and rates on their platform, you can use OTA_HotelAvailRQ.

To do this, you'll need the UUID of the hotel for which you want to retrieve rooms and rates.

<OTA_HotelAvailRQ
  xmlns="http://www.opentravel.org/OTA/2003/05"
  EchoToken="21ab4d9f-57fb-4744-a4f8-70ddbdaa6a20"
  TimeStamp="2018-03-21T10:31:07+10:00"
  Version="1.0">
  <AvailRequestSegments>
    <AvailRequestSegment AvailReqType="Room">
      <HotelSearchCriteria>
        <Criterion>
          <HotelRef HotelCode="90dd0e6d-438a-477e-aeb6-0292c1e780c3"/>
        </Criterion>
      </HotelSearchCriteria>
    </AvailRequestSegment>
  </AvailRequestSegments>
</OTA_HotelAvailRQ>

OTA_HotelAvailRS

You can expect the response to contain a list of all rooms and rates, which you can then match to the objects that exist within your platform.

<?xml version="1.0"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
  <soapenv:Header/>
  <soapenv:Body>
    <OTA_HotelAvailRS xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" TimeStamp="2018-03-28T21:44:20Z" Version="4" EchoToken="21ab4d9f-57fb-4744-a4f8-70ddbdaa6a20">
      <Success/>
      <RoomStays>
        <RoomStay>
          <RoomTypes>
            <RoomType RoomTypeCode="927df75b-a9fe-4d58-b3fd-2542a61f36ec">
              <RoomDescription Name="Cherry">
                <Text>A stunning room decorated with lots of Oriental furniture bought back from Macau.</Text>
              </RoomDescription>
            </RoomType>
          </RoomTypes>
          <RatePlans>
            <RatePlan RatePlanCode="fb00e505-d228-490a-a7c6-29e4a7ffb538">
              <RatePlanDescription Name="Room only">
                <Text>Non-refundable.</Text>
              </RatePlanDescription>
            </RatePlan>
          </RatePlans>
        </RoomStay>
        <RoomStay>
          <RoomTypes>
            <RoomType RoomTypeCode="bd157f6f-0806-4b89-afdb-54985473910a">
              <RoomDescription Name="Maple">
                <Text>A superb large double room with a 6ft brass bed; everyone raves about its size and comfort!</Text>
              </RoomDescription>
            </RoomType>
          </RoomTypes>
          <RatePlans>
            <RatePlan RatePlanCode="fb00e505-d228-490a-a7c6-29e4a7ffb538">
              <RatePlanDescription Name="Room only">
                <Text>Non-refundable.</Text>
              </RatePlanDescription>
            </RatePlan>
          </RatePlans>
        </RoomStay>
        <RoomStay>
          <RoomTypes>
            <RoomType RoomTypeCode="b9c131d1-cb8c-4eb8-ba4a-d9d4d6f2a506">
              <RoomDescription Name="Oak">
                <Text>A very pretty room decorated in a timeless Colefax and Fowler wallpaper.</Text>
              </RoomDescription>
            </RoomType>
          </RoomTypes>
          <RatePlans>
            <RatePlan RatePlanCode="fb00e505-d228-490a-a7c6-29e4a7ffb538">
              <RatePlanDescription Name="Room only">
                <Text>Non-refundable.</Text>
              </RatePlanDescription>
            </RatePlan>
          </RatePlans>
        </RoomStay>
        <RoomStay>
          <RoomTypes>
            <RoomType RoomTypeCode="278d30d7-1150-478a-8c42-28e659022319">
              <RoomDescription Name="Stoker">
                <Text>A cosy, comfortable double room decorated in cool greys and startling red.</Text>
              </RoomDescription>
            </RoomType>
          </RoomTypes>
          <RatePlans>
            <RatePlan RatePlanCode="fb00e505-d228-490a-a7c6-29e4a7ffb538">
              <RatePlanDescription Name="Room only">
                <Text>Non-refundable.</Text>
              </RatePlanDescription>
            </RatePlan>
          </RatePlans>
        </RoomStay>
      </RoomStays>
    </OTA_HotelAvailRS>
  </soapenv:Body>
</soapenv:Envelope>