Rooms Query returns a simple rooms map that can include translations to other languages. You can search by room codes, if you don’t introduce any room codes, you will receive all of them. The full response is split into pages. By default, the number of rooms in each page is 1000, however, you can choose the size with a value between 100 and 10000.
- access-> It represents the access for which you want to receive the room description.
- roomCodes-> it allows to filter by room codes
- maxSize-> it allows to specify the number of elements per page
The token allows to request the next page of rooms. The correct way of obtaining multiple pages of rooms is mantaining this field empty for the first execution and request the token field in the response graph. Then, subsequent queries filling in the token field with the value returned in the previous response.
Category static data returns a simple categories map that can include translations to other languages.