Skip to main content

Room Category

Room Category

Search for specific rooms associated with a room category in the availability results.

ParameterDescriptionType
roomCategoryCodeCode associated with a Room Category[String]
onlyCheckRequestedIf true, the system will only check for product availability based upon the requested parameters.Boolean

 

Sample Request - single room category

Include @content=full to return contentLists/RoomCategoryList and contentLists/RoomList.

/v1/api/hotel/availability?hotelId=13098&chainId=12723&adults=2&startDate=2020-12-17&endDate=2020-12-20&numRooms=1&primaryChannel=WEB&secondaryChannel=WEB&content=full&roomCategoryCode=RMCAT1

 

Sample Request - multiple room categories

/v1/api/hotel/availability?hotelId=13098&chainId=12723&adults=2&startDate=2020-12-17&endDate=2020-12-20&numRooms=1&primaryChannel=WEB&secondaryChannel=WEB&content=full&roomCategoryCode=RMCAT1,RMCAT2

 

Successful Response (partial)

A successful response will return products that include a Room code associated to the requested Room Category. The contentLists node will include information about the Room Category and associated Room Codes.

{
    "contentLists": {
        "RoomCategoryList": [
            {
                "Details": {
                    "Description": ""
                },
                "CategoryCode": "DLX",
                "Name": "Room Category Deluxe"
            }
        ],
        "RoomList": [
            {
                "Details": {...},
                "CategoryCode": "DLX",
                "Code": "LUXQ",
                "Name": "Deluxe Room Queen Beds"
            }
        ]
    },
    "productAvailability": {...}
}