...
Method: GET
Path: /publishers/{publisherCode}/hotels/{hotelCode}/roomTypes
Description: Lists all the Room Types room types for a specific publisher and hotel and publisher.
Sample Response
Code Block | ||
---|---|---|
| ||
[ { "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" } ] } ] |
...
Method: GET
Path: /publishers/{publisherCode}/hotels/{hotelCode}/roomTypes/{roomTypeCode}
Description: Get a specific room type for a specific publisher and hotel and publisher.
Sample Response
Code Block | ||
---|---|---|
| ||
{ "code": "EKC", "names": [ { "lang": "EN", "name": "Executive King Suite City View" } ], "descriptions": [ { "lang": "EN", "description": "Executive King Suite City View" } ] } |
...