HTTP状态码 | 错误码 | 描述 | 排查建议 |
---|---|---|---|
500 | 121001 | internal error | 服务器内部错误,如果重试无效可联系管理员 |
400 | 121002 | not support | 暂不支持该功能 |
400 | 121003 | param error | 参数错误,检查参数的取值范围(请按照上面字段说明自查) |
404 | 121004 | data not exist | 请求的数据不存在 |
404 | 121005 | no permission | 无权限进行该操作,建议检查token类型、操作者身份以及资源的归属(可能使用了会议室id却将scope_type填写成了1) |
404 | 121006 | data conflict | 通常由于CAS机制导致,可在更新数据后重试 |
curl --location --request POST 'https://open.feishu.cn/open-apis/vc/v1/rooms/search' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"custom_room_ids": [
"10001"
],
"keyword": "测试会议室",
"room_level_id": "omb_4ad1a2c7a2fbc5fc9570f38456931293",
"search_level_name": true,
"page_size": 10,
"page_token": "0"
}'
{
"code": 0,
"msg": "success",
"data": {
"rooms": [
{
"room_id": "omm_4de32cf10a4358788ff4e09e37ebbf9b",
"name": "测试会议室",
"capacity": 10,
"description": "测试会议室描述",
"display_id": "LM134742334",
"custom_room_id": "1234",
"room_level_id": "omb_4ad1a2c7a2fbc5fc9570f38456931293",
"path": [
"omb_4ad1a2c7a2fbc5fc9570f38456931293"
],
"room_status": {
"status": true,
"schedule_status": true,
"disable_start_time": "1652356050",
"disable_end_time": "1652442450",
"disable_reason": "测试占用",
"contact_ids": [
"ou_3ec3f6a28a0d08c45d895276e8e5e19b"
],
"disable_notice": true,
"resume_notice": true
}
}
],
"page_token": "50",
"has_more": true
}
}