分页查询检查单模板列表信息(API名称:queryPageQcTemplate)
功能介绍
用于分页查询检查单模板列表信息。
相关接口
|
接口名称 |
调用说明 |
|---|---|
|
调用该接口获取到Token,再调用其他接口时,需要在请求消息头中添加“Authorization”,其值即为Token。 |
|
|
基于创建的检查单进行查询 |
|
|
查询后需要修改检查单模板 |
URL
|
请求方式 |
HTTPS地址 |
服务架构 |
消息体类型 |
|---|---|---|---|
|
POST |
https://isdp+域名/openapi/v1/openTask/queryPageQcTemplate |
OpenAPI |
application/json |
请求头
|
KEY |
VALUE |
是否必填 |
描述 |
|---|---|---|---|
|
Content-Type |
application/json |
是 |
无 |
|
Authorization |
bearer ${access_token} |
是 |
bearer +“ ”+5.2.1中获取的access_token的值 |
请求参数
|
参数 |
类型 |
是否必填 |
描述 |
|---|---|---|---|
|
page |
String |
是 |
分页参数 |
|
type |
Integer |
是 |
模板类型 (1-采集模板 2-检查模板) |
|
dataSource |
String |
否 |
来源标识 |
|
isReleaseStatus |
String |
否 |
是否查询可用的模板状态 Y-可用 N-所用模板 |
|
childType |
Integer |
否 |
模板子类型 |
|
templateName |
String |
否 |
搜索模板名称 |
|
templateCode |
String |
否 |
搜索模板编码 |
|
adminOrganizationCodeList |
String |
否 |
组织单元ID |
响应参数
|
参数 |
类型 |
描述 |
|---|---|---|
|
stateCode |
String |
响应编码:0-成功;其他-失败 |
|
errorMessage |
String |
错误信息 |
|
result |
Object |
响应数据 |
result出参data对象说明:
|
参数 |
类型 |
描述 |
|---|---|---|
|
dataSource |
String |
创建来源标识 |
|
templateId |
String |
模板ID |
|
templateCode |
String |
模板编码 |
|
type |
Integer |
模板类型 (1-采集模板 2-检查模板) |
|
templateChildType |
Integer |
模板子类型 (1-质检2-巡检 3-作业) |
|
templateName |
String |
模板名称 |
|
serviceType |
String |
业务类型 |
|
locationType |
String |
位置类型 |
|
adminOrganizationCode |
String |
组织单元ID |
|
adminOrganizationName |
String |
组织单元名称 |
|
isManualReviewAutoPass |
Integer |
AI评审通过则条目的人工评审自动通过(0:否;1:是) |
|
isVideoAcceptance |
Integer |
是否视频审核(1:是;0:否) |
|
isDesignItem |
Integer |
是否按设计生成检查项(0-否 1-是) |
|
isDefaultTemplate |
Integer |
是否为默认模板(0-否 1-是) |
|
validRequired |
Integer |
必填项全采后才能提交任务评审 (1-是 2-否) |
|
isCommandTemplate |
Integer |
是否指令式采集模板 (1: 是; 0: 否) |
|
remarks |
String |
备注 |
|
version |
String |
版本号 |
|
isNewVersion |
String |
是否是最新模板 |
请求示例
{
"page": {
"start": 0,
"count": 15
},
"dataSource": "appcube",
"isReleaseStatus": "Y",
"childType": 3,
"templateCode": "",
"templateName": "模板名称",
"type": 1,
"adminOrganizationCodeList": [
1543
]
响应示例
{
"stateCode": "0",
"errorMessage": null,
"result": {
"data": [
{
"appName": "isdp-qc-server",
"createdBy": 1823,
"createName": "龙XX",
"creationDate": "2022-07-11T06:29:25.000+00:00",
"deleteFlag": 0,
"entityName": "qcTemplate",
"indoor": null,
"isDefaultTemplate": 0,
"isNewVersion": "Y",
"lastUpdateDate": "2022-07-11T06:29:25.000+00:00",
"lastUpdatedBy": 1823,
"lastUpdateName": "龙XX",
"lastUpdateTimestamp": 1657520965221,
"originalTemplateId": 268611755,
"outdoor": null,
"personQualification": null,
"ppeEquipsObject": null,
"remarks": "1",
"status": 1,
"templateCode": "QC2022XXXXXXXXXXXXX",
"templateId": 268611757,
"templateName": "模板名称011",
"templateParam": null,
"type": 1,
"version": "1.2",
"serviceType": "作业",
"deliveryScene": null,
"productType": null,
"productForm": null,
"locationType": "",
"projectCode": null,
"adminOrganizationName": "1508098844233300",
"adminOrganizationCode": "1543",
"isDesignItem": 0,
"isVideoAcceptance": 0,
"validRequired": 0,
"isManualReviewAutoPass": 1,
"otherRecognitionObjects": null,
"templateChildType": 3,
"isCommandTemplate": 0,
"dataSource": "appcube",
"isWasiTemplate": "N"
}
],
"pos": 0,
"total_count": 3,
"entityName": null,
"totalCount": 3
}
}
状态码
状态码请参见状态码。
错误码
错误码请参见错误码。