ISDP-保存检查单模板KCP、ITEM信息(API名称:batchSaveTemplateKcp):请求示例

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

请求示例

{
"submitterAccount": "18025453735",
  "isAdditional": "Y",
  "templateModel": {
    "dataSource": "appcube",
    "type": 1,
    "templateChildType": 3,
    "templateCode": "QC2022XXXXXXXXXXXXX",
    "templateName": "模板名称017修改2",
    "serviceType": "作业",
    "locationType": "",
    "adminOrganizationCode": "830",
    "adminOrganizationName": "XX作业系统测试1",
    "remarks": "openPAI Test",
    "isNewVersion": "Y",
    "version": "1.0",
    "status": 2,
    "templateId": ""
  },
  "isPublish": true,
  "kcpList": [
    {
      "children": [
        {
          "outputList": [
            {
              "photoList": [
                
              ],
              "outputName": "输出项文本",
              "defaultValue": "默认值输出项文本",
              "outputType": 20,
              "accuracy": "",
              "collectScene": "0",
              "isNecessary": 1,
              "outputIndex": 0,
              "minValue": "",
              "enumValue": "",
              "maxPhoto": "",
              "videoList": [
                
              ],
              "isStrongWeak": "",
              "designValueOrder": "",
              "maxVideo": "",
              "designValue": ""
            }
          ],
          "allowedNa": 1,
          "isExemption": 0,
          "name": "item1"
        }
      ],
      "name": "new kcp1修改"
    }
  ]
}
support.huaweicloud.com/api-isdp/api_01_0222.html