会议室忙闲查询
Reference
- 参考接口 会议室忙闲查询
Success Response Sample
{
"code": 0,
"msg": "success",
"data": {
"error_room_ids": [],
"free_busy": {
"omm_feaf14d1b7bf379bebb496213e809928": [
{
"end_time": "2021-04-27T23:59:59+08:00",
"organizer_info": {
"name": "吕晓煜",
"open_id": "ou_e84ecf7111892eb7e240925e3845e967"
},
"original_time": 0,
"start_time": "2021-04-27T00:00:00+08:00",
"uid": "b9b19453-0e60-411b-a65f-e5d3b7aa1d0e"
}
]
},
"time_max": "2021-05-01T00:00:00Z",
"time_min": "2021-04-24T00:00:00Z"
}
}
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
room_ids | string | 用于查询指定会议室的 ID | |
time_min | string | 查询会议室忙闲的起始时间,需要遵循格式 RFC3339,需要进行URL Encode | |
time_max | string | 查询会议室忙闲的结束时间,需要遵循格式 RFC3339,需要进行URL Encode |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | tenant_access_token | |
值格式:"Bearer access_token" |
示例值:"Bearer t-7f1bcd13fc57d46bac21793a18e560" |
| Content-Type
| string | | 固定值:"application/json; charset=utf-8" |
RESPONSES
status: OK
{"code":0,"msg":"success","data":{"error_room_ids":[],"free_busy":{},"time_max":"2021-08-24T00:00:00Z","time_min":"2021-07-24T00:00:00Z"}}