Accommodation Types API

Returns the list of available accommodation types.

API details

GET /api/v1/hotel/content-api/types/accommodations

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <Access token>

Accept-Encoding

gzip

Query Params

Name
Type
Description

SyncId

string

SyncId

Response

{
    "success": true,
    "data": {
        "syncId": "d65e74aecce5a37b58fcd9fc97f1e199",
        "total": 24,
        "from": 1,
        "to": 24,
        "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