Returns a list of room types.
RoomType by Hotel
Method: GET
Path: /publishers/{publisherCode}/hotels/{hotelCode}/roomTypes
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: /publishers/{publisherCode}/hotels/{hotelCode}/roomTypes/{roomTypeCode}
Sample Response:
{ "code": "EKC", "names": [ { "lang": "EN", "name": "Executive King Suite City View" } ], "descriptions": [ { "lang": "EN", "description": "Executive King Suite City View" } ] }