获取任务结果
已测完
POST
/zt/api/v1/task/result/id/{taskId}
请求参数
Path 参数
taskId
string
任务id
示例值:
23c4a2761bb643218f52a47a29567f63
示例代码
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/task/result/id/23c4a2761bb643218f52a47a29567f63'
返回响应
🟢200成功
application/json
Body
data
array [object {4}]
必需
result
boolean
结果
name
string
模型名称
major
string
专业
modelResult
object
结果列表
code
integer
状态码
msg
string
备注
示例
{
"data": [
{
"result": false,
"name": "一栋二单元_建筑专业_v1.0.1.ifc",
"major": "建筑",
"modelResult": {
"entityItemResults": [
{
"entityName": "普通坡道",
"constraints": [
"普通坡道 的 任意属性集 的 任意属性('宽度') 的 属性值 > 0",
"普通坡道 的 任意属性集 的 任意属性('长度') 的 属性值[Type] >= 'REAL'",
"普通坡道 的 任意属性集 的 任意属性('高度') 的 属性值[Type] >= 'REAL'",
"普通坡道 的 任意属性集 的 任意属性('材质') 的 属性值[Type] >= 'STRING'"
],
"items": [
{
"guid": "2NwebFF_PEYB0p2lZnmmu_",
"name": "坡道:坡道 1:294294",
"type": "IfcRamp",
"constraintResults": [
{
"result": true,
"storeyId": "1rvR1NOhf3OxqClRC$7Hmv",
"storeyName": "F1",
"checkGroupName": "宽度",
"checkValue": "1000",
"classifications": "人行坡道"
},
{
"result": true,
"storeyId": "1rvR1NOhf3OxqClRC$7Hmv",
"storeyName": "F1",
"checkGroupName": "长度",
"checkValue": "1",
"classifications": "人行坡道"
},
{
"result": true,
"storeyId": "1rvR1NOhf3OxqClRC$7Hmv",
"storeyName": "F1",
"checkGroupName": "高度",
"checkValue": "1",
"classifications": "人行坡道"
},
{
"result": true,
"storeyId": "1rvR1NOhf3OxqClRC$7Hmv",
"storeyName": "F1",
"checkGroupName": "材质",
"checkValue": "1",
"classifications": "人行坡道"
}
]
},
{
"guid": "2NwebFF_PEYB0p2lZnmmtu",
"name": "坡道:坡道 1:294480",
"type": "IfcRamp",
"constraintResults": [
{
"result": true,
"storeyId": "1rvR1NOhf3OxqClRC$7Hmv",
"storeyName": "F1",
"checkGroupName": "宽度",
"checkValue": "1000",
"classifications": "人行坡道"
},
{
"result": true,
"storeyId": "1rvR1NOhf3OxqClRC$7Hmv",
"storeyName": "F1",
"checkGroupName": "长度",
"checkValue": "1",
"classifications": "人行坡道"
},
{
"result": true,
"storeyId": "1rvR1NOhf3OxqClRC$7Hmv",
"storeyName": "F1",
"checkGroupName": "高度",
"checkValue": "1",
"classifications": "人行坡道"
},
{
"result": true,
"storeyId": "1rvR1NOhf3OxqClRC$7Hmv",
"storeyName": "F1",
"checkGroupName": "材质",
"checkValue": "1",
"classifications": "人行坡道"
}
]
}
]
}
]
}
}
],
"code": 0,
"msg": "成功"
}
修改于 2024-05-20 06:15:38