Accommodation Type Detail API

Returns all the details associated with a single Accommodation or a group of Accommodation Types.

API deatils

GET /api/v1/hotel/content-api/types/boards/accommodationIds

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <Access token>

Accept-Encoding

gzip

Query Params

Name
Type
Description

accommodationIds

string

Array of accommodationIds

Response

{
    "success": true,
    "data": {
        "accommodations": [
            {
                "accommodationId": 100001,
                "accommodationTypeName": "Cruise",
                "accommodationTypeCode": "U"
            },
            {
                "accommodationId": 100002,
                "accommodationTypeName": "Camping",
                "accommodationTypeCode": "E"
            },
            {
                "accommodationId": 100003,
                "accommodationTypeName": "Motel",
                "accommodationTypeCode": "M"
            },
            {
                "accommodationId": 100004,
                "accommodationTypeName": "Rural hotel",
                "accommodationTypeCode": "Z"
            }
        ]
    }
}

Last updated