RoomTypes Samples

RoomType by Hotel

Method: GET Path: /publisher​s/{publisherCode}​/hotel​s/{hotelCode}​/roomTypes Description: Lists all the room types for a specific publisher and hotel. Sample Response

[
  {
    "code": "EKC",
    "names": [
      {
        "lang": "EN",
        "name": "Executive King Suite City View"
      }
    ],
    "descriptions": [
      {
        "lang": "EN",
        "description": "Executive King Suite City View"
      }
    ]
  },
  {
    "code": "ETC",
    "names": [
      {
        "lang": "EN",
        "name": "Executive Twin Suite City View"
      }
    ],
    "descriptions": [
      {
        "lang": "EN",
        "description": "Executive Twin Suite City View"
      }
    ]
  },
  {
    "code": "JKC",
    "names": [
      {
        "lang": "EN",
        "name": "Junior King Suite City View"
      }
    ],
    "descriptions": [
      {
        "lang": "EN",
        "description": "Junior King Suite City View"
      }
    ]
  },
  {
    "code": "JKW",
    "names": [
      {
        "lang": "EN",
        "name": "Junior King Suite Water View"
      }
    ],
    "descriptions": [
      {
        "lang": "EN",
        "description": "Junior King Suite Water View"
      }
    ]
  },
  {
    "code": "PRES",
    "names": [
      {
        "lang": "EN",
        "name": "Presidential Suite"
      }
    ],
    "descriptions": [
      {
        "lang": "EN",
        "description": "Presidential Suite"
      }
    ]
  },
  {
    "code": "SKC",
    "names": [
      {
        "lang": "EN",
        "name": "Superior King Room City View"
      }
    ],
    "descriptions": [
      {
        "lang": "EN",
        "description": "Superior King Room City View"
      }
    ]
  },
  {
    "code": "SKW",
    "names": [
      {
        "lang": "EN",
        "name": "Superior King Room Water View"
      }
    ],
    "descriptions": [
      {
        "lang": "EN",
        "description": "Superior King Room Water View"
      }
    ]
  }
]

RoomType by Room Type Code

Method: GET Path: ​/publisher​s/{publisherCode}​/hotel​s/{hotelCode}​/roomTypes​/{roomTypeCode} Description: Get a specific room type for a specific publisher and hotel. Sample Response

{
  "code": "EKC",
  "names": [
    {
      "lang": "EN",
      "name": "Executive King Suite City View"
    }
  ],
  "descriptions": [
    {
      "lang": "EN",
      "description": "Executive King Suite City View"
    }
  ]
}

Last updated