查询建筑物ID

GET https://open.feishu.cn/open-apis/meeting_room/building/batch_get_id?custom_building_ids=ytsypt

Reference

  1. 参考接口 查询建筑物ID

Success Response Sample

{
    "code": 0,
    "msg": "success",
    "data": {
        "buildings": [
            {
                "building_id": "omb_ba9da79110bf66329bd14ed1ca1e5c72",
                "custom_building_id": "ytsypt"
            }
        ]
    }
}

Request Params

KeyDatatypeRequiredDescription
custom_building_idsstring用于查询指定建筑物的租户自定义建筑ID

HEADERS

KeyDatatypeRequiredDescription
Authorizationstringtenant_access_token
值格式:"Bearer access_token"

示例值:"Bearer t-7f1bcd13fc57d46bac21793a18e560" | | Content-Type | string | | 固定值:"application/json; charset=utf-8" |

RESPONSES

status: OK

{"code":0,"msg":"success","data":{"buildings":[{"building_id":"omb_e0ab4c89f8d2903816abb5bc3986303b","custom_building_id":"ytsypt"}]}}