根据itemId查询条目(API名称:openStandardItem/queryStandardItemInfo)
功能介绍
根据itemId查询条目。
相关接口
| 接口名称 | 调用说明 |
|---|---|
| 调用该接口获取到Token,再调用其他接口时,需要在请求消息头中添加“Authorization”,其值即为Token。 |
URL
| 请求方式 | HTTPS地址 | 服务架构 | 消息体类型 |
|---|---|---|---|
| POST | https://isdp+域名/openapi/v1/openStandardItem/queryStandardItemInfo | OpenAPI | application/json |
请求头
| KEY | VALUE | 是否必填 | 描述 |
|---|---|---|---|
| Content-Type | application/json | 是 | 无 |
| Authorization | bearer ${access_token} | 是 | bearer +“ ”+5.2.1中获取的access_token的值 |
请求参数
| 参数 | 类型 | 是否必填 | 描述 |
|---|---|---|---|
| sceneTaskId | Long | 是 | 父任务ID |
响应参数
| 参数 | 类型 | 描述 |
|---|---|---|
| stateCode | String | 响应状态码:
|
| errorMessage | String | 响应描述 |
| result | Object | 响应结果内容data、分页数据 |
Result:
| 参数 | 类型 | 描述 |
|---|---|---|
| collectNa | Integer | 是否采集NA |
| allowedNa | Integer | 采集设置:是否允许NA(1: 是; 0: 否) |
| appName | String | 应用名称 |
| createdBy | Long | 创建人 |
| creationDate | Date | 创建时间 |
| deleteFlag | Integer | 删除标识 |
| entityName | String | 实体名称 |
| handlerNameInspection | String | 问题处理人名字(自检) |
| handlerNameQualityInspection | String | 问题处理人名字(质检) |
| identificationType | String | 识别方式(1: 人员识别; 2: 扫码识别) |
| intelligentReviewRules | String | 智能评审规则(1:规则1; 2:规则2) |
| isExemption | Integer | 评审设置:是否免审(1: 是; 0: 否) |
| isFixedItem | Integer | 是否固定条目(0-否 1-是) |
| issueHandlerInspection | String | 问题处理人(自检) |
| issueHandlerQualityInspection | String | 问题处理人(质检) |
| issueTypeInspection | String | 问题类别(自检) |
| issueTypeQualityInspection | String | 问题类别(质检) |
| itemApprovalId | Long | 条目审批ID |
| itemCode | String | 条目编码 |
| itemId | Long | 条目ID |
| itemIndex | Integer | ITEM下标 |
| itemStatus | Integer | 条目状态(0:草稿,1:审批中,2:已发布,-1:已删除) |
| itemType | Integer | 条目类型(1:临时检查项;0:非临时检查项;2:标准条目) |
| kcpId | Long | kcp ID |
| kcpIndex | Integer | KCP下标 |
| kcpName | String | KCP名称 |
| lastUpdateDate | Date | 最近更新时间 |
| lastUpdatedBy | Long | 最近更新人 |
| name | String | 条目名称 |
| objectIndustryTypeId | String | 质检,巡检行业分类组合,多个用“;”分隔 |
| objectIndustryTypeIdText | String | 质检,巡检行业分类,多个用“;”分隔 |
| operationGuide | String | 作业指导 |
| processType | Integer | 审批流类型(0-标准审批流;1-临时审批流;2-自定义审批流) |
| qualificationType | Integer | 资质类别(1:按资质; 2:按资质+数量) |
| qualityStandard | String | 质量标准 |
| rejectionReason | String | 驳回原因 |
| reviewProcessId | Long | 条目审批流ID |
| ruleFourNumber | Integer | 规则4通过的图片数量 |
| sceneTypeName | String | 场景分类名称 |
| severity | Integer | 严重级别 |
| standardItemReviewFlag | Integer | 条目审批标识(1:是,0:否) |
| templateId | Long | 模板ID |
| tenantId | Long | 租户ID |
| outputList | List<TemplateOutputModel> | 输出项集合 |
outputList:
| 参数 | 类型 | 描述 |
|---|---|---|
| appName | String | 实体名称 |
| audioIdentifyInfo | String | 目标识别信息 |
| collectScene | Integer | 采集场景(0-普通 1-设计值智能比对) |
| compressionRatio | Double | 图片压缩比 |
| coordinateValue | String | 坐标值 |
| createdBy | Long | 创建人 |
| creationDate | Date | 创建日期 |
| defaultValue | String | 默认值 |
| deleteFlag | Integer | 删除标识 |
| demoPictureId | String | 样例图 |
| designValue | String | 设计值 |
| designValueOrder | String | 设计值顺序 |
| deviationValue | String | 允差值 |
| entityName | String | 实体名称 |
| enumValue | String | 枚举值 |
| intelligentAnalysisUrl | String | 智能分析URL |
| intelligentObject | String | 智能对象 |
| isAudioIdentify | Integer | 是否语音识别 |
| isCascading | Integer | 是否启用级联输出项 |
| isNecessary | Integer | 是否必填 |
| itemId | Long | 条目ID |
| itemType | Integer | item类型(1:临时检查项;0:非临时检查项) |
| lastUpdateDate | Date | 最近更新日期 |
| lastUpdatedBy | Long | 最近更新人 |
| maxValue | String | 最大值 |
| measurementOrder | Integer | (默认值:0;父输出项:-1;天资测量:1:下倾角;2:方位角;3:挂高;4:图片;5:备注) |
| minValue | String | 最小值 |
| outputCode | String | 输出项编码 |
| outputId | Long | 输出项ID |
| outputIndex | Integer | 输出项索引 |
| outputName | String | 输出项名称 |
| outputType | Integer | 输出项类型 |
| parentEnum | String | 父级输出项枚举名称 |
| parentEnumName | String | 父级输出项枚举名称 |
| plateCount | Integer | 压板数量 |
| scoreIndex | String | 评分输出项下标 |
| templateId | Long | 模板ID |
| tenantId | Long | 租户ID |
| txactValue | String | 精确值 |
| udf1 | String | 扩展字段1 |
请求示例
{
"itemIdList": [
3562956
]
} 响应示例
{
"stateCode": "0",
"errorMessage": "success",
"result": [
{
"collectNa": 0,
"allowedNa": 1,
"appName": "isdp-qc-server",
"createdBy": 153169,
"creationDate": "2023-03-15T03:21:15.000+00:00",
"deleteFlag": 0,
"entityName": "templateItem",
"handlerNameInspection": null,
"handlerNameQualityInspection": null,
"identificationType": "",
"intelligentReviewRules": "1",
"isExemption": 0,
"isFixedItem": 1,
"issueHandlerInspection": null,
"issueHandlerQualityInspection": null,
"issueTypeInspection": null,
"issueTypeQualityInspection": null,
"itemApprovalId": 5217,
"itemCode": "21111111111111111",
"itemId": 3562956,
"itemIndex": 0,
"itemStatus": 2,
"itemType": 2,
"kcpId": 0,
"kcpIndex": 0,
"kcpName": "2121212121212121",
"lastUpdateDate": "2023-11-20T02:45:28.000+00:00",
"lastUpdatedBy": 153169,
"name": "21111111111111111",
"objectIndustryTypeId": null,
"objectIndustryTypeIdText": null,
"operationGuide": "",
"processType": 0,
"qualificationType": 1,
"qualityStandard": "",
"rejectionReason": "",
"reviewProcessId": 46827,
"ruleFourNumber": 1,
"sceneTypeName": "1121212",
"severity": 1,
"standardItemReviewFlag": 1,
"templateId": 0,
"tenantId": 886,
"outputList": [
{
"appName": "isdp-qc-server",
"audioIdentifyInfo": "",
"collectScene": 0,
"compressionRatio": 0,
"coordinateValue": null,
"createdBy": 153169,
"creationDate": "2023-03-15T03:21:38.000+00:00",
"defaultValue": "",
"deleteFlag": 0,
"demoPictureId": null,
"designValue": "",
"designValueOrder": null,
"deviationValue": null,
"entityName": "templateOutput",
"enumValue": "1;2",
"intelligentAnalysisUrl": null,
"intelligentObject": "",
"isAudioIdentify": 0,
"isCascading": 1,
"isNecessary": 0,
"itemId": 3562956,
"itemType": 2,
"lastUpdateDate": "2023-03-15T03:21:38.000+00:00",
"lastUpdatedBy": 153169,
"maxValue": "",
"measurementOrder": 0,
"minValue": "",
"outputCode": null,
"outputId": 43912298,
"outputIndex": 0,
"outputName": "1",
"outputType": 1,
"parentEnum": null,
"parentEnumName": null,
"plateCount": 0,
"scoreIndex": null,
"templateId": 0,
"tenantId": 886,
"txactValue": null,
"udf1": null
},
{
"appName": "isdp-qc-server",
"audioIdentifyInfo": "",
"collectScene": 0,
"compressionRatio": 0,
"coordinateValue": null,
"createdBy": 153169,
"creationDate": "2023-03-15T03:21:38.000+00:00",
"defaultValue": "",
"deleteFlag": 0,
"demoPictureId": null,
"designValue": "",
"designValueOrder": null,
"deviationValue": null,
"entityName": "templateOutput",
"enumValue": "",
"intelligentAnalysis": 0,
"intelligentAnalysisUrl": "",
"intelligentObject": "",
"isAudioIdentify": 0,
"isNecessary": 0,
"itemId": 3562956,
"itemType": 2,
"lastUpdateDate": "2023-03-15T03:21:38.000+00:00",
"lastUpdatedBy": 153169,
"maxValue": "",
"measurementOrder": 0,
"minValue": "",
"outputCode": null,
"outputId": 43912299,
"outputIndex": 1,
"outputName": "1",
"outputType": 13,
"parentEnum": "1",
"parentEnumName": "1--1",
"parentOutputId": 43912298,
"plateCount": 0,
"scoreIndex": null,
"templateId": 0,
"tenantId": 886,
"txactValue": null,
"udf1": null
},
{
"appName": "isdp-qc-server",
"audioIdentifyInfo": "",
"collectScene": 0,
"compressionRatio": 0,
"coordinateValue": null,
"createdBy": 153169,
"creationDate": "2023-03-15T03:21:38.000+00:00",
"defaultValue": "",
"deleteFlag": 0,
"demoPictureId": null,
"designValue": "",
"designValueOrder": null,
"deviationValue": null,
"entityName": "templateOutput",
"enumValue": "",
"intelligentAnalysis": 0,
"intelligentAnalysisUrl": "",
"intelligentObject": "",
"isAudioIdentify": 0,
"isNecessary": 0,
"itemId": 3562956,
"itemType": 2,
"lastUpdateDate": "2023-03-15T03:21:38.000+00:00",
"lastUpdatedBy": 153169,
"maxValue": "",
"measurementOrder": 0,
"minValue": "",
"outputCode": null,
"outputId": 43912300,
"outputIndex": 2,
"outputName": "2",
"outputType": 13,
"parentEnum": "2",
"parentEnumName": "1--2",
"parentOutputId": 43912298,
"plateCount": 0,
"scoreIndex": null,
"templateId": 0,
"tenantId": 886,
"txactValue": null,
"udf1": null
}
]
}
]
}