get https://api.zenoti.com/v1/centers//rooms/
This API helps you to retrieve the details of a specific room at the required center.
You must specify in the API request the unique identifier of the location (center) as center_id and the unique identifier of the room as room_id. The API then retrieves the details of the room.
Response Details
| Name | Type | Description |
|---|---|---|
| id | guid | Unique 32-character identifier of the room. |
| code | string | Code to identify the room. |
| name | string | Name of the room. |
| room_category_id | string | Unique identifier of the room category. |
| description | string | Describes the category of the room. |
| capacity | int | Capacity of the room. |
| can_exceed_capacity | boolean | Indicates whether the room allows to book more than its default capacity. |
| only_one_appointment | boolean | Indicates whether the room allows only one appointment at a time in this room. |
| error | object | Object that contains error message and error code details. For more information, refer to the error Object table. |
error Object
| code | message |
|---|---|
| 401 | Authorization has been denied for this request. |
| 502 | invalid center_id. |
| 502 | room with not found. |
