Skip to end of banner
Go to start of banner

RoomTypes Samples

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

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"
    }
  ]
}
  • No labels