查询检查单模板以及采集数据(API名称:queryCollectData)
功能介绍
用于查询检查单模板以及采集数据。
相关接口
|
接口名称 |
调用说明 |
|---|---|
|
调用该接口获取到Token,再调用其他接口时,需要在请求消息头中添加“Authorization”,其值即为Token。 |
URL
|
请求方式 |
HTTPS地址 |
服务架构 |
消息体类型 |
|---|---|---|---|
|
POST |
https://isdp+域名/openapi/v1/openCollect/queryCollectData |
OpenAPI |
application/json |
请求头
|
KEY |
VALUE |
是否必填 |
描述 |
|---|---|---|---|
|
Content-Type |
application/json |
是 |
无 |
|
Authorization |
bearer ${access_token} |
是 |
bearer +“ ”+5.2.1中获取的access_token的值 |
请求参数
|
参数 |
类型 |
是否必填 |
描述 |
|---|---|---|---|
|
taskid |
Long |
是 |
检查单ID |
|
templateId |
Long |
是 |
模板ID |
|
kcpId |
Long |
是 |
kcpId |
响应参数
无
请求示例
{
"taskId":1607242,"templateId":134636,"kcpId": 181977
}
响应示例
{
"stateCode": "0",
"errorMessage": null,
"result": [
{
"itemId": 3141037,
"itemName": "规则1",
"itemType": 0,
"itemRemark": null,
"itemContent": null,
"isOldDate": null,
"kcpId": null,
"children": [
{
"itemId": 3141037,
"outputId": 42901529,
"outputName": "图片",
"outputCode": null,
"countPhoto": 0,
"countVideo": 0,
"outputType": 13,
"collectScene": null,
"qualificationType": null,
"isNecessary": null,
"compressionRatio": null,
"demoPictureId": null,
"maxPhoto": 4,
"maxVideo": 0,
"enablePhoto": null,
"outputModel": {
"itemId": 3141037,
"templateId": 134636,
"outputId": 42901529,
"outputName": "图片",
"outputType": 13,
"maxPhoto": 4,
"maxVideo": null,
"isNecessary": 0,
"qualificationType": null,
"enumValue": "",
"maxValue": "",
"minValue": "",
"enablePhoto": null,
"compressionRatio": null,
"demoPictureId": null,
"deleteFlag": 0,
"accuracy": null,
"cascadeOutputId": null,
"collectScene": 0,
"designValue": "",
"deviationValue": null,
"designValueOrder": "",
"isSubOutput": null,
"oldItemId": null,
"itemType": 0,
"isAudioIdentify": 0,
"measurementOrder": 0,
"defaultValue": "",
"outputCode": null,
"isStrongWeak": null,
"intelligentObject": null
},
"itemName": null,
"qcVideoModelList": [],
"qcExampleVideoModelList": [],
"qcPhotoModelList": [],
"qcFileModelList": [],
"qcExamplePhotoModelList": [],
"qcCollectionDataModelList": [],
"kcpName": null
},
{
"itemId": 3141037,
"outputId": 42901530,
"outputName": "文本",
"outputCode": null,
"countPhoto": 0,
"countVideo": 0,
"outputType": 2,
"collectScene": null,
"qualificationType": null,
"isNecessary": null,
"compressionRatio": null,
"demoPictureId": null,
"maxPhoto": 0,
"maxVideo": 0,
"enablePhoto": null,
"outputModel": {
"itemId": 3141037,
"templateId": 134636,
"outputId": 42901530,
"outputName": "文本",
"outputType": 2,
"maxPhoto": null,
"maxVideo": null,
"isNecessary": 0,
"qualificationType": null,
"enumValue": "",
"maxValue": "",
"minValue": "",
"enablePhoto": null,
"compressionRatio": null,
"demoPictureId": null,
"deleteFlag": 0,
"accuracy": null,
"cascadeOutputId": null,
"collectScene": 0,
"designValue": "",
"deviationValue": null,
"designValueOrder": "",
"isSubOutput": null,
"oldItemId": null,
"itemType": 0,
"isAudioIdentify": 0,
"measurementOrder": 0,
"defaultValue": "",
"outputCode": null,
"isStrongWeak": null,
"intelligentObject": null
},
"itemName": null,
"qcVideoModelList": [],
"qcExampleVideoModelList": [],
"qcPhotoModelList": [],
"qcFileModelList": [],
"qcExamplePhotoModelList": [],
"qcCollectionDataModelList": [],
"kcpName": null
},
{
"itemId": 3141037,
"outputId": 42901531,
"outputName": "整数",
"outputCode": null,
"countPhoto": 0,
"countVideo": 0,
"outputType": 5,
"collectScene": null,
"qualificationType": null,
"isNecessary": null,
"compressionRatio": null,
"demoPictureId": null,
"maxPhoto": 0,
"maxVideo": 0,
"enablePhoto": null,
"outputModel": {
"itemId": 3141037,
"templateId": 134636,
"outputId": 42901531,
"outputName": "整数",
"outputType": 5,
"maxPhoto": null,
"maxVideo": null,
"isNecessary": 0,
"qualificationType": null,
"enumValue": "",
"maxValue": "",
"minValue": "",
"enablePhoto": null,
"compressionRatio": null,
"demoPictureId": null,
"deleteFlag": 0,
"accuracy": null,
"cascadeOutputId": null,
"collectScene": 0,
"designValue": "",
"deviationValue": null,
"designValueOrder": "",
"isSubOutput": null,
"oldItemId": null,
"itemType": 0,
"isAudioIdentify": 0,
"measurementOrder": 0,
"defaultValue": "",
"outputCode": null,
"isStrongWeak": null,
"intelligentObject": null
},
"itemName": null,
"qcVideoModelList": [],
"qcExampleVideoModelList": [],
"qcPhotoModelList": [],
"qcFileModelList": [],
"qcExamplePhotoModelList": [],
"qcCollectionDataModelList": [],
"kcpName": null
}
]
},
{
"itemId": 3141038,
"itemName": "规则2",
"itemType": 0,
"itemRemark": null,
"itemContent": null,
"isOldDate": null,
"kcpId": null,
"children": [
{
"itemId": 3141038,
"outputId": 42901532,
"outputName": "图片/视频",
"outputCode": null,
"countPhoto": 0,
"countVideo": 0,
"outputType": 3,
"collectScene": null,
"qualificationType": null,
"isNecessary": null,
"compressionRatio": null,
"demoPictureId": null,
"maxPhoto": 0,
"maxVideo": 0,
"enablePhoto": null,
"outputModel": {
"itemId": 3141038,
"templateId": 134636,
"outputId": 42901532,
"outputName": "图片/视频",
"outputType": 3,
"maxPhoto": null,
"maxVideo": null,
"isNecessary": 1,
"qualificationType": null,
"enumValue": "",
"maxValue": "",
"minValue": "",
"enablePhoto": null,
"compressionRatio": null,
"demoPictureId": null,
"deleteFlag": 0,
"accuracy": null,
"cascadeOutputId": null,
"collectScene": 0,
"designValue": "",
"deviationValue": null,
"designValueOrder": "",
"isSubOutput": null,
"oldItemId": null,
"itemType": 0,
"isAudioIdentify": 0,
"measurementOrder": 0,
"defaultValue": "",
"outputCode": null,
"isStrongWeak": null,
"intelligentObject": null
},
"itemName": null,
"qcVideoModelList": [],
"qcExampleVideoModelList": [],
"qcPhotoModelList": [
{
"tenantId": 886,
"id": 84475,
"kcpId": 181977,
"photoId": "216621",
"templateId": 134636,
"photoName": "67B21E63-D327-4BBE-BDFC-D5B9FBAAE511.jpg",
"itemId": 3141038,
"picPassMk": null,
"outputId": 42901532,
"isExample": 1,
"status": 0,
"photoWatermarkId": null,
"photoWaterMarkKey": null,
"photoWatermarkInfo": null,
"valid": null,
"lastUpdateDate": "2020-12-10T00:41:39.000+00:00",
"creationDate": "2020-12-10T00:41:39.000+00:00",
"createdBy": 25773,
"createName": null,
"lastUpdatedBy": 25773,
"lastUpdateName": null,
"photoRemarksReview": null,
"photoRemarks": null,
"photoAndVideoType": 13
}
],
"qcFileModelList": [],
"qcExamplePhotoModelList": [],
"qcCollectionDataModelList": [],
"kcpName": null
}
]
}
]
}
状态码
状态码请参见状态码。
错误码
错误码请参见错误码。