创建建筑物
POST https://open.feishu.cn/open-apis/meeting_room/building/create
Reference
- 参考接口 创建建筑物
Success Response Sample
{
"code": 0,
"msg": "success",
"data": {
"building_id": "omb_ba9da79110bf66329bd14ed1ca1e5c72"
}
}
Request Body
{"name"=>"hwl新测试建筑", "floors"=>["F1", "F2", "F3", "F4"], "country_id"=>"1814991", "district_id"=>"1790645", "custom_building_id"=>"hwl_test_building_001"}
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":{"building_id":"omb_e0ab4c89f8d2903816abb5bc3986303b"}}