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

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

响应示例

{
    "stateCode": "0",
    "errorMessage": "execute add success",
    "result": {
        "templateModel": {
            "adminOrganizationCode": "830",
            "adminOrganizationName": "XX作业系统测试1",
            "appName": "isdp-qc-server",
            "createdBy": 699960,
            "createName": "测试",
            "creationDate": "2022-07-14 16:13:54",
            "creationTimestamp": 1657786434813,
            "dataSource": "appcube",
            "deleteFlag": 0,
            "deliveryScene": null,
            "entityName": "qcTemplate",
            "indoor": null,
            "isCommandTemplate": 0,
            "isDefaultTemplate": 0,
            "isDesignItem": 0,
            "isManualReviewAutoPass": 1,
            "isNewVersion": "N",
            "isVideoAcceptance": 0,
            "lastUpdateDate": "2022-07-14 17:03:12",
            "lastUpdatedBy": 699960,
            "lastUpdateName": "测试",
            "lastUpdateTimestamp": 1657789392845,
            "locationType": "",
            "originalTemplateId": 263445,
            "otherRecognitionObjects": null,
            "outdoor": null,
            "personQualification": null,
            "ppeEquipsObject": null,
            "productForm": null,
            "productType": null,
            "projectCode": null,
            "remarks": "openPAI Test",
            "serviceType": "作业",
            "status": 1,
            "templateChildType": 3,
            "templateCode": "QC2022XXXXXXXXXXXXX",
            "templateId": 263445,
            "templateName": "模板名称017修改2",
            "templateParam": null,
            "tenantId": 886,
            "type": 1,
            "validRequired": 0,
            "version": "1.0"
        },
        "kcpList": [
            {
                "appName": "isdp-qc-server",
                "createdBy": 699960,
                "creationDate": "2022-07-14 16:13:54",
                "deleteFlag": 0,
                "demoVideoId": null,
                "entityName": "templateKcp",
                "kcpId": 286587,
                "kcpIndex": 0,
                "lastUpdateDate": "2022-07-14 16:13:54",
                "lastUpdatedBy": 699960,
                "name": "new kcp1修改",
                "score": 0,
                "templateId": 263445,
                "children": [
                    {
                        "collectNa": 0,
                        "allowedNa": 1,
                        "appName": "isdp-qc-server",
                        "createdBy": 699960,
                        "creationDate": "2022-07-14 16:13:54",
                        "deleteFlag": 0,
                        "entityName": "templateItem",
                        "handlerNameInspection": null,
                        "handlerNameQualityInspection": null,
                        "identificationType": null,
                        "intelligentReviewRules": null,
                        "isExemption": 0,
                        "issueHandlerInspection": null,
                        "issueHandlerQualityInspection": null,
                        "issueTypeInspection": null,
                        "issueTypeQualityInspection": null,
                        "itemCode": null,
                        "itemId": 3515751,
                        "itemIndex": 0,
                        "itemType": 0,
                        "kcpId": 286587,
                        "kcpIndex": 0,
                        "kcpName": null,
                        "lastUpdateDate": "2022-07-14 16:13:54",
                        "lastUpdatedBy": 699960,
                        "name": "item1",
                        "objectIndustryTypeId": null,
                        "objectIndustryTypeIdText": null,
                        "operationGuide": null,
                        "qualityStandard": null,
                        "rejectionReason": null,
                        "sceneTypeName": null,
                        "templateId": 263445,
                        "tenantId": 886,
                        "outputList": [
                            {
                                "appName": "isdp-qc-server",
                                "audioIdentifyInfo": null,
                                "collectScene": 0,
                                "compressionRatio": 0,
                                "createdBy": 699960,
                                "creationDate": "2022-07-14 16:13:54",
                                "defaultValue": "默认值输出项文本",
                                "deleteFlag": 0,
                                "demoPictureId": null,
                                "designValue": "",
                                "designValueOrder": "",
                                "deviationValue": null,
                                "entityName": "templateOutput",
                                "enumValue": "",
                                "intelligentObject": null,
                                "isNecessary": 1,
                                "isStrongWeak": null,
                                "itemId": 3515751,
                                "itemType": 0,
                                "lastUpdateDate": "2022-07-14 16:13:54",
                                "lastUpdatedBy": 699960,
                                "maxValue": null,
                                "measurementOrder": 0,
                                "minValue": "",
                                "outputCode": null,
                                "outputId": 43817057,
                                "outputIndex": 0,
                                "outputName": "输出项文本",
                                "outputType": 20,
                                "templateId": 263445
                            }
                        ]
                    }
                ]
            }
        ]
    }
}
support.huaweicloud.com/api-isdp/api_01_0222.html