v1
latestOpenAPI 3.1.02026-07-2422707.0 MBList all rooms of a center
This API helps you to retrieve all the rooms that are active in the center.
You must specify the unique identifier of the center as center_id in the API request. You can also leverage the pagination feature by passing page and size query parameters if you have a large number of records to be displayed. By default, page is set as 1 and size is set as 10. size cannot be more than 100: which means that the maximum records per page cannot be more than 100.
get/v1/centers/{center_id}/rooms
Path parameters
center_idstring required
Mandatory Unique 32-character identifier of the center.
Query parameters
pageinteger
Optional Number of the display page. Default value is 1.
sizeinteger
Optional Number of records per page. Default value is 10.
Response
200
Example response
{
"rooms": [
{
"id": "699ec863-c155-4c4b-bf58-5310a7d1df1c",
"name": "15% Premium Room",
"capacity": 2
}
]
}