ISDP-修改任务(API名称:modifyTask):请求示例

时间:2024-01-18 13:55:51

请求示例

{
    "actualBeginTime": null,
    "actualEndTime": null,
    "address": null,
    "adminOrganization": "25245",
    "adminOrganizationName": "信息展示子系统SIT测试租户",
    "administrativeDivision": null,
    "administrativeDivisionName": null,
    "assignedUserId": "864221",
    "assignedUserName": "15319700143",
    "attachmentList": [],
    "beginTimestamp": null,
    "category": null,
    "categoryId": null,
    "ccPerson": "",
    "ccPersonGroup": "",
    "ccPersonGroupName": "",
    "ccPersonName": "",
    "checkOrderId": null,
    "checkOrderName": null,
    "collectionProcessType": null,
    "collectionReviewId": null,
    "collectionReviewName": null,
    "commandSwitch": "N",
    "createName": "153xxxx0143",
    "createdBy": 864221,
    "creationDate": "2023-02-08T09:19:50.000+00:00",
    "creationTimestamp": 1675847990937,
    "customerId": null,
    "customerName": null,
    "endTimestamp": null,
    "isApplyApprove": 0,
    "isAppraisal": null,
    "jobDuration": null,
    "latitude": "",
    "longitude": "",
    "operUserId": 864221,
    "operationGuideList": [],
    "owner": "",
    "ownerGroup": "",
    "ownerGroupName": "",
    "ownerName": "",
    "parentCategory": null,
    "parentCategoryId": null,
    "priority": null,
    "processType": null,
    "projectDuration": null,
    "projectName": null,
    "projectNo": null,
    "regionId": null,
    "regionName": null,
    "regionPath": null,
    "regionPathName": null,
    "requiredEndTime": null,
    "requiredStartTime": null,
    "reviewRuleId": null,
    "reviewRuleName": "",
    "saveDraft": "0",
    "sceneCode": "TS20230206201933023",
    "sceneId": 127790,
    "sceneLicense": null,
    "sceneMode": 4,
    "sceneName": "父子任务有扩展属性",
    "sceneTaskId": 3233357,
    "sceneVersion": "1.0",
    "schedulingMode": null,
    "signInConfig": null,
    "signSiteCode": "新建作业对象编码",
    "signSiteId": 99054145,
    "signSiteName": "新建作业对象名称",
    "skill": null,
    "status": 0,
    "subTaskList": [
        {
            "address": "",
            "administrativeDivision": null,
            "administrativeDivisionName": null,
            "allIssueList": [],
            "assignedUserId": "864221",
            "assignedUserName": "15319700143",
            "beginTimestamp": null,
            "ccPerson": "",
            "ccPersonGroup": "",
            "ccPersonGroupName": "",
            "ccPersonName": "",
            "collectionReviewName": null,
            "description": "",
            "endTimestamp": null,
            "isAppraisal": 0,
            "isNA": 0,
            "issueId": null,
            "keyPoint": null,
            "latitude": "",
            "licenseSwitch": 0,
            "longitude": "",
            "modeOrder": 1,
            "oldTaskName": "子任务1",
            "operationGuideList": [],
            "owner": "",
            "ownerGroup": "",
            "ownerGroupName": "",
            "ownerName": "",
            "parentTaskId": 3233357,
            "priority": null,
            "procedureOrNot": 0,
            "regionName": null,
            "regionPath": null,
            "sceneModeCode": "225814",
            "sceneTaskId": 1959907,
            "signSiteCode": "",
            "signSiteId": "",
            "signSiteName": "",
            "skill": null,
            "status": 0,
            "taskExtend": [
                {
                    "extendName": "实际工作量",
                    "extendType": 7,
                    "extendValue": "1.00",
                    "fieldOrder": 1,
                    "isNecessary": 1,
                    "maxValue": "2000.00",
                    "minValue": "1.00",
                    "precision": 2,
                    "sceneTaskId": 1959907,
                    "stage": 2,
                    "udfName": "UDF1",
                    "unitName": "公斤"
                },
                {
                    "extendName": "计划工作量",
                    "extendType": 7,
                    "extendValue": "1.00",
                    "fieldOrder": 2,
                    "isNecessary": 1,
                    "maxValue": "2000.00",
                    "minValue": "1.00",
                    "precision": 2,
                    "sceneTaskId": 1959907,
                    "stage": 1,
                    "udfName": "UDF2",
                    "unitName": "公斤"
                }
            ],
            "taskName": "子任务1",
            "taskObjectType": "",
            "taskType": 2,
            "templateCode": "",
            "templateName": "",
            "userGroup": "",
            "userGroupName": "",
            "version": ""
        },
        {
            "address": "",
            "administrativeDivision": null,
            "administrativeDivisionName": null,
            "allIssueList": [],
            "assignedUserId": "864221",
            "assignedUserName": "15319700143",
            "beginTimestamp": null,
            "ccPerson": "",
            "ccPersonGroup": "",
            "ccPersonGroupName": "",
            "ccPersonName": "",
            "collectionReviewName": null,
            "description": "",
            "endTimestamp": null,
            "isAppraisal": 0,
            "isNA": 0,
            "issueId": null,
            "keyPoint": null,
            "latitude": "",
            "licenseSwitch": 0,
            "longitude": "",
            "modeOrder": 2,
            "oldTaskName": "子任务2",
            "operationGuideList": [],
            "owner": "",
            "ownerGroup": "",
            "ownerGroupName": "",
            "ownerName": "",
            "parentTaskId": 3233357,
            "priority": null,
            "procedureOrNot": 0,
            "regionName": null,
            "regionPath": null,
            "sceneModeCode": "225815",
            "sceneTaskId": 1959908,
            "signSiteCode": "",
            "signSiteId": "",
            "signSiteName": "",
            "skill": null,
            "status": 0,
            "taskExtend": [
                {
                    "extendName": "实际工作量",
                    "extendType": 7,
                    "extendValue": "1.00",
                    "fieldOrder": 1,
                    "isNecessary": 1,
                    "maxValue": "2000.00",
                    "minValue": "1.00",
                    "precision": 2,
                    "sceneTaskId": 1959908,
                    "stage": 2,
                    "udfName": "UDF1",
                    "unitName": "公斤"
                },
                {
                    "extendName": "计划工作量",
                    "extendType": 7,
                    "extendValue": "1.00",
                    "fieldOrder": 2,
                    "isNecessary": 1,
                    "maxValue": "2000.00",
                    "minValue": "1.00",
                    "precision": 2,
                    "sceneTaskId": 1959908,
                    "stage": 1,
                    "udfName": "UDF2",
                    "unitName": "公斤"
                }
            ],
            "taskName": "子任务2",
            "taskObjectType": "",
            "taskType": 2,
            "templateCode": "",
            "templateName": "",
            "userGroup": "",
            "userGroupName": "",
            "version": ""
        }
    ],
    "supplierName": null,
    "taskExtend": [
        {
            "extendName": "计划工作量",
            "extendType": 7,
            "extendValue": "10",
            "fieldOrder": 1,
            "isNecessary": 1,
            "maxValue": "12.000",
            "minValue": "2.000",
            "precision": 3,
            "sceneTaskId": 3233357,
            "stage": 1,
            "udfName": "UDF20",
            "unitName": "公斤"
        },
        {
            "extendName": "实际工作量",
            "extendType": 6,
            "extendValue": "10",
            "fieldOrder": 2,
            "isNecessary": 2,
            "maxValue": "20",
            "minValue": "5",
            "precision": 0,
            "sceneTaskId": 3233357,
            "stage": 2,
            "udfName": "UDF1",
            "unitName": "公斤"
        }
    ],
    "taskMode": 4,
    "taskName": "新创建",
    "taskObjectType": "公路站",
    "taskRemark": null,
    "templateCode": null,
    "templateId": null,
    "templateName": null,
    "userGroup": "",
    "userGroupName": "",
    "version": null
}
support.huaweicloud.com/api-isdp/api_01_0040.html