文档首页/ ISDP/ API参考/ API接口/ 任务管理/ 任务进展管理/ 查询任务明细(API名称:getTaskInfo)
更新时间:2024-01-18 GMT+08:00
分享

查询任务明细(API名称:getTaskInfo)

功能介绍

查询任务明细。

相关接口

接口名称

调用说明

获取Token

调用该接口获取到Token,再调用其他接口时,需要在请求消息头中添加“Authorization”,其值即为Token。

URL

请求方式

HTTPS地址

服务架构

消息体类型

POST

https://isdp+域名/openapi/v1/openSceneTask/getTaskInfo

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

响应数据。

result Object属性:

参数

类型

描述

assignedUserId

Long

执行人ID。

assignedUserName

String

执行人名称。

userGroupName

String

群组名称。

userGroup

String

群组ID。

taskExtend

List

任务扩展属性。

请求示例

{"sceneTaskId":2900101}

响应示例

{
    "stateCode": "0",
    "errorMessage": null,
    "result": {
        "sceneLicense": null,
        "sceneTaskId": 2900101,
        "sceneMode": 2,
        "reviewRuleId": 40808,
        "reviewRuleName": "wuXX",
        "processType": null,
        "templateId": 263381,
        "templateName": "测试经纬度",
        "templateCode": "QC2022XXXXXXXXXXXXX",
        "version": null,
        "sceneId": 107779,
        "sceneName": "任务下挂检查单222",
        "sceneCode": "TS20220709150623420",
        "sceneVersion": "1.0",
        "signSiteId": 98988908,
        "signSiteCode": "111bianma123456",
        "signSiteName": "add447889367239",
        "regionId": 59022,
        "regionPath": "58982,59021,59022",
        "regionName": "XX市",
        "regionPathName": "中国>XX省>XX市",
        "projectNo": "bianma11113",
        "projectName": "mingXX113",
        "adminOrganization": "831",
        "adminOrganizationName": "Ntest0607021231",
        "supplierName": "ffsss",
        "taskName": "cessssss",
        "beginTimestamp": 1657382400000,
        "endTimestamp": 1657386000000,
        "taskRemark": "dddd",
        "signInConfig": null,
        "category": null,
        "categoryId": null,
        "parentCategory": null,
        "parentCategoryId": null,
        "isApplyApprove": 1,
        "priority": "1010",
        "jobDuration": 1,
        "projectDuration": 2,
        "schedulingMode": "1",
        "administrativeDivision": "58982,59021,59022",
        "administrativeDivisionName": "中国>XX省>XX市",
        "address": "wewewew",
        "requiredStartTime": 1657555199000,
        "requiredEndTime": 1657727999000,
        "skill": "4G;5G;6G测试测试测试测试测试测试测试测试测试测试;323;su0216",
        "customerId": 271657,
        "customerName": "1",
        "isAppraisal": 1,
        "status": 5,
        "collectionReviewId": 40808,
        "collectionReviewName": "wuXX",
        "collectionProcessType": null,
        "assignedUserId": "519119",
        "assignedUserName": "wsd",
        "userGroupName": "",
        "userGroup": "",
        "ccPerson": "",
        "ccPersonName": "",
        "ccPersonGroup": "",
        "ccPersonGroupName": "",
        "owner": "",
        "ownerName": "",
        "ownerGroup": "",
        "ownerGroupName": "",
        "operationGuideList": [],
        "attachmentList": [],
        "taskExtend": [
            {
                "sceneTaskId": 2900101,
                "extendName": "单枚举有值",
                "extendValue": "[\"'/\\]\\[【】\\/|\\s!!\\\\——_<>%《》&+=`·*#@¥$^·~]",
                "fieldOrder": 4,
                "udfName": "UDF10",
                "extendType": 2,
                "isNecessary": 2
            },
            {
                "sceneTaskId": 2900101,
                "extendName": "多枚举无值",
                "extendValue": null,
                "fieldOrder": 5,
                "udfName": "UDF11",
                "extendType": 3,
                "isNecessary": 2
            },
            {
                "sceneTaskId": 2900101,
                "extendName": "长文本有值",
                "extendValue": "ddddd",
                "fieldOrder": 1,
                "udfName": "UDF15",
                "extendType": 1,
                "isNecessary": 1
            },
            {
                "sceneTaskId": 2900101,
                "extendName": "日期有值",
                "extendValue": "1631548800000",
                "fieldOrder": 2,
                "udfName": "UDF8",
                "extendType": 4,
                "isNecessary": 2
            },
            {
                "sceneTaskId": 2900101,
                "extendName": "时间有值",
                "extendValue": "1657003231000",
                "fieldOrder": 3,
                "udfName": "UDF9",
                "extendType": 5,
                "isNecessary": 2
            }
        ],
        "commandSwitch": "N"
    }
}

相关文档