v1

latestOpenAPI 3.0.02026-07-26866217.8 KB
Room Type

Query RoomTypes

You can query room types by making a request to this endpoint.

get/room_types

Query parameters

offsetinteger

The starting point from which to begin returning results.

limitinteger

The maximum number of results to return. The maximum value is 100.

idinteger

The id of the room type.

tag_idinteger

Filter room types by the tag id. Only room types tagged with this tag are returned.

Response

A list of room types with their details

request_idstring required

Unique identifier for the request.

error_codeinteger required

Numeric error code representing the status of the response. A value of 200 indicates success. <br> See the Error Codes section for more information.

error_msgstring required

Message detailing the status of the response.

Example response

{
  "error_msg": "Done."
}