查询会议室忙闲
GET
https://open.feishu.cn/open-apis/meeting_room/freebusy/batch_get
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://open.feishu.cn/open-apis/meeting_room/freebusy/batch_get' \
--header 'Authorization;'
响应示例响应示例
{
"code": 0,
"msg": "success",
"data": {
"time_max": "2019-09-04T09:45:00+08:00",
"time_min": "2019-09-04T08:45:00+08:00",
"free_busy": {
"omm_83d09ad4f6896e02029a6a075f71c9d1": [
{
"end_time": "2019-09-04T09:30:00+08:00",
"organizer_info": {
"name": "张三",
"open_id": "ou_09379914ab6dde664x9daf84d8b13842"
},
"start_time": "2019-09-04T09:00:00+08:00",
"original_time": 0,
"uid": "bff6b51f-b7c1-40c6-b8ef-aef966c9ffc7"
}
],
"omm_c7e9ef91ec9f3c007f1dfb2503918981": [
{
"end_time": "2020-01-14T19:00:00+08:00",
"organizer_info": {
"name": "xxx",
"open_id": "ou_09379914ab6dde66499daf94d8b13842"
},
"original_time": 1578997800,
"start_time": "2020-01-14T18:30:00+08:00",
"uid": "5632b176-4f0e-44eb-8331-c4b155ed270f"
}
]
}
}
}
请求参数
Query 参数
room_ids
string
可选
示例值:
omm_83d09ad4f6896e02029a6a075f71c9d1
time_min
string
可选
示例值:
2019-09-04T08:45:00+08:00
time_max
string
可选
示例值:
2019-09-04T09:45:00+08:00
Header 参数
Authorization
string
必需
默认值:
Bearer {{access_token}}
Content-Type
string
必需
默认值:
application/json; charset=utf-8
返回响应
修改于 2023-01-28 03:54:16