Query Multiple Meeting Rooms
Query the basic information of meeting rooms in bulk.
Request URL
GET {base_url}/services/openapi/v1.0/room/room_list?{query parameters}
Request parameters
Query parameters
Parameter | Required | Type | Description |
---|---|---|---|
pageSize | No | Integer | Define how many records per page. |
pageNo | No | Integer | Define which page is displayed. |
buildingName | No | String | The name of the building where the meeting room is located. |
floorName | No | String | The name of the floor where the meeting room is located. |
roomIds | No | Array <Long> | The IDs of meeting rooms. Note: Use a
comma to separate multiple IDs. For example,
1001,1002 . |
type | No | String | Meeting room type. Valid value:
Note: Use a comma to separate multiple
meeting room types. For example,
common,special . |
Response parameters
Parameter | Type | Description |
---|---|---|
data | Object <Details> | The detailed information. |
status | String | The result of the request.
|
requestId | String | The ID of the request, which can be used to quickly locate the request. |
- Details
-
Parameter Type Description pageSize Integer How many records are displayed per page. pageNo Integer Which page is displayed. total Long The total number of records. list Array <Room_Info> The information list of the queried meeting rooms.
Example
Request example
Query multiple meeting rooms:
- Query meeting rooms that are located in the second floor in building "Yeastar".
- Display 3 records per page.
- Display Page 1.
GET /services/openapi/v1.0/room/room_list?buildingName=Yeastar&floorName=2F&pageSize=3&pageNo=1 HTTP/1.1
Host: workplace.yeastar.com
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJncmFudF90eXBlIjoiY2xpZW50X2NyZWRlbnRpYWxzIiwic2NvcGUiOlsiL29wZW5hcGkvIl0sImVudGVycHJpc2VfaWQiOjEwMDQzMywicmVnaW9uIjoiR0wiLCJhdXRob3JpdGllcyI6WyJST0xFX0NMSUVOVCJdLCJqdGkiOiIxMjZmM2ZkNC1jMGUxLTQ2ODYtYTM1Zi04N2FjZmZlYWY0N2IiLCJjbGllbnRfaWQiOiI3OTU2OGFhMC0wYjBkLTQyZjYtOGRiNC03OWExNmQ3MzQ3MmEiLCJ0cyI6MTY4OTY3MDI3OCwiZXhwX2luIjo4NjQwMH0.NDcE7HX3B0oP0AKsAVzGCeWEjJTNBE1oLoXBV7iCe2M
Response example
HTTP/1.1 200 OK{
{
"data": {
"pageSize": 3,
"pageNo": 1,
"total": 3,
"list": [
{
"roomId": 3113,
"name": "Meeting Room 9",
"buildingName": "Yeastar",
"buildingId": 29,
"floorName": "2F",
"type": "approval",
"bookingMemberIds": [
3084,
466
],
"bookingGroupIds": [],
"approvalmemberIds": [
3084
],
"approvalGroupIds": [],
"remark": "Request-only Meeting Room",
"restrictInWorkingHours": true,
"minDuration": 30,
"maxDuration": 300,
"bookingWindow": 365,
"repeatBooking": true,
"checkInRequired": true,
"checkInWindow": 15,
"checkInPermission": "ONLY_ORGANIZER",
"checkInCount": true,
"notcheckInAutoRelease": true,
"checkInTimeout": 15,
"endPermission": "ONLY_ORGANIZER",
"displayBooking": false,
"unoccupiedAutoRelease": true,
"unoccupiedDuration": 15,
"lightOnCheckedIn": true,
"lightOffEnded": true,
"lightOnOffWork": true,
"accessControl": true
},
{
"roomId": 2812,
"name": "Meeting Room 8",
"buildingName": "Yeastar",
"buildingId": 29,
"floorName": "2F",
"floorId": 32,
"capacity": 8,
"facility": [
{
"facilityId": 145,
"facilityName": "Laptop Converter"
},
{
"facilityId": 143,
"facilityName": "Whiteboard"
}
],
"type": "common",
"bookingMemberIds": [
3084,
466
],
"bookingGroupIds": [
1000202,
1000203
],
"remark": "Regular meeting room",
"restrictInWorkingHours": true,
"minDuration": 30,
"maxDuration": 180,
"bookingWindow": 365,
"repeatBooking": true,
"checkInRequired": true,
"checkInWindow": 5,
"checkInPermission": "ONLY_ORGANIZER",
"checkInCount": true,
"notcheckInAutoRelease": true,
"checkInTimeout": 10,
"endPermission": "ANY_PARTICIPANTS",
"deviceNames": "visitor-screen 302",
"displayBooking": true,
"unoccupiedAutoRelease": true,
"unoccupiedDuration": 15,
"lightOnCheckedIn": false,
"lightOffEnded": false,
"lightOnOffWork": false,
"accessControl": false
},
{
"roomId": 2811,
"name": "Meeting Room 7",
"buildingName": "Yeastar",
"buildingId": 29,
"floorName": "2F",
"floorId": 32,
"type": "common",
"bookingGroupIds": [
1000127
],
"restrictInWorkingHours": true,
"minDuration": 30,
"maxDuration": 180,
"bookingWindow": 365,
"repeatBooking": true,
"checkInRequired": true,
"checkInWindow": 5,
"checkInPermission": "ONLY_ORGANIZER",
"checkInCount": false,
"notcheckInAutoRelease": true,
"checkInTimeout": 10,
"endPermission": "ONLY_ORGANIZER",
"displayBooking": true,
"unoccupiedAutoRelease": true,
"unoccupiedDuration": 15,
"lightOnCheckedIn": false,
"lightOffEnded": false,
"lightOnOffWork": false,
"accessControl": false
}
]
},
"status": "Success",
"requestId": "2a2c38aed19917f2d0ef88f152aa7e92"
}