查询检查单详情(API名称:findModelByTaskId)
功能介绍
用于查询已创建好的检查单详细信息。
相关接口
|
接口名称 |
调用说明 |
|---|---|
|
调用该接口获取到Token,再调用其他接口时,需要在请求消息头中添加“Authorization”,其值即为Token。 |
URL
|
请求方式 |
HTTPS地址 |
服务架构 |
消息体类型 |
|---|---|---|---|
|
POST |
https://isdp+域名/openapi/v1/openTask/findModelByTaskId |
OpenAPI |
application/json |
请求头
|
KEY |
VALUE |
是否必填 |
描述 |
|---|---|---|---|
|
Content-Type |
application/json |
是 |
无 |
|
Authorization |
bearer ${access_token} |
是 |
bearer +“ ”+5.2.1中获取的access_token的值 |
请求参数
|
参数 |
类型 |
是否必填 |
描述 |
|---|---|---|---|
|
taskid |
Long |
是 |
检查单ID |
响应参数
|
参数 |
类型 |
描述 |
|---|---|---|
|
stateCode |
String |
响应编码:0-成功;其他-失败 |
|
errorMessage |
String |
错误信息 |
|
result |
Object |
响应数据 |
|
taskId |
Long |
检查单ID |
|
taskName |
String |
检查单名称 |
|
taskSheetType |
Integer |
检查单类型 |
|
adminOrganization |
String |
组织管理单元 |
|
adminOrganizationName |
String |
组织管理单元 |
|
adminRegion |
String |
行政区划 |
|
adminRegionName |
String |
行政区划名称 |
|
agentName |
String |
坐席名称 |
|
agentId |
Long |
坐席ID |
|
assignedUserId |
String |
执行人 |
|
assignedUserName |
String |
执行人名称 |
|
chatJID |
Long |
视频通道ID |
|
city |
String |
城市 |
|
cityId |
Long |
城市Id |
|
collectionReviewName |
String |
采集审批人 |
|
country |
String |
国家 |
|
countryId |
Long |
国家Id |
|
createdBy |
Long |
创建人 |
|
createdName |
String |
创建人名称 |
|
creationDate |
Date |
创建时间 |
|
creationTimestamp |
Long |
创建时间戳 |
|
currentReviewerId |
Long |
检查单审批人 |
|
currentReviewerName |
String |
简单审批人名称 |
|
deletionReason |
String |
删除原因 |
|
deleteFlag |
Integer |
删除标志 |
|
deliveryScene |
String |
交付场景 |
|
endTimestamp |
Long |
结束时间戳 |
|
firstCollectionTime |
Long |
首次采集时间 |
|
firstCommitter |
String |
首次采集人 |
|
firstMatchAgentTimetamp |
Long |
首次匹配坐席时间戳 |
|
firstSubmitTime |
Long |
首次提交时间 |
|
invitedUserId |
String |
邀请人员 |
|
isAppraisal |
Integer |
检查单是否需要评审 |
|
isVideoAcceptance |
Integer |
是否视频验收(1:是;0:否) |
|
lastCollectionTime |
Long |
最后采集时间 |
|
lastSubmitTime |
Long |
最后提交时间 |
|
planEndDate |
Date |
计划开始时间 |
|
productType |
String |
产品类型 |
|
projectName |
String |
项目名称 |
|
projectNo |
String |
项目编码 |
|
province |
String |
省份 |
|
provinceId |
Long |
省份Id |
|
sceneTaskId |
Long |
任务id |
|
sceneTaskName |
String |
任务名称 |
|
sourceType |
Integer |
源类型 |
|
signSiteId |
Long |
作业对象ID |
|
signSiteName |
String |
作业对象名称 |
|
signSiteCode |
String |
作业对象编码 |
|
status |
Integer |
检查单状态 |
|
statusApprove |
Integer |
审批状态 |
|
statusCollection |
Integer |
采集状态 |
|
supplierName |
String |
供应商名称 |
|
templateCode |
String |
模板编码 |
|
templateId |
Long |
模板ID |
|
templateName |
String |
模板名称 |
|
udf1- udf1 |
String |
扩展属性 |
|
userGroup |
Long |
执行人群主 |
|
userGroupName |
String |
执行人群组名称 |
请求示例
{
"taskId":1607242
}
响应示例
{
"stateCode": "0",
"errorMessage": null,
"result": {
"accessCount": 0,
"accessTimestamp": 0,
"adminOrganization": "830",
"adminOrganizationName": "杨凌作业系统测试",
"adminRegion": "58982;59027;59028",
"adminRegionName": "中国->陕西省->西安",
"agentName": null,
"allAgentId": null,
"allAgentName": null,
"appName": "isdp-qc-server",
"assignedUserId": "25773;25804;25823",
"assignedUserName": "lichao4443;刘月;郭冰;",
"baseLastUpdateBy": 25773,
"baseLastUpdateName": "lichao4443",
"baseLastUpdateTimetamp": 1607607321228,
"chatJID": null,
"city": "西安",
"cityId": 59028,
"collectionReviewName": null,
"committedItemCnt": 1,
"committer": null,
"country": "中国",
"countryId": 58982,
"createdBy": 25773,
"createName": "张三4443",
"creationDate": "2020-12-10T13:33:46.000+00:00",
"creationTimestamp": 1607607226089,
"currentReviewerId": null,
"currentReviewerName": null,
"customerName": null,
"customerTaskId": null,
"deleteFlag": 1,
"deletionReason": null,
"deliveryScene": "交付场景1",
"endTimestamp": 1607615999000,
"entityName": "qcTask",
"firstCollectionTime": 1607607381164,
"firstCommitter": "李四",
"firstMatchAgentTimetamp": 0,
"firstSubmitTime": 0,
"handledItemCnt": 1,
"invitedUserId": null,
"isAppraisal": "1",
"isIssue": 0,
"isNew": 0,
"isVideoAcceptance": 0,
"lastCollectionTime": 1607607628729,
"lastSubmitTime": 0,
"lastUpdateDate": "2021-08-17T03:25:18.000+00:00",
"lastUpdatedBy": 25773,
"lastUpdateName": "lichao4443",
"lastUpdateTimestamp": 1614245507659,
"orderRelationTaskName": null,
"partner": "",
"planEndDate": "2020-12-09T16:00:00.000+00:00",
"productType": "产品类别1",
"projectName": "ylh测试专用项目1207",
"projectNo": "564950E",
"province": "陕西省",
"provinceId": 59027,
"rejectedItemCnt": 0,
"remarks": "",
"repOffice": null,
"reviewDescLevelOne": null,
"reviewDescLevelTwo": null,
"reviewUserId": null,
"reviewUserName": null,
"reviewUserNameLevelOne": null,
"reviewUserNameLevelTwo": null,
"sceneTaskId": null,
"sceneTaskName": null,
"signSiteAddress": "",
"signSiteCode": "dong123",
"signSiteId": 15455135,
"signSiteName": "dong123",
"sourceType": 6,
"status": 3,
"statusApprove": 2,
"statusCollection": 2,
"supplierName": null,
"taskCode": "0f7ee7cb-fd06-4ffa-91c1-2ad2712de114",
"taskId": 1607242,
"taskName": "1210dong123",
"taskSheetType": 2,
"templateCode": "QC202XXXXXXXXXXXXX",
"templateId": 134636,
"templateName": "1210AI保存",
"tenantId": 886,
"toBeReviewed": 0,
"totalItemCnt": 1,
"type": "巡检",
"udf1": "交付场景1",
"udf2": "产品类别1",
"udf3": "宏站,产品形态02",
"udf4": "",
"udf5": "",
"udf6": null,
"userGroup": "",
"userGroupName": "",
"version": "1.0",
"videoCreateAccount": null,
"videoCreateName": null,
"reviewerName": "#L1:王五",
"validRequired": 0
}
}
状态码
状态码请参见状态码。
错误码
错误码请参见错误码。