# 依据ID查询模型单个空间属性
POST https://api.bimface.com/data/v1/feature-management/spaces/{space-id}/properties
# 说明
查询单个空间相关信息。
# 参数
# Header
Authorization * | Bearer {accessToken} | string |
# Path
space-id * | 空间id | string |
# Body
integrateId* | 集成ID(fileId和integrateId选填一项) | int64 |
fileId* | 文件ID(fileId和integrateId选填一项) | int64 |
# 响应
HTTP代码 | 说明 | 类型 |
---|---|---|
200 | OK | GeneralResponseV1«EssentialSpaceInfoResponse» |
201 | Created | - |
401 | Unauthorized | - |
403 | Forbidden | - |
404 | Not Found | - |
# 200响应参数
GeneralResponseV1«List«EssentialSpaceInfoResponse»»
名称 | 说明 | 类型 |
---|---|---|
code | 样例: "code" | string |
data | 返回数据 | < EssentialSpaceInfoResponse >array |
message | 样例: "message" | string |
# 消耗
application/json
# 生成
*/*
application/json
# HTTP请求示例
# 请求 path
https://api.bimface.com/data/v1/feature-management/spaces/string/properties
# 请求 header
"Authorization: Bearer dc671840-bacc-4dc5-a134-97c1918d664b"
# 请求 body
{
"fileId": "10000731425271"
}
# HTTP响应示例
# 响应 200
{
"code": "bimfaceservice-0000",
"message": null,
"data": {
"area": "14.073148872759932",
"bboxMax": {
"x": 2.3838,
"y": -4.2743,
"z": 5.9384
},
"bboxMin": {
"x": -2.1162,
"y": -7.6443,
"z": 3.5
},
"boundary": {
"inner": null,
"outer": [
{
"x": "-2.1162",
"y": "-6.8393",
"z": "3.5"
},
{
"x": "-2.1162",
"y": "-7.6443",
"z": "3.5"
},
{
"x": "-1.3712",
"y": "-7.6443",
"z": "3.5"
},
{
"x": "1.6388",
"y": "-7.6443",
"z": "3.5"
},
{
"x": "2.3838",
"y": "-7.6443",
"z": "3.5"
},
{
"x": "2.3838",
"y": "-6.8393",
"z": "3.5"
},
{
"x": "1.6388",
"y": "-6.8393",
"z": "3.5"
},
{
"x": "1.6388",
"y": "-6.5493",
"z": "3.5"
},
{
"x": "2.2388",
"y": "-6.5493",
"z": "3.5"
},
{
"x": "2.2388",
"y": "-5.5493",
"z": "3.5"
},
{
"x": "2.2388",
"y": "-4.2743",
"z": "3.5"
},
{
"x": "-1.9712",
"y": "-4.2743",
"z": "3.5"
},
{
"x": "-1.9712",
"y": "-5.2493",
"z": "3.5"
},
{
"x": "-1.9712",
"y": "-6.5493",
"z": "3.5"
},
{
"x": "-1.3712",
"y": "-6.5493",
"z": "3.5"
},
{
"x": "-1.3712",
"y": "-6.8393",
"z": "3.5"
},
{
"x": "-2.1162",
"y": "-6.8393",
"z": "3.5"
}
]
},
"boundarySegments": [
"264056",
"281803",
"264129",
"306006",
"383434",
"305845",
"375325",
"305935"
],
"description": null,
"geometryType": null,
"height": 2.4383999999999997,
"levelId": "694",
"name": "健身房 9",
"perimeter": "18.14",
"spaceId": "306376",
"spaceType": "room",
"spaceVersion": null,
"spaceVersionId": null,
"unit": "m"
}
}