查询建筑详情
Reference
- 参考接口 查询建筑详情
Success Response Sample
{
    "code": 0,
    "msg": "success",
    "data": {
        "buildings": [
            {
                "building_id": "omb_ba9da79110bf66329bd14ed1ca1e5c72",
                "description": "",
                "floors": [
                    "F1",
                    "F2",
                    "F3",
                    "F4"
                ],
                "name": "新测试建筑"
            }
        ],
        "error_building_ids": []
    }
}
Request Params
| Key | Datatype | Required | Description | 
|---|---|---|---|
| building_ids | string | 用于查询指定建筑物的 ID | |
| fields | string | 用于指定返回的字段名,每个字段名之间用逗号 "," 分隔,如:“id,name”,"*" 表示返回全部字段,可选字段有:"id,name,description,floors",默认返回所有字段 | 
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":{"buildings":[{"building_id":"omb_e0ab4c89f8d2903816abb5bc3986303b","description":"","floors":["F1","F2","F3","F4"],"name":"hwl新测试建筑"}],"error_building_ids":[]}}