TABLE OF CONTENTS

Purpose

Retrieve room-type content for a single hotel using the BTS-defined schema.


This endpoint returns all room definitions associated with the specified hotel, structured in a clear and consistent format. It is intended to help distributors build and maintain accurate room content by consuming normalized, hotel-sourced room information that is aligned with business travel requirements.


Endpoint

GET {endpoint}/rooms/{supplierId}/{hotelId}?distributorId={distributorId}&languageCode={languageCode}/hotel/{supplierId}/{hotelId}?distributorId={distributorId} ten HTTP/1.1 
URL: 
Authorization: 53ac07777cdffac2d53000002d698728ce964432d7167596bc005c5fc
Accept-Encoding: gzip
Content-Encoding: gzip
Content-Type: application/json;charset=utf-8

Room Content Request Schema

Request(METHOD: GET)
Request PartField NameRequiredData typeDescriptionExample
PathsupplierIdYstringSupplier ID in DerbySoft's systemMarriott
PathhotelIdYstringHotel Supplier's Hotel IDGATHI
QuerydistributorIdYstringThe ID of distributor in DerbySoft's systemEngine
QuerylanguageCodeNenumLanguage for the requested hotel descriptive information, following the "ISO 639 "  2-letter language code that conforms to ISO 639, followed by a hyphen and a two-letter country code that conforms to ISO 3166EN-US



Room Content Request Example

https:// {enpoinrt}  /contentv4/rooms/GOHOTEL/MARRIOTT-H02?distributorId=TEST01BPULL

Room Content Response Schema

Level
Field Name
Required
Data Type
Description
Example
1HotelIdYstringReference to the hotel associated with this room type.HTL123456
1RoomsYarray
2RoomIdYstringUnique room type code within the hotel.DLX_KING
2RoomNameYstringRoom type name.Deluxe, 1 King
2RoomDescriptionNstringText description of the room.Deluxe, 1 King, Bathrooms: 1.5, Mini fridge, 72sqm/775sqft, Living/sitting area, Separate living room, Wireless internet, complimentary, Wired internet, complimentary, Coffee/tea maker, 37in/94cm LCD TV
2NonSmokingNbooleanIndicates if the room is non-smoking.true
2OccupancyNobject

Occupancy information for the room type.

3MaxOccupancyNintegerMaximum total occupancy allowed.3
3MaxAdultNintegerMaximum number of adults allowed.2
3MaxChildNintegerMaximum number of children allowed.1
2TypeRoomsNarray
Room configuration, including bed setup.
3CategoryNenumGuest room category base on OTA_CodeType "SEG"1
3SizeNdecimalNumber of square units that defines the size of a room type60
3unitOfMeasureNenumUnit of measure base on OTA_CodeType "UOM"14
3viewNenumRoom view base on OTA_CodeType "RVT"3
3BedsNarray
List of bed configurations.
4BedTypeCenumBed type code under OTA_CodeType "BED"2
4CountCintegerNumber of beds of this type.1
3AmenitiesNarray
Room-level amenities.
4AmenityCodeCstringRoom amenity code.69
4AmenityDescriptionCstringDescription of the amenity.Free Wi-Fi
3accessibleFeaturesNarray
4codeCenumGuest room accessibility feature code using OTA_CodeType "PHY"1
4codeDetailNstringFurther detail about the feature Americans with Disabilities Act (ADA) compliance
3securityFeaturesNarray
4codeCenumGuest room accessibility feature code using OTA_CodeType "PHY"19
4codeDetailNstringFurther detail about the feature 
Emergency lighting



Room Content Response Examples

Success Response (HTTP Status 200)

{
    "hotelId": "BTS-Test",
    "rooms": [
        {
            "roomId": "CLEX",
            "roomName": "Executive Suite King Bed, Club lounge access, 1 Bedroom Executive Suite, 1 King, Bathrooms: 1.5",
            "roomDescription": "Executive Suite, 1 King, Bathrooms: 1.5, Mini fridge, 72sqm/775sqft, Living/sitting area, Separate living room, Wireless internet, complimentary, Wired internet, complimentary, Coffee/tea maker, 37in/94cm LCD TV",
            "nonSmoking": true,
            "occupancy": {
                "maxOccupancy": 3,
                "maxAdult": 3,
                "maxChild": 2
            },
            "typeRooms": [
                {
                    "category": "1",
                    "size": "60.00",
                    "unitOfMeasure": "14",
                    "view": "3",
                    "beds": [
                        {
                            "bedType": "2",
                            "count": 1
                        },
                        {
                            "bedType": "3",
                            "count": 1
                        }
                    ],
                    "amenities": [
                        {
                            "amenityCode": "69",
                            "amenityDescription": "All Rooms/Suites"
                        },
                        {
                            "amenityCode": "25",
                            "amenityDescription": "All Rooms/Suites"
                        },
                        {
                            "amenityCode": "26",
                            "amenityDescription": "All Rooms/Suites"
                        },
                        {
                            "amenityCode": "18",
                            "amenityDescription": "All Rooms/Suites"
                        },
                        {
                            "amenityCode": "19",
                            "amenityDescription": "All Rooms/Suites"
                        },
                        {
                            "amenityCode": "150",
                            "amenityDescription": "All Rooms/Suites"
                        },
                        {
                            "amenityCode": "132",
                            "amenityDescription": "All Rooms/Suites"
                        },
                        {
                            "amenityCode": "242"
                        },
                        {
                            "amenityCode": "155"
                        },
                        {
                            "amenityCode": "2"
                        },
                        {
                            "amenityCode": "233"
                        },
                        {
                            "amenityCode": "3"
                        },
                        {
                            "amenityCode": "147"
                        },
                        {
                            "amenityCode": "103"
                        },
                        {
                            "amenityCode": "5"
                        },
                        {
                            "amenityCode": "138"
                        },
                        {
                            "amenityCode": "216"
                        },
                        {
                            "amenityCode": "80"
                        },
                        {
                            "amenityCode": "228"
                        },
                        {
                            "amenityCode": "92"
                        },
                        {
                            "amenityCode": "50"
                        },
                        {
                            "amenityCode": "94"
                        },
                        {
                            "amenityCode": "85"
                        },
                        {
                            "amenityCode": "10"
                        }
                    ],
                    "accessibleFeatures": [
                        {
                            "code": "1",
                            "codeDetail": "Americans with Disabilities Act (ADA) compliance"
                        },
                        {
                            "code": "2",
                            "codeDetail": "Audible emergency alarm for sight impaired guest"
                        }
                    ],
                    "securityFeatures": [
                        {
                            "code": "2",
                            "codeDetail": "Address of nearest police station"
                        },
                        {
                            "code": "19",
                            "codeDetail": "Emergency lighting"
                        }
                    ]
                }
            ]
        },
        {
            "roomId": "DKNG",
            "roomName": "Crown Deluxe King Bed, Guest room, 1 King, City view, Crown Tower",
            "roomDescription": "Crown Deluxe King, 1 King, Mini fridge, 32sqm/344sqft-37sqm/398sqft, Wireless internet, complimentary, Wired internet, complimentary, Coffee/tea maker, 37in/94cm LCD TV",
            "nonSmoking": true,
            "occupancy": {
                "maxOccupancy": 2
            },
            "typeRooms": [
                {
                    "beds": [
                        {
                            "count": 1
                        }
                    ],
                    "amenities": [
                        {
                            "amenityCode": "69",
                            "amenityDescription": "All Rooms/Suites"
                        },
                        {
                            "amenityCode": "25"
                        },
                        {
                            "amenityCode": "26"
                        },
                        {
                            "amenityCode": "18"
                        },
                        {
                            "amenityCode": "19"
                        },
                        {
                            "amenityCode": "150"
                        },
                        {
                            "amenityCode": "132"
                        },
                        {
                            "amenityCode": "242"
                        },
                        {
                            "amenityCode": "155"
                        },
                        {
                            "amenityCode": "2"
                        },
                        {
                            "amenityCode": "233"
                        },
                        {
                            "amenityCode": "3"
                        },
                        {
                            "amenityCode": "147"
                        },
                        {
                            "amenityCode": "103"
                        },
                        {
                            "amenityCode": "5"
                        },
                        {
                            "amenityCode": "138"
                        },
                        {
                            "amenityCode": "216"
                        },
                        {
                            "amenityCode": "80"
                        },
                        {
                            "amenityCode": "228"
                        },
                        {
                            "amenityCode": "92"
                        },
                        {
                            "amenityCode": "50"
                        },
                        {
                            "amenityCode": "94"
                        },
                        {
                            "amenityCode": "85"
                        },
                        {
                            "amenityCode": "10"
                        }
                    ]
                }
            ]
        },
        {
            "roomId": "DLAN",
            "roomName": "Crown Deluxe Twin Bed, Guest room, 2 Twin/Single Bed(s), City view, Crown Tower",
            "roomDescription": "Crown Deluxe Twin, 2 Twin/Single Bed(s), Mini fridge, 32sqm/344sqft-37sqm/398sqft, Wireless internet, complimentary, Wired internet, complimentary, Coffee/tea maker, 37in/94cm LCD TV",
            "nonSmoking": true,
            "occupancy": {
                "maxOccupancy": 2
            },
            "typeRooms": [
                {
                    "beds": [
                        {
                            "count": 2
                        }
                    ],
                    "amenities": [
                        {
                            "amenityCode": "69",
                            "amenityDescription": "All Rooms/Suites"
                        },
                        {
                            "amenityCode": "25"
                        },
                        {
                            "amenityCode": "26"
                        },
                        {
                            "amenityCode": "18"
                        },
                        {
                            "amenityCode": "19"
                        },
                        {
                            "amenityCode": "150"
                        },
                        {
                            "amenityCode": "132"
                        },
                        {
                            "amenityCode": "242"
                        },
                        {
                            "amenityCode": "155"
                        },
                        {
                            "amenityCode": "2"
                        },
                        {
                            "amenityCode": "233"
                        },
                        {
                            "amenityCode": "3"
                        },
                        {
                            "amenityCode": "147"
                        },
                        {
                            "amenityCode": "103"
                        },
                        {
                            "amenityCode": "5"
                        },
                        {
                            "amenityCode": "138"
                        },
                        {
                            "amenityCode": "216"
                        },
                        {
                            "amenityCode": "80"
                        },
                        {
                            "amenityCode": "228"
                        },
                        {
                            "amenityCode": "92"
                        },
                        {
                            "amenityCode": "50"
                        },
                        {
                            "amenityCode": "94"
                        },
                        {
                            "amenityCode": "85"
                        },
                        {
                            "amenityCode": "10"
                        }
                    ]
                }
            ]
        },
        {
            "roomId": "EKNG",
            "roomName": "Grand Deluxe King Bed, Guest room, 1 King, City view, Grand Tower",
            "roomDescription": "Grand Deluxe King, 1 King, Mini fridge, 38sqm/409sqft-43sqm/463sqft, Wireless internet, complimentary, Wired internet, complimentary, Coffee/tea maker, 37in/94cm LCD TV",
            "nonSmoking": true,
            "occupancy": {
                "maxOccupancy": 2
            },
            "typeRooms": [
                {
                    "beds": [
                        {
                            "count": 1
                        }
                    ],
                    "amenities": [
                        {
                            "amenityCode": "69",
                            "amenityDescription": "All Rooms/Suites"
                        },
                        {
                            "amenityCode": "25"
                        },
                        {
                            "amenityCode": "26"
                        },
                        {
                            "amenityCode": "18"
                        },
                        {
                            "amenityCode": "19"
                        },
                        {
                            "amenityCode": "150"
                        },
                        {
                            "amenityCode": "132"
                        },
                        {
                            "amenityCode": "242"
                        },
                        {
                            "amenityCode": "155"
                        },
                        {
                            "amenityCode": "2"
                        },
                        {
                            "amenityCode": "233"
                        },
                        {
                            "amenityCode": "3"
                        },
                        {
                            "amenityCode": "147"
                        },
                        {
                            "amenityCode": "103"
                        },
                        {
                            "amenityCode": "5"
                        },
                        {
                            "amenityCode": "138"
                        },
                        {
                            "amenityCode": "216"
                        },
                        {
                            "amenityCode": "80"
                        },
                        {
                            "amenityCode": "228"
                        },
                        {
                            "amenityCode": "92"
                        },
                        {
                            "amenityCode": "50"
                        },
                        {
                            "amenityCode": "94"
                        },
                        {
                            "amenityCode": "85"
                        },
                        {
                            "amenityCode": "10"
                        }
                    ]
                }
            ]
        },
        {
            "roomId": "EXDX",
            "roomName": "Grand Deluxe Twin Bed, Guest room, 2 Twin/Single Bed(s), City view, Grand Tower",
            "roomDescription": "Grand Deluxe Twin, 2 Twin/Single Bed(s), Mini fridge, 38sqm/409sqft-43sqm/463sqft, Wireless internet, complimentary, Wired internet, complimentary, Coffee/tea maker, 37in/94cm LCD TV",
            "nonSmoking": true,
            "occupancy": {
                "maxOccupancy": 2
            },
            "typeRooms": [
                {
                    "beds": [
                        {
                            "count": 2
                        }
                    ],
                    "amenities": [
                        {
                            "amenityCode": "69",
                            "amenityDescription": "All Rooms/Suites"
                        },
                        {
                            "amenityCode": "25"
                        },
                        {
                            "amenityCode": "26"
                        },
                        {
                            "amenityCode": "18"
                        },
                        {
                            "amenityCode": "19"
                        },
                        {
                            "amenityCode": "150"
                        },
                        {
                            "amenityCode": "132"
                        },
                        {
                            "amenityCode": "242"
                        },
                        {
                            "amenityCode": "155"
                        },
                        {
                            "amenityCode": "2"
                        },
                        {
                            "amenityCode": "233"
                        },
                        {
                            "amenityCode": "3"
                        },
                        {
                            "amenityCode": "147"
                        },
                        {
                            "amenityCode": "103"
                        },
                        {
                            "amenityCode": "5"
                        },
                        {
                            "amenityCode": "138"
                        },
                        {
                            "amenityCode": "216"
                        },
                        {
                            "amenityCode": "80"
                        },
                        {
                            "amenityCode": "228"
                        },
                        {
                            "amenityCode": "92"
                        },
                        {
                            "amenityCode": "50"
                        },
                        {
                            "amenityCode": "94"
                        },
                        {
                            "amenityCode": "85"
                        },
                        {
                            "amenityCode": "10"
                        }
                    ]
                }
            ]
        },
        {
            "roomId": "LUXR",
            "roomName": "Grand Studio King Bed, 1 Bedroom Junior Suite, 1 King, City view, Grand Tower",
            "roomDescription": "Grand Studio, 1 King, Mini fridge, 44sqm/473sqft-54sqm/581sqft, Wireless internet, complimentary, Wired internet, complimentary, Coffee/tea maker, 37in/94cm LCD TV",
            "nonSmoking": true,
            "occupancy": {
                "maxOccupancy": 3
            },
            "typeRooms": [
                {
                    "beds": [
                        {
                            "count": 1
                        }
                    ],
                    "amenities": [
                        {
                            "amenityCode": "69",
                            "amenityDescription": "All Rooms/Suites"
                        },
                        {
                            "amenityCode": "25"
                        },
                        {
                            "amenityCode": "26"
                        },
                        {
                            "amenityCode": "18"
                        },
                        {
                            "amenityCode": "19"
                        },
                        {
                            "amenityCode": "150"
                        },
                        {
                            "amenityCode": "132"
                        },
                        {
                            "amenityCode": "242"
                        },
                        {
                            "amenityCode": "155"
                        },
                        {
                            "amenityCode": "2"
                        },
                        {
                            "amenityCode": "233"
                        },
                        {
                            "amenityCode": "3"
                        },
                        {
                            "amenityCode": "147"
                        },
                        {
                            "amenityCode": "103"
                        },
                        {
                            "amenityCode": "5"
                        },
                        {
                            "amenityCode": "138"
                        },
                        {
                            "amenityCode": "216"
                        },
                        {
                            "amenityCode": "80"
                        },
                        {
                            "amenityCode": "228"
                        },
                        {
                            "amenityCode": "92"
                        },
                        {
                            "amenityCode": "50"
                        },
                        {
                            "amenityCode": "94"
                        },
                        {
                            "amenityCode": "85"
                        },
                        {
                            "amenityCode": "10"
                        }
                    ]
                }
            ]
        },
        {
            "roomId": "OBRS",
            "roomName": "Crown Studio Twin Bed, Larger Studio, 2 Twin/Single Bed(s), City view, Crown Tower",
            "roomDescription": "Crown Studio Twin, 2 Twin/Single Bed(s), Mini fridge, 42sqm/452sqft-49sqm/527sqft, Wireless internet, complimentary, Wired internet, complimentary, Coffee/tea maker, 37in/94cm LCD TV",
            "nonSmoking": true,
            "occupancy": {
                "maxOccupancy": 3
            },
            "typeRooms": [
                {
                    "beds": [
                        {
                            "count": 2
                        }
                    ],
                    "amenities": [
                        {
                            "amenityCode": "69",
                            "amenityDescription": "All Rooms/Suites"
                        },
                        {
                            "amenityCode": "25"
                        },
                        {
                            "amenityCode": "26"
                        },
                        {
                            "amenityCode": "18"
                        },
                        {
                            "amenityCode": "19"
                        },
                        {
                            "amenityCode": "150"
                        },
                        {
                            "amenityCode": "132"
                        },
                        {
                            "amenityCode": "242"
                        },
                        {
                            "amenityCode": "155"
                        },
                        {
                            "amenityCode": "2"
                        },
                        {
                            "amenityCode": "233"
                        },
                        {
                            "amenityCode": "3"
                        },
                        {
                            "amenityCode": "147"
                        },
                        {
                            "amenityCode": "103"
                        },
                        {
                            "amenityCode": "5"
                        },
                        {
                            "amenityCode": "138"
                        },
                        {
                            "amenityCode": "216"
                        },
                        {
                            "amenityCode": "80"
                        },
                        {
                            "amenityCode": "228"
                        },
                        {
                            "amenityCode": "92"
                        },
                        {
                            "amenityCode": "50"
                        },
                        {
                            "amenityCode": "94"
                        },
                        {
                            "amenityCode": "85"
                        },
                        {
                            "amenityCode": "10"
                        }
                    ]
                }
            ]
        },
        {
            "roomId": "OBST",
            "roomName": "Westin Workout King Bed, Larger Studio, 1 King, City view, Crown Tower",
            "roomDescription": "Westin Workout room, 1 King, Mini fridge, 49sqm/527sqft, Wireless internet, complimentary, Wired internet, complimentary, Coffee/tea maker, 37in/94cm LCD TV",
            "nonSmoking": true,
            "occupancy": {
                "maxOccupancy": 3
            },
            "typeRooms": [
                {
                    "beds": [
                        {
                            "count": 1
                        }
                    ],
                    "amenities": [
                        {
                            "amenityCode": "69",
                            "amenityDescription": "All Rooms/Suites"
                        },
                        {
                            "amenityCode": "25"
                        },
                        {
                            "amenityCode": "26"
                        },
                        {
                            "amenityCode": "18"
                        },
                        {
                            "amenityCode": "19"
                        },
                        {
                            "amenityCode": "150"
                        },
                        {
                            "amenityCode": "132"
                        },
                        {
                            "amenityCode": "242"
                        },
                        {
                            "amenityCode": "155"
                        },
                        {
                            "amenityCode": "2"
                        },
                        {
                            "amenityCode": "233"
                        },
                        {
                            "amenityCode": "3"
                        },
                        {
                            "amenityCode": "147"
                        },
                        {
                            "amenityCode": "103"
                        },
                        {
                            "amenityCode": "5"
                        },
                        {
                            "amenityCode": "138"
                        },
                        {
                            "amenityCode": "216"
                        },
                        {
                            "amenityCode": "80"
                        },
                        {
                            "amenityCode": "228"
                        },
                        {
                            "amenityCode": "92"
                        },
                        {
                            "amenityCode": "50"
                        },
                        {
                            "amenityCode": "94"
                        },
                        {
                            "amenityCode": "85"
                        },
                        {
                            "amenityCode": "10"
                        }
                    ]
                }
            ]
        },
        {
            "roomId": "ONBE",
            "roomName": "Crown Studio King Bed, Larger Studio, 1 King, City view, Crown Tower",
            "roomDescription": "Crown Studio King, 1 King, Mini fridge, 42sqm/452sqft-49sqm/527sqft, Wireless internet, complimentary, Wired internet, complimentary, Coffee/tea maker, 37in/94cm LCD TV",
            "nonSmoking": true,
            "occupancy": {
                "maxOccupancy": 3
            },
            "typeRooms": [
                {
                    "beds": [
                        {
                            "count": 1
                        }
                    ],
                    "amenities": [
                        {
                            "amenityCode": "69",
                            "amenityDescription": "All Rooms/Suites"
                        },
                        {
                            "amenityCode": "25"
                        },
                        {
                            "amenityCode": "26"
                        },
                        {
                            "amenityCode": "18"
                        },
                        {
                            "amenityCode": "19"
                        },
                        {
                            "amenityCode": "150"
                        },
                        {
                            "amenityCode": "132"
                        },
                        {
                            "amenityCode": "242"
                        },
                        {
                            "amenityCode": "155"
                        },
                        {
                            "amenityCode": "2"
                        },
                        {
                            "amenityCode": "233"
                        },
                        {
                            "amenityCode": "3"
                        },
                        {
                            "amenityCode": "147"
                        },
                        {
                            "amenityCode": "103"
                        },
                        {
                            "amenityCode": "5"
                        },
                        {
                            "amenityCode": "138"
                        },
                        {
                            "amenityCode": "216"
                        },
                        {
                            "amenityCode": "80"
                        },
                        {
                            "amenityCode": "228"
                        },
                        {
                            "amenityCode": "92"
                        },
                        {
                            "amenityCode": "50"
                        },
                        {
                            "amenityCode": "94"
                        },
                        {
                            "amenityCode": "85"
                        },
                        {
                            "amenityCode": "10"
                        }
                    ]
                }
            ]
        },
        {
            "roomId": "ROYS",
            "roomName": "Crown/Bund/SHA/ChinaSuite, Club lounge access, 1 Bedroom Residential Suite, 1 King, City view",
            "roomDescription": "Signature Suite, 1 King, Mini fridge, 107sqm/1151sqft-157sqm/1689sqft, Living/sitting area, Dining area, Separate living room, Wireless internet, complimentary, Wired internet, complimentary, Coffee/tea maker, 37in/94cm LCD TV",
            "nonSmoking": true,
            "occupancy": {
                "maxOccupancy": 3
            },
            "typeRooms": [
                {
                    "beds": [
                        {
                            "count": 1
                        }
                    ],
                    "amenities": [
                        {
                            "amenityCode": "69",
                            "amenityDescription": "All Rooms/Suites"
                        },
                        {
                            "amenityCode": "25"
                        },
                        {
                            "amenityCode": "26"
                        },
                        {
                            "amenityCode": "18"
                        },
                        {
                            "amenityCode": "19"
                        },
                        {
                            "amenityCode": "150"
                        },
                        {
                            "amenityCode": "132"
                        },
                        {
                            "amenityCode": "242"
                        },
                        {
                            "amenityCode": "155"
                        },
                        {
                            "amenityCode": "2"
                        },
                        {
                            "amenityCode": "233"
                        },
                        {
                            "amenityCode": "3"
                        },
                        {
                            "amenityCode": "147"
                        },
                        {
                            "amenityCode": "103"
                        },
                        {
                            "amenityCode": "5"
                        },
                        {
                            "amenityCode": "138"
                        },
                        {
                            "amenityCode": "216"
                        },
                        {
                            "amenityCode": "80"
                        },
                        {
                            "amenityCode": "228"
                        },
                        {
                            "amenityCode": "92"
                        },
                        {
                            "amenityCode": "50"
                        },
                        {
                            "amenityCode": "94"
                        },
                        {
                            "amenityCode": "85"
                        },
                        {
                            "amenityCode": "10"
                        }
                    ]
                }
            ]
        }
    ]
}

Error Response (HTTP Status 401)

{"error":"Invalid API key in request"}

Error Response (HTTP Status 404) for unknown hotelCode (recommended)

{
    "errorCode": "HotelNotFound",
    "errorMessage": "Hotel[GOHOTEL:MARRIOTT-H02 has no access permission] not found."
}