Documentation

How to read the facilities available in a room?

When you run either a hotels / hoteldetail request for content-api, you’ll get the response where you’ll be given mainly 2 types of facilities:

  • Room facilities for a specific room (Tag: roomFacilities)
  • Room facilities that apply to ALL rooms in the hotel (tag: facilities + " facilityGroupCode="60")

Bear in mind that in order to show all facilities available for a room, you’ll need to show both facilities for a specific room + facilities for ALL rooms

Room facilities for a specific room (Tag: roomFacilities)

These are the facilities that apply to a room in that specific hotel and can be identified under the tag < roomFacilities >

Example

<hotelDetailsRS
...
  <rooms>
    <room roomCode="FAM.EJ" isParentRoom="false" minPax="1" maxPax="6" maxAdults="6"
    maxChildren="4" minAdults="1" description="FAMILY ROOM EXECUTIVE">
        <type code="FAM">
          <description>FAMILY ROOM</description>
        </type>
        <characteristic code="EJ">
          <description>EXECUTIVE</description>
        </characteristic>
        <roomFacilities>
          <roomFacility facilityCode="280" facilityGroupCode="60" indLogic="true" indFee="false"
            voucher="false">
            <description>Bathrobes</description>
          </roomFacility>
          <roomFacility facilityCode="220" facilityGroupCode="60" indLogic="true" number="0"
           voucher="false">
            <description>Living room</description>
          </roomFacility>
        </roomFacilities>
  ...
  </room>

Room facilities that apply to ALL rooms in the hotel (tag: facilities + " facilityGroupCode="60")

These are the facilities that apply to all rooms in that specific hotel. Can be identified under the tag < facilities > that contain facilityGroupCode="60" (Room facilities)

Example:

<hotelDetailsRS
...
 <facilities>
   ...
      <facility facilityCode="10" facilityGroupCode="60" order="1" indLogic="true" voucher="false">
        <description>Bathroom</description>
      </facility>
      <facility facilityCode="260" facilityGroupCode="60" order="1" indLogic="false" voucher="false">
        <description>Disability-friendly bathroom</description>
      </facility>
      <facility facilityCode="20" facilityGroupCode="60" order="1" indLogic="true" indFee="false"
        voucher="false">
        <description>Shower</description>
      </facility>
      <facility facilityCode="40" facilityGroupCode="60" order="1" indLogic="true" indFee="false"
       voucher="false">
        <description>Hairdryer</description>
      </facility>
      <facility facilityCode="276" facilityGroupCode="60" order="1" indLogic="true" indFee="false"
       voucher="false">
        <description>Toiletries</description>
      </facility>
      <facility facilityCode="261" facilityGroupCode="60" order="1" indFee="false" indYesOrNo="true"
       voucher="false">
        <description>Wi-fi</description>
      </facility>
...
   </facilities>

An example:

Following the examples above, all rooms for that specific hotel will have:

Under facilities / facilitygroupcode = 60:

  • Bathroom
  • Disability-friendly bathroom
  • Shower
  • Hairdryer
  • Toiletries
  • Wi-fi

But the room with Roomcode: FAM.EJ will have the next facilities:

Under roomfacilities:

  • Bathrobes
  • Living Room

Under facilities / facilitygroupcode = 60:

  • Bathroom
  • Disability-friendly bathroom
  • Shower
  • Hairdryer
  • Toiletries
  • Wi-fi