List 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.

Response Details

NameTypeDescription
roomsobjectObject that contains all the rooms-related elements.
errorobjectObject that contains error message and error code details. For more information, refer to the error Object table.

error Object

codemessage
401Authorization has been denied for this request.
502invalid center_id.
400The request is invalid.
Language
Authorization
Header
Click Try It! to start a request and see the response here!