获取任务结果
已测完
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
object | null
可选
data
object | null
可选
log
object | null
错误警告信息
bizField
object | null
文件及taskId
results
array [object {3}] | null
识别信息
code
integer | null
状态码
msg
string | null
状态信息
示例
{
"data": {
"log": {
"warningMsg": [],
"errorMsg": []
},
"bizField": {
"guid": "0Kmz1i52f6GORCXkPs0CxK",
"levelName": "2F",
"taskId": "277b3bd85e704c2f8aee2c78a02b5f36"
},
"results": [
{
"drawingInfo": {
"frameHeight": 1683,
"drawingHeight": 1684,
"frameWidth": 2383,
"axes": [
{
"name": "6-14",
"circles": [
[
[
1112,
365
],
[
1118,
365
],
[
1124,
365
],
[
1129,
360
],
[
1129,
354
],
[
1129,
347
],
[
1124,
342
],
[
1118,
342
],
[
1112,
342
],
[
1106,
347
],
[
1106,
354
],
[
1106,
360
],
[
1112,
365
]
],
[
[
1112,
1524
],
[
1118,
1524
],
[
1124,
1524
],
[
1129,
1519
],
[
1129,
1513
],
[
1129,
1507
],
[
1124,
1502
],
[
1118,
1502
],
[
1112,
1502
],
[
1106,
1507
],
[
1106,
1513
],
[
1106,
1519
],
[
1112,
1524
]
]
],
"id": "aaaa",
"category": "axis",
"contour": [
[
1118,
1502
],
[
1118,
387
]
],
"connections": [
[
[
1118,
435
],
[
1118,
365
]
],
[
[
1118,
1454
],
[
1118,
1501
]
]
]
}
],
"frameOx": 0,
"frameOy": 0,
"scale": 35.27766,
"drawingWidth": 2384
},
"checkInfo": [
{
"checkType": "AXIS",
"modelElemCount": 39,
"onlyInDrawing": [],
"drawingElemCount": 39,
"matched": [
{
"drawing": {
"name": "R6-6",
"circles": [
[
[
842,
351
],
[
849,
351
],
[
855,
351
],
[
860,
346
],
[
860,
340
],
[
860,
334
],
[
855,
329
],
[
849,
329
],
[
842,
329
],
[
837,
334
],
[
837,
340
],
[
837,
346
],
[
842,
351
]
],
[
[
842,
1560
],
[
849,
1560
],
[
855,
1560
],
[
860,
1555
],
[
860,
1549
],
[
860,
1543
],
[
855,
1538
],
[
849,
1538
],
[
842,
1538
],
[
837,
1543
],
[
837,
1549
],
[
837,
1555
],
[
842,
1560
]
]
],
"id": "aaaN",
"connections": [
[
[
849,
351
],
[
849,
435
]
],
[
[
849,
1538
],
[
849,
1454
]
]
],
"coords": [
[
849,
1538
],
[
849,
351
]
]
},
"model": {
"name": "R6-6",
"id": "aaaar",
"coords": [
[
8900,
-3603,
4500
],
[
8900,
38247,
4500
]
]
}
}
],
"onlyInModel": [],
"mToDBiased": [
{
"bias": {
"type": "name"
},
"drawing": {
"name": "6-14",
"circles": [
[
[
1112,
365
],
[
1118,
365
],
[
1124,
365
],
[
1129,
360
],
[
1129,
354
],
[
1129,
347
],
[
1124,
342
],
[
1118,
342
],
[
1112,
342
],
[
1106,
347
],
[
1106,
354
],
[
1106,
360
],
[
1112,
365
]
],
[
[
1112,
1524
],
[
1118,
1524
],
[
1124,
1524
],
[
1129,
1519
],
[
1129,
1513
],
[
1129,
1507
],
[
1124,
1502
],
[
1118,
1502
],
[
1112,
1502
],
[
1106,
1507
],
[
1106,
1513
],
[
1106,
1519
],
[
1112,
1524
]
]
],
"id": "aaaX",
"connections": [
[
[
1118,
435
],
[
1118,
365
]
],
[
[
1118,
1454
],
[
1118,
1501
]
]
],
"coords": [
[
1118,
1502
],
[
1118,
387
]
]
},
"model": {
"name": "R6-14",
"id": "aaaaz",
"coords": [
[
18400,
-3603,
4500
],
[
18400,
38247,
4500
]
]
}
}
]
}
],
"transParams": [
35.25642532325868,
0,
-21015.782015291457,
-15988.083755591348
]
}
]
},
"code": 0,
"msg": "成功"
}
修改于 2024-03-13 12:38:30