ISDP-创建任务场景(API名称:createTaskSceneTemplate):请求示例

时间:2024-01-18 13:56:07

请求示例

{
    "taskSceneFileList": [],
    "taskSceneBaseFieldList": [
        {
            "itemId": "374104",
            "fieldName": "作业对象修11",
            "fieldStatus": 1,
            "itemAttr1": "2",
            "fieldCode": "location",
            "itemAttr3": "",
            "itemAttr2": "2",
            "itemAttr5": "",
            "itemAttr4": "",
            "fieldOrder": 1,
            "itemDesc": "ATTR1:状态(1-可用, 2-停用),ATTR2是否必填(1-必填, 2-不必填),ATTR3不可修改字段",
            "classifyCode": "QC_TASK_BASE_FIELD",
            "fieldIsNecessary": 1,
            "_RID": "row_1"
        },
        {
            "itemId": "374072",
            "fieldName": "行政区域修改11",
            "fieldStatus": 1,
            "itemAttr1": "",
            "fieldCode": "administrativeDivision",
            "itemAttr3": "",
            "itemAttr2": "2",
            "itemAttr5": "",
            "itemAttr4": "",
            "fieldOrder": 2,
            "itemDesc": "ATTR1:状态(1-可用, 2-停用),ATTR2是否必填(1-必填, 2-不必填),ATTR3不可修改字段",
            "classifyCode": "QC_TASK_BASE_FIELD",
            "fieldIsNecessary": 1,
            "_RID": "row_2"
        },
        {
            "itemId": "374073",
            "fieldName": "详细地址11",
            "fieldStatus": 2,
            "itemAttr1": "",
            "fieldCode": "address",
            "itemAttr3": "",
            "itemAttr2": "2",
            "itemAttr5": "",
            "itemAttr4": "",
            "fieldOrder": 3,
            "itemDesc": "ATTR1:状态(1-可用, 2-停用),ATTR2是否必填(1-必填, 2-不必填),ATTR3不可修改字段",
            "classifyCode": "QC_TASK_BASE_FIELD",
            "fieldIsNecessary": 2,
            "_RID": "row_3"
        },
        {
            "itemId": "375297",
            "fieldName": "项目修改11",
            "fieldStatus": 2,
            "itemAttr1": "2",
            "fieldCode": "projectNo",
            "itemAttr3": "",
            "itemAttr2": "2",
            "itemAttr5": "",
            "itemAttr4": "",
            "fieldOrder": 4,
            "itemDesc": "ATTR1:状态(1-可用, 2-停用),ATTR2是否必填(1-必填, 2-不必填),ATTR3不可修改字段",
            "classifyCode": "QC_TASK_BASE_FIELD",
            "fieldIsNecessary": 2,
            "_RID": "row_4"
        },
        {
            "itemId": "375298",
            "fieldName": "供应商1",
            "fieldStatus": 2,
            "itemAttr1": "2",
            "fieldCode": "supplier",
            "itemAttr3": "",
            "itemAttr2": "2",
            "itemAttr5": "",
            "itemAttr4": "",
            "fieldOrder": 5,
            "itemDesc": "ATTR1:状态(1-可用, 2-停用),ATTR2是否必填(1-必填, 2-不必填),ATTR3不可修改字段",
            "classifyCode": "QC_TASK_BASE_FIELD",
            "fieldIsNecessary": 2,
            "_RID": "row_5"
        },
        {
            "itemId": "374074",
            "fieldName": "客户1",
            "fieldStatus": 2,
            "itemAttr1": "",
            "fieldCode": "customer",
            "itemAttr3": "",
            "itemAttr2": "2",
            "itemAttr5": "",
            "itemAttr4": "",
            "fieldOrder": 6,
            "itemDesc": "ATTR1:状态(1-可用, 2-停用),ATTR2是否必填(1-必填, 2-不必填),ATTR3不可修改字段",
            "classifyCode": "QC_TASK_BASE_FIELD",
            "fieldIsNecessary": 2,
            "_RID": "row_6"
        },
        {
            "itemId": "374075",
            "fieldName": "标准作业时长1",
            "fieldStatus": 2,
            "itemAttr1": "",
            "fieldCode": "jobDuration",
            "itemAttr3": "",
            "itemAttr2": "2",
            "itemAttr5": "",
            "itemAttr4": "",
            "fieldOrder": 7,
            "itemDesc": "ATTR1:状态(1-可用, 2-停用),ATTR2是否必填(1-必填, 2-不必填),ATTR3不可修改字段",
            "classifyCode": "QC_TASK_BASE_FIELD",
            "fieldIsNecessary": 2,
            "_RID": "row_7"
        },
        {
            "itemId": "374076",
            "fieldName": "工期1",
            "fieldStatus": 2,
            "itemAttr1": "",
            "fieldCode": "projectDuration",
            "itemAttr3": "",
            "itemAttr2": "2",
            "itemAttr5": "",
            "itemAttr4": "",
            "fieldOrder": 8,
            "itemDesc": "ATTR1:状态(1-可用, 2-停用),ATTR2是否必填(1-必填, 2-不必填),ATTR3不可修改字段",
            "classifyCode": "QC_TASK_BASE_FIELD",
            "fieldIsNecessary": 2,
            "_RID": "row_8"
        },
        {
            "itemId": "375299",
            "fieldName": "计划开始时间1",
            "fieldStatus": 1,
            "itemAttr1": "2",
            "fieldCode": "planBeginDate",
            "itemAttr3": "",
            "itemAttr2": "2",
            "itemAttr5": "",
            "itemAttr4": "",
            "fieldOrder": 9,
            "itemDesc": "ATTR1:状态(1-可用, 2-停用),ATTR2是否必填(1-必填, 2-不必填),ATTR3不可修改字段",
            "classifyCode": "QC_TASK_BASE_FIELD",
            "fieldIsNecessary": 1,
            "_RID": "row_9"
        },
        {
            "itemId": "375300",
            "fieldName": "计划完成时间1",
            "fieldStatus": 1,
            "itemAttr1": "2",
            "fieldCode": "planEndDate",
            "itemAttr3": "",
            "itemAttr2": "2",
            "itemAttr5": "",
            "itemAttr4": "",
            "fieldOrder": 10,
            "itemDesc": "ATTR1:状态(1-可用, 2-停用),ATTR2是否必填(1-必填, 2-不必填),ATTR3不可修改字段",
            "classifyCode": "QC_TASK_BASE_FIELD",
            "fieldIsNecessary": 1,
            "_RID": "row_10"
        },
        {
            "itemId": "374077",
            "fieldName": "要求开始时间1",
            "fieldStatus": 2,
            "itemAttr1": "",
            "fieldCode": "requiredStartTime",
            "itemAttr3": "",
            "itemAttr2": "2",
            "itemAttr5": "",
            "itemAttr4": "",
            "fieldOrder": 11,
            "itemDesc": "ATTR1:状态(1-可用, 2-停用),ATTR2是否必填(1-必填, 2-不必填),ATTR3不可修改字段",
            "classifyCode": "QC_TASK_BASE_FIELD",
            "fieldIsNecessary": 2,
            "_RID": "row_11"
        },
        {
            "itemId": "374078",
            "fieldName": "要求完成时间1",
            "fieldStatus": 2,
            "itemAttr1": "",
            "fieldCode": "requiredEndTime",
            "itemAttr3": "",
            "itemAttr2": "2",
            "itemAttr5": "",
            "itemAttr4": "",
            "fieldOrder": 12,
            "itemDesc": "ATTR1:状态(1-可用, 2-停用),ATTR2是否必填(1-必填, 2-不必填),ATTR3不可修改字段",
            "classifyCode": "QC_TASK_BASE_FIELD",
            "fieldIsNecessary": 2,
            "_RID": "row_12"
        },
        {
            "itemId": "374079",
            "fieldName": "优先级1",
            "fieldStatus": 2,
            "itemAttr1": "",
            "fieldCode": "priority",
            "itemAttr3": "",
            "itemAttr2": "2",
            "itemAttr5": "",
            "itemAttr4": "",
            "fieldOrder": 13,
            "itemDesc": "ATTR1:状态(1-可用, 2-停用),ATTR2是否必填(1-必填, 2-不必填),ATTR3不可修改字段",
            "classifyCode": "QC_TASK_BASE_FIELD",
            "fieldIsNecessary": 2,
            "_RID": "row_13"
        },
        {
            "itemId": "374038",
            "fieldName": "要求技能1",
            "fieldStatus": 2,
            "itemAttr1": "",
            "fieldCode": "skill",
            "itemAttr3": "",
            "itemAttr2": "2",
            "itemAttr5": "",
            "itemAttr4": "",
            "fieldOrder": 14,
            "itemDesc": "ATTR1:状态(1-可用, 2-停用),ATTR2是否必填(1-必填, 2-不必填),ATTR3不可修改字段",
            "classifyCode": "QC_TASK_BASE_FIELD",
            "fieldIsNecessary": 2,
            "_RID": "row_14"
        },
        {
            "itemId": "374080",
            "fieldName": "调度模式1",
            "fieldStatus": 2,
            "itemAttr1": "",
            "fieldCode": "schedulingMode",
            "itemAttr3": "",
            "itemAttr2": "2",
            "itemAttr5": "",
            "itemAttr4": "",
            "fieldOrder": 15,
            "itemDesc": "ATTR1:状态(1-可用, 2-停用),ATTR2是否必填(1-必填, 2-不必填),ATTR3不可修改字段",
            "classifyCode": "QC_TASK_BASE_FIELD",
            "fieldIsNecessary": 2,
            "_RID": "row_15"
        },
        {
            "itemId": "375305",
            "fieldName": "操作指导1",
            "fieldStatus": 2,
            "itemAttr1": "2",
            "fieldCode": "operationGuide",
            "itemAttr3": "fieldIsNecessary",
            "itemAttr2": "2",
            "itemAttr5": "",
            "itemAttr4": "",
            "fieldOrder": 16,
            "itemDesc": "ATTR1:状态(1-可用, 2-停用),ATTR2是否必填(1-必填, 2-不必填),ATTR3不可修改字段",
            "classifyCode": "QC_TASK_BASE_FIELD",
            "fieldIsNecessary": 2,
            "_RID": "row_16"
        },
        {
            "itemId": "375304",
            "fieldName": "附件1",
            "fieldStatus": 2,
            "itemAttr1": "2",
            "fieldCode": "attachment",
            "itemAttr3": "",
            "itemAttr2": "2",
            "itemAttr5": "",
            "itemAttr4": "",
            "fieldOrder": 17,
            "itemDesc": "ATTR1:状态(1-可用, 2-停用),ATTR2是否必填(1-必填, 2-不必填),ATTR3不可修改字段",
            "classifyCode": "QC_TASK_BASE_FIELD",
            "fieldIsNecessary": 2,
            "_RID": "row_17"
        },
        {
            "itemId": "375303",
            "fieldName": "关联问题1",
            "fieldStatus": 2,
            "itemAttr1": "2",
            "fieldCode": "associatedIssues",
            "itemAttr3": "",
            "itemAttr2": "2",
            "itemAttr5": "",
            "itemAttr4": "",
            "fieldOrder": 18,
            "itemDesc": "ATTR1:状态(1-可用, 2-停用),ATTR2是否必填(1-必填, 2-不必填),ATTR3不可修改字段",
            "classifyCode": "QC_TASK_BASE_FIELD",
            "fieldIsNecessary": 2,
            "_RID": "row_18"
        },
        {
            "itemId": "375302",
            "fieldName": "任务描述12",
            "fieldStatus": 2,
            "itemAttr1": "2",
            "fieldCode": "taskDescription",
            "itemAttr3": "",
            "itemAttr2": "2",
            "itemAttr5": "",
            "itemAttr4": "",
            "fieldOrder": 19,
            "itemDesc": "ATTR1:状态(1-可用, 2-停用),ATTR2是否必填(1-必填, 2-不必填),ATTR3不可修改字段",
            "classifyCode": "QC_TASK_BASE_FIELD",
            "fieldIsNecessary": 2,
            "_RID": "row_19"
        },
        {
            "itemId": "379610",
            "fieldName": "抄送人1",
            "fieldStatus": 2,
            "itemAttr1": "",
            "fieldCode": "ccPerson",
            "itemAttr3": "",
            "itemAttr2": "",
            "itemAttr5": "",
            "itemAttr4": "",
            "fieldOrder": 20,
            "itemDesc": "",
            "classifyCode": "QC_TASK_BASE_FIELD",
            "fieldIsNecessary": 2,
            "_RID": "row_20"
        },
        {
            "itemId": "379746",
            "fieldName": "责任人1",
            "fieldStatus": 2,
            "itemAttr1": "",
            "fieldCode": "owner",
            "itemAttr3": "",
            "itemAttr2": "",
            "itemAttr5": "",
            "itemAttr4": "",
            "fieldOrder": 21,
            "itemDesc": "",
            "classifyCode": "QC_TASK_BASE_FIELD",
            "fieldIsNecessary": 2,
            "_RID": "row_21"
        },
        {
            "fieldName": "执行人",
            "fieldStatus": 1,
            "fieldIsNecessary": 1,
            "fieldCode": "executor",
            "fieldOrder": 22,
            "fieldDefaultValue": [],
            "_RID": "row_22"
        },
        {
            "itemId": "630405",
            "fieldName": "许可配置1",
            "fieldStatus": 2,
            "itemAttr1": "",
            "fieldCode": "licenseConfig",
            "itemAttr3": "",
            "itemAttr2": "2",
            "itemAttr5": "",
            "itemAttr4": "",
            "fieldOrder": 23,
            "itemDesc": "ATTR1:状态(1-可用, 2-停用),ATTR2是否必填(1-必填, 2-不必填),ATTR3不可修改字段",
            "classifyCode": "QC_TASK_BASE_FIELD",
            "fieldIsNecessary": 2
        },
        {
            "itemId": "375301",
            "fieldName": "审批流配置1",
            "fieldStatus": 2,
            "itemAttr1": "",
            "fieldCode": "reviewRuleConfig",
            "itemAttr3": "",
            "itemAttr2": "2",
            "itemAttr5": "",
            "itemAttr4": "",
            "fieldOrder": 24,
            "itemDesc": "ATTR1:状态(1-可用, 2-停用),ATTR2是否必填(1-必填, 2-不必填),ATTR3不可修改字段",
            "classifyCode": "QC_TASK_BASE_FIELD",
            "fieldIsNecessary": 2
        },
        {
            "itemId": "630406",
            "fieldName": "关联视频设备1",
            "fieldStatus": 2,
            "itemAttr1": "",
            "fieldCode": "associatingVideoDevice",
            "itemAttr3": "",
            "itemAttr2": "2",
            "itemAttr5": "",
            "itemAttr4": "",
            "fieldOrder": 25,
            "itemDesc": "ATTR1:状态(1-可用, 2-停用),ATTR2是否必填(1-必填, 2-不必填),ATTR3不可修改字段",
            "classifyCode": "QC_TASK_BASE_FIELD",
            "fieldIsNecessary": 2
        },
        {
            "itemId": "377320",
            "fieldName": "打卡配置1",
            "fieldStatus": 2,
            "itemAttr1": "",
            "fieldCode": "signInConfig",
            "itemAttr3": "",
            "itemAttr2": "",
            "itemAttr5": "",
            "itemAttr4": "",
            "fieldOrder": 26,
            "itemDesc": "ATTR1:状态(1-可用, 2-停用),ATTR2是否必填(1-必填, 2-不必填),ATTR3不可修改字段",
            "classifyCode": "QC_TASK_BASE_FIELD",
            "fieldIsNecessary": 2
        }
    ],
    "taskSceneExtendFieldList": [
        {
            "id": 2709,
            "category": 1,
            "parentExtendId": 0,
            "fieldName": "长文本有值",
            "fieldStatus": 1,
            "fieldIsNecessary": 1,
            "fieldOrder": 1,
            "fieldValue": "",
            "fieldDefaultValue": "12345678902345678901234567890123456789012123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012312345678901234567890123456789012345678901212345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890345678901456789034567890",
            "scopeList": [
                1,
                2
            ],
            "fieldCode": "UDF15",
            "fieldType": 1,
            "enumList": [],
            "_RID": "row_23",
            "sceneExtendEnumFieldList": []
        }
    ],
    "sceneMode": 2,
    "taskSceneModeList": [
        {
            "sceneMode": 2,
            "templateId": 263489,
            "templateCode": "QC2022XXXXXXXXXXXX",
            "templateVersion": "1.0",
            "templateName": "模板名称023",
            "templateType": 1,
            "isAppraisal": 1,
            "collectionReviewId": "",
            "collectionReviewName": "",
            "modeOrder": 1,
            "sceneModeName": "",
            "licenseSwitch": 0,
            "oldSceneModeName": ""
        }
    ],
    "reviewProcessName": "",
    "reviewProcessId": "",
    "isApplyApprove": null,
    "sceneLicense": null,
    "signInConfig": "1",
    "headerInfo": {
        "sceneName": "场景名称1111",
        "sceneRemark": "场景描述",
        "adminOrganizationCode": 830,
        "adminOrganizationName": "杨凌作业系统测试1",
        "coverId": "",
        "category": "1",
        "id": 3294
    },
    "sceneStatus": 1,
    "operationFlag": "Y"
}
support.huaweicloud.com/api-isdp/api_01_0025.html