Get Room List

The connected PMS can retrieve room list from HotelRunner using the OTA_HotelRoomListRQ message. HotelRunner will respond with a OTA_HotelRoomListRS that contain the room and rate types.

OTA_HotelRoomListRQ

  <OTA_HotelRoomListRQ xmlns="http://www.opentravel.org/OTA/2003/05" Version="1.0" TimeStamp="2016-03-19T09:32:47+08:00" EchoToken="echo-abc123">
      <POS>
        <Source>
          <RequestorID Type="22" ID="PMS1"/>
        </Source>
      </POS>
 </OTA_HotelRoomListRQ>

OTA_HotelRoomListRs

<OTA_HotelRoomListRS xmlns="http://www.opentravel.org/OTA/2003/05" Version="1.0" TimeStamp="2016-06-01 11:31:45 UTC" EchoToken="echo-abc123">
    <Success />
    <HotelRoomLists>
        <HotelRoomList>
            <RoomStays>
                <RoomStay>
                    <RoomTypes>
                        <RoomType RoomType="King Suite" RoomTypeCode="HR:10229">
                            <RoomDescription>
                                <Text><![CDATA[Beautiful room]]></Text>
                            </RoomDescription>
                            <AdditionalDetails>
                                <AdditionalDetail Type="room_capacity" Value="6" />
                                <AdditionalDetail Type="adult_capacity" Value="6" />
                                <AdditionalDetail Type="availability_update" Value="true" />
                                <AdditionalDetail Type="restrictions_update" Value="true" />
                                <AdditionalDetail Type="price_update" Value="true" />
                                <AdditionalDetail Type="policy">
                                    <DetailDescription>
                                        <Text><![CDATA[Free cancelation]]></Text>
                                    </DetailDescription>
                                </AdditionalDetail>
                            </AdditionalDetails>
                        </RoomType>
                    </RoomTypes>
                    <RatePlans>
                        <RatePlan RatePlanName="King Suite" RatePlanCode="HR:10229" RoomTypeCode="HR:10229">
                            <RatePlanDescription>
                                <Text><![CDATA[Master Rate]]></Text>
                            </RatePlanDescription>
                            <AdditionalDetails>

                                <AdditionalDetail Type="availability_update" Value="true" />
                                <AdditionalDetail Type="restrictions_update" Value="true" />
                                <AdditionalDetail Type="price_update" Value="true" />

                                <AdditionalDetail Type="policy">
                                    <DetailDescription>
                                        <Text><![CDATA[]]></Text>
                                    </DetailDescription>
                                </AdditionalDetail>
                            </AdditionalDetails>
                        </RatePlan>
                        <RatePlan RatePlanName="King Suite - UAI" RatePlanCode="10233:HR:10229" RoomTypeCode="HR:10229">
                            <RatePlanDescription>
                                <Text><![CDATA[]]></Text>
                            </RatePlanDescription>
                            <AdditionalDetails>                                                             
                                <AdditionalDetail Type="availability_update" Value="false" />
                                <AdditionalDetail Type="restrictions_update" Value="false" />
                                <AdditionalDetail Type="price_update" Value="true" />

                                <AdditionalDetail Type="policy">
                                    <DetailDescription>
                                        <Text><![CDATA[Ultra all inclusive]]></Text>
                                    </DetailDescription>
                                </AdditionalDetail>
                            </AdditionalDetails>
                        </RatePlan>   
                    </RatePlans>
                </RoomStay>
            </RoomStays>
        </HotelRoomList>
    </HotelRoomLists>
</OTA_HotelRoomListRS>    

OTA_HotelRoomListRs Specification

Element  Number  Description
OTA_HotelRoomListRs 1 Root Node
HotelRoomLists  1  
HotelRoomList  1
RoomStays  1
RoomStay  0..n  
RoomStay / RoomTypes / RoomType  1  Container for room information.
@RoomTypeCode 1 INV_CODE for the room type. It is being used for updating Availability & Restrictions
@RatePlanCode RATE_CODE for the rate plan. It is being used for updating Rates
RoomStay / RatePlans  0..n  Container for room rate information
RoomDescription  1 Description of the current element
AdditionalDetail   0..n  AdditionalDetail for the current element.