# 批量查询模型中包含的空间属性

POST https://api.bimface.com/data/v1/feature-management/spaces/properties

# 参数

Authorization * Bearer {accessToken} string
*为必填项
# Body
integrateId * 集成ID(与fileId二选一) int64
spaceIdList * 空间ID列表 < string >array
fileId * 文件ID(与integrateId二选一) int64

# 响应

HTTP代码 说明 类型
200 OK GeneralResponseV1«List«EssentialSpaceInfoResponse»»
201 Created -
401 Unauthorized -
403 Forbidden -
404 Not Found -
# 200响应参数
GeneralResponseV1«List«EssentialSpaceInfoResponse»»
名称 说明 类型
code 样例: "code" string
data 返回数据 < EssentialSpaceInfoResponse >array
area 面积 string
boundary 边界 EssentialBoundary
outer 外部边界 < EssentialPoint >array
x 样例: "x" string
y 样例: "y" string
z 样例: "z" string
inner 内部边界 < array >array
spaceType 样例: "spaceType" string
description 空间描述 string
bboxMax 包围盒 Coordinate
x 样例: -4938.068482562385 double
y 样例: -3201.59397858169 double
z 样例: 0.0 double
boundarySegments 包围构件 < string >array
spaceVersionId 空间版本id int64
spaceId 空间id string
unit 长度单位(m或mm) string
levelId 空间所在楼层id string
perimeter 空间底面周长 string
bboxMin Coordinate
x 样例: -4938.068482562385 double
y 样例: -3201.59397858169 double
z 样例: 0.0 double
name 样例: "name" string
spaceVersion 空间版本 int32
geometryType 空间几何类型,目前支持extrusion string
height 空间高度 double
message 提示信息 string

# 消耗

  • application/json

# 生成

  • */*
  • application/json

# HTTP请求示例

# 请求 path
https://api.bimface.com/data/v1/feature-management/spaces/properties
# 请求 header
"Authorization: Bearer dc671840-bacc-4dc5-a134-97c1918d664b"
# 请求 body
{
    "integrateId":"2544652236073248",
    "spaceIdList":['10000779773337_1785883','10000779773337_1785885']
}

# HTTP响应示例

# 响应 200
{
    "code": "bimfaceservice-0000",
    "message": null,
    "data": [
        {
            "area": "55.34865906661135",
            "bboxMax": {
                "x": 45.688,
                "y": 27.805,
                "z": 19.4
            },
            "bboxMin": {
                "x": 37.8745,
                "y": 20.692,
                "z": 15.6
            },
            "boundary": {
                "inner": null,
                "outer": [
                    {
                        "x": "39.4425",
                        "y": "27.793",
                        "z": "15.6"
                    },
                    {
                        "x": "39.4425",
                        "y": "27.805",
                        "z": "15.6"
                    },
                    {
                        "x": "38.1625",
                        "y": "27.805",
                        "z": "15.6"
                    },
                    {
                        "x": "38.1625",
                        "y": "27.793",
                        "z": "15.6"
                    },
                    {
                        "x": "37.8745",
                        "y": "27.793",
                        "z": "15.6"
                    },
                    {
                        "x": "37.8745",
                        "y": "22.192",
                        "z": "15.6"
                    },
                    {
                        "x": "38.112",
                        "y": "22.192",
                        "z": "15.6"
                    },
                    {
                        "x": "38.112",
                        "y": "21.568",
                        "z": "15.6"
                    },
                    {
                        "x": "37.8945",
                        "y": "21.568",
                        "z": "15.6"
                    },
                    {
                        "x": "37.8945",
                        "y": "20.692",
                        "z": "15.6"
                    },
                    {
                        "x": "45.688",
                        "y": "20.692",
                        "z": "15.6"
                    },
                    {
                        "x": "45.688",
                        "y": "27.793",
                        "z": "15.6"
                    },
                    {
                        "x": "45.5",
                        "y": "27.793",
                        "z": "15.6"
                    },
                    {
                        "x": "45.5",
                        "y": "27.805",
                        "z": "15.6"
                    },
                    {
                        "x": "44.22",
                        "y": "27.805",
                        "z": "15.6"
                    },
                    {
                        "x": "44.22",
                        "y": "27.793",
                        "z": "15.6"
                    },
                    {
                        "x": "39.4425",
                        "y": "27.793",
                        "z": "15.6"
                    }
                ]
            },
            "boundarySegments": [
                "1302030",
                "1377518",
                "1377618",
                "1377757",
                "1377823",
                "1377884",
                "1377994",
                "1378093",
                "1377203",
                "1377266",
                "1377390"
            ],
            "description": null,
            "geometryType": null,
            "height": 3.799999999999999,
            "levelId": "7",
            "name": "房间 1",
            "perimeter": "30.312",
            "spaceId": "10000779773337_1785883",
            "spaceType": "room",
            "spaceVersion": null,
            "spaceVersionId": null,
            "unit": "m"
        },
        {
            "area": "69.81411410380632",
            "bboxMax": {
                "x": 37.7197,
                "y": 22.055,
                "z": 19.4
            },
            "bboxMin": {
                "x": 29.55,
                "y": 13.292,
                "z": 15.6
            },
            "boundary": {
                "inner": null,
                "outer": [
                    {
                        "x": "31.45",
                        "y": "22.043",
                        "z": "15.6"
                    },
                    {
                        "x": "31.45",
                        "y": "22.055",
                        "z": "15.6"
                    },
                    {
                        "x": "29.95",
                        "y": "22.055",
                        "z": "15.6"
                    },
                    {
                        "x": "29.95",
                        "y": "22.043",
                        "z": "15.6"
                    },
                    {
                        "x": "29.712",
                        "y": "22.043",
                        "z": "15.6"
                    },
                    {
                        "x": "29.712",
                        "y": "21.573",
                        "z": "15.6"
                    },
                    {
                        "x": "29.562",
                        "y": "21.573",
                        "z": "15.6"
                    },
                    {
                        "x": "29.562",
                        "y": "21.1805",
                        "z": "15.6"
                    },
                    {
                        "x": "29.55",
                        "y": "21.1805",
                        "z": "15.6"
                    },
                    {
                        "x": "29.55",
                        "y": "21.175",
                        "z": "15.6"
                    },
                    {
                        "x": "29.55",
                        "y": "20.18",
                        "z": "15.6"
                    },
                    {
                        "x": "29.562",
                        "y": "20.18",
                        "z": "15.6"
                    },
                    {
                        "x": "29.562",
                        "y": "14.092",
                        "z": "15.6"
                    },
                    {
                        "x": "29.912",
                        "y": "14.092",
                        "z": "15.6"
                    },
                    {
                        "x": "29.912",
                        "y": "13.292",
                        "z": "15.6"
                    },
                    {
                        "x": "37.288",
                        "y": "13.292",
                        "z": "15.6"
                    },
                    {
                        "x": "37.288",
                        "y": "14.092",
                        "z": "15.6"
                    },
                    {
                        "x": "37.6197",
                        "y": "14.092",
                        "z": "15.6"
                    },
                    {
                        "x": "37.6197",
                        "y": "14.88",
                        "z": "15.6"
                    },
                    {
                        "x": "37.7197",
                        "y": "14.88",
                        "z": "15.6"
                    },
                    {
                        "x": "37.7197",
                        "y": "14.98",
                        "z": "15.6"
                    },
                    {
                        "x": "37.6197",
                        "y": "14.98",
                        "z": "15.6"
                    },
                    {
                        "x": "37.6197",
                        "y": "20.38",
                        "z": "15.6"
                    },
                    {
                        "x": "37.7197",
                        "y": "20.38",
                        "z": "15.6"
                    },
                    {
                        "x": "37.7197",
                        "y": "20.48",
                        "z": "15.6"
                    },
                    {
                        "x": "37.6197",
                        "y": "20.48",
                        "z": "15.6"
                    },
                    {
                        "x": "37.6197",
                        "y": "21.568",
                        "z": "15.6"
                    },
                    {
                        "x": "37.488",
                        "y": "21.568",
                        "z": "15.6"
                    },
                    {
                        "x": "37.488",
                        "y": "22.043",
                        "z": "15.6"
                    },
                    {
                        "x": "31.837",
                        "y": "22.043",
                        "z": "15.6"
                    },
                    {
                        "x": "31.837",
                        "y": "21.568",
                        "z": "15.6"
                    },
                    {
                        "x": "31.688",
                        "y": "21.568",
                        "z": "15.6"
                    },
                    {
                        "x": "31.688",
                        "y": "22.043",
                        "z": "15.6"
                    },
                    {
                        "x": "31.45",
                        "y": "22.043",
                        "z": "15.6"
                    }
                ]
            },
            "boundarySegments": [
                "1302035",
                "1458302",
                "1458303",
                "1458305",
                "1302149",
                "1458306",
                "1458307",
                "1458308",
                "1458311",
                "1458314",
                "1458315",
                "1458178",
                "1458179",
                "1458180",
                "1458182",
                "1458181",
                "1458297",
                "1458296",
                "1458295",
                "1458298",
                "1458299",
                "1458300",
                "1458301"
            ],
            "description": null,
            "geometryType": null,
            "height": 3.799999999999999,
            "levelId": "7",
            "name": "房间 2",
            "perimeter": "34.7035",
            "spaceId": "10000779773337_1785885",
            "spaceType": "room",
            "spaceVersion": null,
            "spaceVersionId": null,
            "unit": "m"
        }
    ]
}