查询机电系统树
已测完
POST
/zt/api/v1/data/mepSystem/tree
请求参数
Body 参数application/json
list
array [object {2}]
必需
documentId
string
模型id
documentVersion
string
模型版本
示例
{
"list": [
{
"documentId": "e0a68389ec994d11b328f9222161e907",
"documentVersion": 1
}
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/zt/api/v1/data/mepSystem/tree' \
--header 'Content-Type: application/json' \
--data-raw '{
"list": [
{
"documentId": "e0a68389ec994d11b328f9222161e907",
"documentVersion": 1
}
]
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
必需
data
array [object {3}]
必需
documentId
string
模型id
documentVersion
integer
模型版本
componentList
array [object {10}]
构件集合
示例
{
"data": [
{
"documentId": "c0b952f881054f6da3d2bfc4831a4722",
"documentVersion": 1,
"componentList": [
{
"id": "654b306bd67d57364188e44d",
"guid": "21RcZ5v$L9Kgl2RcOih0AV",
"name": "YFG 136",
"ifcBuildingId": "27rs6uZdf9NhfZZC8VQ3i1",
"documentId": "c0b952f881054f6da3d2bfc4831a4722",
"documentVersion": 1,
"projectId": "92f3c72f42c246d68809dca58819aa5f",
"createTime": 1699426403123,
"updateTime": 1699426403123,
"tree": [
{
"guid": "1hwlks4c9AYg50bPn8PBLc",
"name": "PY-消防排烟管",
"isVirtual": null,
"children": [
{
"guid": "21RcZ5v$L9Kgl2RcOih0AU",
"name": "矩形风管:PY-消防排烟管:2110399",
"isVirtual": null,
"children": null
},
{
"guid": "21RcZ5v$L9Kgl2RcOih0Bg",
"name": "矩形风管:PY-消防排烟管:2110402",
"isVirtual": null,
"children": null
}
]
},
{
"guid": "1WtxMCSgz8$RaJsaw5_NSz",
"name": "0.8 W",
"isVirtual": null,
"children": [
{
"guid": "21RcZ5v$L9Kgl2RcOih0Bu",
"name": "矩形弯头 - 半径0-8 - 法兰:0.8 W:2110403",
"isVirtual": null,
"children": null
}
]
}
]
}
]
}
],
"code": 0,
"msg": "成功"
}
修改于 2024-03-15 11:22:42