添加单体
POST
/dms_symbol_sz/api/bim/version/edit/addBuilding
请求参数
Body 参数application/json
name
string
单体名称
stageKey
string
项目阶段
parentId
string
父节点ID
projectId
string
项目ID
示例
{
"name": "string",
"stageKey": "string",
"parentId": "string",
"projectId": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/dms_symbol_sz/api/bim/version/edit/addBuilding' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string",
"stageKey": "string",
"parentId": "string",
"projectId": "string"
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
errmsg
string
必需
data
object
必需
id
string
必需
parentId
string
必需
name
string
必需
customAttributes
string
必需
type
integer
必需
示例
{
"code": 0,
"errmsg": "成功",
"data": {
"id": "8d93b952db4c4551b5842ce7b161f1f6",
"parentId": "0de7d7a663ab4d26bc4961397c6732ed",
"name": "333",
"customAttributes": "{\"stage\":\"DESIGN_STAGE\"}",
"type": 0,
"stageKey": "DESIGN_STAGE",
"projectId": "70e5d37ca4854625a1aebc96ef478d4b"
}
}
修改于 2023-09-10 07:30:06