华为云用户手册

  • 请求参数 参数 类型 是否必填 描述 sceneTaskId Long 否 父任务/子任务/工序id,只能单个查 获取父任务id API请参见:查询父任务(API名称:queryParentTaskList);获取子任务id API请参见:查询子任务(API名称:querySubTaskList);获取工序id API请参见:查询工序(API名称:queryProcedureList) sceneTaskId和sceneTaskIdList只是一个不能为空 sceneTaskIdList List 否 任务数组 sceneTaskId和sceneTaskIdList只是一个不能为空 taskType Integer 是 任务类型: 1:父任务 2:子任务 3:工序 userType Integer 是 人员类型: 1:执行人或群组 2:审批人 pageStart Ineteger 是 当前页码 pageSize Ineteger 是 每页数量
  • 相关接口 接口名称 调用说明 获取Token 调用该接口获取到Token,再调用其他接口时,需要在请求消息头中添加“Authorization”,其值即为Token。 查询父任务 调用该接口获取到父任务ID。 查询执行人或评审人时,如果查询父任务的执行人或评审人,需要输入父任务ID。 查询子任务 调用该接口获取到子任务ID。 查询执行人或评审人时,如果查询子任务的执行人或评审人,需要输入子任务ID。 查询工序 调用该接口获取到工序ID。 查询执行人或评审人时,如果查询工序的执行人或评审人,需要输入工序ID。
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": { "data": [ { "appName": "isdp-task-server", "createdBy": 25804, "createName": "张三01", "creationDate": "2021-07-07T16:00:01.000+00:00", "creationTimestamp": 1625673601764, "deleteFlag": 0, "entityName": "IsdpTaskUserInfo", "id": 132457, "isEleSign": 0, "isTodoReview": 0, "lastUpdateDate": "2021-07-07T16:00:01.000+00:00", "lastUpdatedBy": 25804, "lastUpdateName": "张三01", "lastUpdateTimestamp": 1625673601764, "remark": null, "revieweMode": 0, "sceneTaskId": 91655, "taskType": 2, "tenantId": 886, "userAndGroupId": null, "userId": 25804, "userName": "李四01", "userType": 1 }, { "appName": "isdp-task-server", "createdBy": 25804, "createName": "张三01", "creationDate": "2021-07-08T02:00:01.000+00:00", "creationTimestamp": 1625709601291, "deleteFlag": 0, "entityName": "IsdpTaskUserInfo", "id": 132663, "isEleSign": 0, "isTodoReview": 0, "lastUpdateDate": "2021-07-08T02:00:01.000+00:00", "lastUpdatedBy": 25804, "lastUpdateName": "张三01", "lastUpdateTimestamp": 1625709601291, "remark": null, "revieweMode": 0, "sceneTaskId": 91747, "taskType": 2, "tenantId": 886, "userAndGroupId": null, "userId": 25804, "userName": "李四01", "userType": 1 } ], "pos": 1, "total_count": 3, "entityName": null, "totalCount": 3 } }
  • 响应示例 { "data":[ { "customerCode":"AAA1", "customerName":"AAAAA2", "tenantId":1008611, "customerGroupName":"TEST", "customerGroupCode":"TX" }, { "customerCode":"AAAAA", "customerName":"AAAAAB", "tenantId":1008611, "customerGroupName":"TEST", "customerGroupCode":"TX" } ], "pos":0, "total_count":2, "entityName":null, "totalCount":2 }
  • 响应示例 返回键值对,key是任务ID,值是问题数量。 { "stateCode": "0", "errorMessage": null, "result": { "data": [ { "taskScheduleId": 4611, "platJobId": 1041730, "taskScheduleName": "wwwwww333", "isEnable": 1, "createdBy": 390841, "createName": "zdrun-test", "lastUpdatedBy": 390841, "lastUpdateName": "zdrun-test", "creationDate": "2022-07-15 10:43:33", "lastUpdateDate": "2022-07-15 15:03:00", "creationTimestamp": 1657853013412, "lastUpdateTimestamp": 1657868580458, "deleteFlag": 0 } ], "pos": 0, "total_count": 1, "entityName": null, "totalCount": 1 } }
  • 响应参数 参数 类型 描述 stateCode String 响应编码。 errorMessage String 错误信息。 result Object 响应数据。 result中对象说明: 参数 类型 描述 extendName String 自定义扩展属性名称。 extendType Integer 扩展字段类型。 1:文本 2:枚举 3:多枚举 4:日期 5:时间 extendValue String 扩展属性值。 udfName String 扩展属性编码。 isNecessary Integer 是否必填。 0:不必填 1:必填
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": [ { "extendName": "修改名称", "extendValue": "3-值", "extendType": 1, "udfName": "UDF1", "isNecessary": 2 }, { "extendName": "新增13", "extendValue": null, "extendType": 1, "udfName": "UDF13", "isNecessary": 2 }, { "extendName": "新增18", "extendValue": null, "extendType": 1, "udfName": "UDF14", "isNecessary": 2 }, { "extendName": "23232323", "extendValue": "23232323-值", "extendType": 1, "udfName": "UDF15", "isNecessary": 1 }, { "extendName": "临时任务-文本", "extendValue": null, "extendType": 1, "udfName": "UDF16", "isNecessary": 2 } ] }
  • 请求参数 参数 类型 是否必填 描述 deviceId String 是 设备编号 verificationCode String 是 设备验证码 deviceName String 否 设备名称 deviceAddress String 否 设备地址 projectName String 否 项目名称 model String 否 设备型号 deviceType String 是 设备类型 deviceManageState String 否 设备管理状态 deviceSubType String 否 子设备类型 accessProtocol String 是 接入协议 manufacture String 否 生产厂商 description String 否 描述 deviceAddressNumber String 否 设备地址编码 projectNumber String 否 项目编码 autoJoin String 否 是否主动入会 ownnerId String 否 设备责任人ID
  • 请求示例 { "deviceId": "device1230", "verificationCode": "device1230", "deviceName": "device1230", "deviceAddress": "", "projectName": "", "model": "", "deviceType": "WEBCAM", "deviceManageState": "", "deviceSubType": "IPC", "accessProtocol": "其他", "manufacture": "", "description": "", "deviceAddressNumber": "", "projectNumber": "", "autoJoin": "", "ownnerId": "" }
  • 响应参数 参数 类型 描述 stateCode int 返回状态,0-正常;其他-异常 errorMessage String 错误消息描述 result Object 列表详细数据 result出参: 参数 类型 描述 pos int 当前页,从0开始 total_count int 总数 data Object 列表详细数据 data出参: 参数 类型 描述 ticketId Long 许可id ticketName String 许可名称 ticketCode String 许可编码 licenseSysStatus Int 许可系统状态:未许可、已许可、已终结、已取消 licenseBusiStatus Long 许可业务状态:许可业务状态表主键ID adminOrganizationName String 组织单元名称 adminOrganization Long 组织单元id sceneId Long 场景id sceneCode String 场景编码 ticketCurrentPhaseId Long 当前阶段id ticketPhaseCount Int 阶段总数量 ticketRemark String 阶段备注 sceneName String 场景名称 systemStatusName String 系统状态名称
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": { "data": [ { "ticketId": 64183, "ticketName": "XXXX123", "ticketCode": "SaasTenant886_20220227_014905", "ph": { "ticketPhaseStatus": 2 }, "licenseSysStatus": "1", "licenseBusiStatus": 1083, "adminOrganizationName": "XX作业系统测试", "deleteReason": null, "adminOrganization": "830", "sceneId": 95943, "sceneCode": "PS20210824112934306", "tenantId": 886, "ticketCurrentPhaseId": 165938, "ticketPhaseCount": 2, "ticketRemark": "", "createName": "杨XX", "createdBy": 391001, "lastUpdatedBy": 391001, "lastUpdateName": "杨XX", "creationTimestamp": 1645891469408, "lastUpdateTimestamp": 1645891489563, "sceneName": "yytest_许可", "version": "1.8", "systemStatusName": "草稿", "ownerName": "杨XX", "ownerId": "391001" } ], "pos": 0, "total_count": 26268, "entityName": null, "totalCount": 26268 } }
  • 请求示例 { "customerTaskId": ["123456","23456"], "taskId":[123456,23456], "projectNo ": "123-my project", "signSiteCode": ["my-signSiteCode"], "updateBeginDate ": "2020-09-01", "updateEndDate ": "2020-09-09" }
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": { "data": [ { "projectNo": "0813-xiaoXX编码", "customerTaskId": null, "taskId": 203742, "taskName": "0813-xiaoXX编码-0813-xiaoXX-XX区-0813-xiaoXX位置-0813-xiaoXX位置-XX代表处-dddd33", "signSiteId": 420421, "signSiteCode": "0813-xiaoXX作业对象", "signSiteName": "0813-xiaoXX作业对象", "templateId": 4148, "templateCode": "QC202XXXXXXXXXXXXX", "templateName": "巡检-xiaoXX0804", "version": "1.0", "updateDate": "2020-08-27T08:30:51.000+00:00", "createDate": "2020-08-26T07:04:20.000+00:00", "planStartTime": null, "planEndTime": "2020-08-28T16:00:00.000+00:00", "partner": "XX供应商", "status": 2, "statusCollection": 3, "statusApprove": 4, "firstCommitter": null, "firstSupplierName": null, "firstSubmitDate": null, "lastcommitter": "刘XX", "lastSubmitDate": null, "reviewEndDate": "2020-08-27T08:30:51.000+00:00", "reviewBeginDate": "2020-08-26T07:20:58.000+00:00", "kcps": [ { "kcpId": 4243, "kcpName": "验证kcp1", "templateId": 4148, "items": [ { "itemId": 6165, "kcpId": 4243, "itemName": "验证含有自检自检问题+图片样例图", "itemGuide": "", "itemStandard": "", "qualificationType": 1, "outPutMessages": [ { "itemId": 6165, "outPutId": 12886, "outPutName": "图片01", "outPutType": 13, "isNecessary": 0, "collectDatas": [ { "outputId": 12886, "itemId": 6165, "taskId": 203742, "content": "38330", "contentType": 13, "identifies": [], }, { "outputId": 12886, "itemId": 6165, "taskId": 203742, "content": "38331", "contentType": 13, "identifies": [], }, { "outputId": 12886, "itemId": 6165, "taskId": 203742, "content": "38332", "contentType": 13, "identifies": [], }, { "outputId": 12886, "itemId": 6165, "taskId": 203742, "content": "38333", "contentType": 13, "identifies": [], }, { "outputId": 12886, "itemId": 6165, "taskId": 203742, "content": "38335", "contentType": 13, "identifies": [], }, { "outputId": 12886, "itemId": 6165, "taskId": 203742, "content": "38334", "contentType": 13, "identifies": [], }, { "outputId": 12886, "itemId": 6165, "taskId": 203742, "content": "38336", "contentType": 13, "identifies": [], }, { "outputId": 12886, "itemId": 6165, "taskId": 203742, "content": "38337", "contentType": 13, "identifies": [], }, { "outputId": 12886, "itemId": 6165, "taskId": 203742, "content": "38338", "contentType": 13, "identifies": [], }, ], }, { "itemId": 6165, "outPutId": 12887, "outPutName": "图片03", "outPutType": 13, "isNecessary": 0, "collectDatas": [ { "outputId": 12887, "itemId": 6165, "taskId": 203742, "content": "38349", "contentType": 13, "identifies": [], } ], }, { "itemId": 6165, "outPutId": 12888, "outPutName": "图片02", "outPutType": 13, "isNecessary": 0, "collectDatas": [ { "outputId": 12888, "itemId": 6165, "taskId": 203742, "content": "38350", "contentType": 13, "identifies": [], } ], }, { "itemId": 6165, "outPutId": 12889, "outPutName": "文本", "outPutType": 2, "isNecessary": 0, "collectDatas": [ { "outputId": 12889, "itemId": 6165, "taskId": 203742, "content": "验证文档生成", "contentType": 2, "identifies": [], } ], }, { "itemId": 6165, "outPutId": 12890, "outPutName": "整数", "outPutType": 5, "isNecessary": 0, "collectDatas": [ { "outputId": 12890, "itemId": 6165, "taskId": 203742, "content": "55", "contentType": 5, "identifies": [], } ], }, { "itemId": 6165, "outPutId": 12891, "outPutName": "小数", "outPutType": 6, "isNecessary": 0, "collectDatas": [ { "outputId": 12891, "itemId": 6165, "taskId": 203742, "content": "6.789", "contentType": 6, "identifies": [], } ], }, ], }, { "itemId": 6166, "kcpId": 4243, "itemName": "所有输出项", "itemGuide": "", "itemStandard": "", "qualificationType": 1, "outPutMessages": [ { "itemId": 6166, "outPutId": 12892, "outPutName": "图片", "outPutType": 13, "isNecessary": 0, "collectDatas": [ { "outputId": 12892, "itemId": 6166, "taskId": 203742, "content": "38353", "contentType": 13, "identifies": [], } ], }, { "itemId": 6166, "outPutId": 12893, "outPutName": "视频", "outPutType": 14, "isNecessary": 0, "collectDatas": [ { "outputId": 12893, "itemId": 6166, "taskId": 203742, "content": "38355", "contentType": 3, "identifies": [], } ], }, { "itemId": 6166, "outPutId": 12894, "outPutName": "图片/视频", "outPutType": 3, "isNecessary": 0, "collectDatas": [ { "outputId": 12894, "itemId": 6166, "taskId": 203742, "content": "38358", "contentType": 13, "identifies": [], }, { "outputId": 12894, "itemId": 6166, "taskId": 203742, "content": "38357", "contentType": 3, "identifies": [], }, ], }, { "itemId": 6166, "outPutId": 12895, "outPutName": "文本-含有默认必填", "outPutType": 2, "isNecessary": 1, "collectDatas": [ { "outputId": 12895, "itemId": 6166, "taskId": 203742, "content": "含有默认值-生0813-xiaoXX位置0813-xiaoXX位置0813-xiaoXX位置0813-xiaoXX位置成文档", "contentType": 2, "identifies": [], } ], }, { "itemId": 6166, "outPutId": 12896, "outPutName": "整数", "outPutType": 5, "isNecessary": 0, "collectDatas": [ { "outputId": 12896, "itemId": 6166, "taskId": 203742, "content": "888", "contentType": 5, "identifies": [], } ], }, { "itemId": 6166, "outPutId": 12897, "outPutName": "小数", "outPutType": 6, "isNecessary": 0, "collectDatas": [ { "outputId": 12897, "itemId": 6166, "taskId": 203742, "content": "5.55", "contentType": 6, "identifies": [], } ], }, { "itemId": 6166, "outPutId": 12898, "outPutName": "枚举", "outPutType": 1, "isNecessary": 0, "collectDatas": [ { "outputId": 12898, "itemId": 6166, "taskId": 203742, "content": "789", "contentType": 1, "identifies": [], } ], }, { "itemId": 6166, "outPutId": 12899, "outPutName": "多枚举", "outPutType": 4, "isNecessary": 0, "collectDatas": [ { "outputId": 12899, "itemId": 6166, "taskId": 203742, "content": "123;PPP", "contentType": 4, "identifies": [], } ], }, { "itemId": 6166, "outPutId": 12900, "outPutName": "GPS", "outPutType": 11, "isNecessary": 0, "collectDatas": [ { "outputId": 12900, "itemId": 6166, "taskId": 203742, "content": "174.2359685456526,11.2256965546", "contentType": 11, "identifies": [], } ], }, { "itemId": 6166, "outPutId": 12901, "outPutName": "条码", "outPutType": 9, "isNecessary": 0, "collectDatas": [ { "outputId": 12901, "itemId": 6166, "taskId": 203742, "content": "2020011509", "contentType": 9, "identifies": [], } ], }, { "itemId": 6166, "outPutId": 12902, "outPutName": "条码_photo", "outPutType": 13, "isNecessary": 0, "collectDatas": [ { "outputId": 12902, "itemId": 6166, "taskId": 203742, "content": "38360", "contentType": 13, "identifies": [], } ], }, { "itemId": 6166, "outPutId": 12903, "outPutName": "日期", "outPutType": 7, "isNecessary": 0, "collectDatas": [ { "outputId": 12903, "itemId": 6166, "taskId": 203742, "content": "2020-08-28", "contentType": 7, "identifies": [], } ], }, { "itemId": 6166, "outPutId": 12904, "outPutName": "文件", "outPutType": 16, "isNecessary": 0, "collectDatas": [ { "outputId": 12904, "itemId": 6166, "taskId": 203742, "content": "38361", "contentType": 16, "identifies": [], } ], }, { "itemId": 6166, "outPutId": 12905, "outPutName": "时间", "outPutType": 15, "isNecessary": 0, "collectDatas": [ { "outputId": 12905, "itemId": 6166, "taskId": 203742, "content": "2020-08-26 16:35:25", "contentType": 15, "identifies": [], } ], }, ], }, ], }, { "kcpId": 4244, "kcpName": "验证 kcp2", "templateId": 4148, "items": [ { "itemId": 6167, "kcpId": 4244, "itemName": "含有智能对象-荧光服人,安全帽", "itemGuide": "", "itemStandard": "", "qualificationType": 1, "outPutMessages": [ { "itemId": 6167, "outPutId": 12906, "outPutName": "图片01", "outPutType": 13, "isNecessary": 0, "collectDatas": [ { "outputId": 12906, "itemId": 6167, "taskId": 203742, "content": "38362", "contentType": 13, "identifies": [], } ], }, { "itemId": 6167, "outPutId": 12907, "outPutName": "图片02", "outPutType": 13, "isNecessary": 0, "collectDatas": [ { "outputId": 12907, "itemId": 6167, "taskId": 203742, "content": "38363", "contentType": 13, "identifies": [], } ], }, ], }, { "itemId": 6168, "kcpId": 4244, "itemName": "作业人员资质,电工+塔工", "itemGuide": "", "itemStandard": "", "qualificationType": 1, "outPutMessages": [ { "itemId": 6168, "outPutId": 12908, "outPutName": "要求的资质", "outPutType": 2, "isNecessary": 0, "collectDatas": [ { "outputId": 12908, "itemId": 6168, "taskId": 203742, "content": "塔工证;电工证", "contentType": 2, "identifies": [], } ], }, { "itemId": 6168, "outPutId": 12909, "outPutName": "采集的账号和资质", "outPutType": 2, "isNecessary": 0, "collectDatas": [], }, { "itemId": 6168, "outPutId": 12910, "outPutName": "资质校验结果", "outPutType": 2, "isNecessary": 0, "collectDatas": [ { "outputId": 12910, "itemId": 6168, "taskId": 203742, "content": "N(塔工证;电工证)", "contentType": 2, "identifies": [], } ], }, { "itemId": 6168, "outPutId": 12911, "outPutName": "文本", "outPutType": 2, "isNecessary": 0, "collectDatas": [ { "outputId": 12911, "itemId": 6168, "taskId": 203742, "content": "手机端采集", "contentType": 2, "identifies": [], } ], }, ], }, ], }, { "kcpId": 4245, "kcpName": "验证kcp3", "templateId": 4148, "items": [ { "itemId": 6169, "kcpId": 4245, "itemName": "验证含有必填非必填", "itemGuide": "", "itemStandard": "", "qualificationType": 1, "outPutMessages": [ { "itemId": 6169, "outPutId": 12912, "outPutName": "日期-必填", "outPutType": 7, "isNecessary": 1, "collectDatas": [ { "outputId": 12912, "itemId": 6169, "taskId": 203742, "content": "2020-08-26", "contentType": 7, "identifies": [], } ], }, { "itemId": 6169, "outPutId": 12913, "outPutName": "文本-必填", "outPutType": 2, "isNecessary": 1, "collectDatas": [ { "outputId": 12913, "itemId": 6169, "taskId": 203742, "content": "文本-*必填报告生成", "contentType": 2, "identifies": [], } ], }, { "itemId": 6169, "outPutId": 12914, "outPutName": "图片-非", "outPutType": 13, "isNecessary": 0, "collectDatas": [ { "outputId": 12914, "itemId": 6169, "taskId": 203742, "content": "38364", "contentType": 13, "identifies": [], }, { "outputId": 12914, "itemId": 6169, "taskId": 203742, "content": "38366", "contentType": 13, "identifies": [], }, { "outputId": 12914, "itemId": 6169, "taskId": 203742, "content": "38365", "contentType": 13, "identifies": [], }, { "outputId": 12914, "itemId": 6169, "taskId": 203742, "content": "38368", "contentType": 13, "identifies": [], }, { "outputId": 12914, "itemId": 6169, "taskId": 203742, "content": "38369", "contentType": 13, "identifies": [], }, { "outputId": 12914, "itemId": 6169, "taskId": 203742, "content": "38367", "contentType": 13, "identifies": [], }, { "outputId": 12914, "itemId": 6169, "taskId": 203742, "content": "38372", "contentType": 13, "identifies": [], }, { "outputId": 12914, "itemId": 6169, "taskId": 203742, "content": "38373", "contentType": 13, "identifies": [], }, { "outputId": 12914, "itemId": 6169, "taskId": 203742, "content": "38371", "contentType": 13, "identifies": [], }, { "outputId": 12914, "itemId": 6169, "taskId": 203742, "content": "38374", "contentType": 13, "identifies": [], }, { "outputId": 12914, "itemId": 6169, "taskId": 203742, "content": "38370", "contentType": 13, "identifies": [], }, { "outputId": 12914, "itemId": 6169, "taskId": 203742, "content": "38375", "contentType": 13, "identifies": [], }, { "outputId": 12914, "itemId": 6169, "taskId": 203742, "content": "38376", "contentType": 13, "identifies": [], }, { "outputId": 12914, "itemId": 6169, "taskId": 203742, "content": "38377", "contentType": 13, "identifies": [], }, ], }, ], } ], }, ], } ], "pos": 0, "total_count": 1, }, }
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": { "data": [ { "templateId": 19650, "templateCode": "QC202XXXXXXXXXXXXXX", "templateName": "0228-生产设计-2", "projectCode": "0228-生产新版本验证-项目编码", "serviceType": "质量检查", "deliveryScene": "交付场景", "productType": "产品类别", "productForm": "", "locationType": "绿地站", "isDefaultTemplate": 0, "version": "1.0", "status": 1, "type": 1, "remarks": "", "createdBy": 58114, "lastUpdatedBy": 58114, "lastUpdateName": "2021-02-28T01:44:37.000+00:00", } ], "pos": 0, "total_count": 189, "entityName": null, }, }
  • 响应参数 参数 类型 描述 result Object 响应消息体 errorMessage String 错误信息,接口错误时有值,正常调用时为空 stateCode String 响应状态,“0”为成功,其他值失败 result出参: 参数 类型 描述 pos 无 待定 total_count Int 总数量 entityName String 实体 totalCount Int 总数量 data List 数据 data出参: 参数 类型 描述 categoryId Long 课程类别主键ID categoryName String 课程类别名称 categoryCode String 课程类别编码 courseId Long 课程id courseName String 课程名称 coverFileId String 封面文件ID lastUpdateTimestamp Long 最后更新时间戳 courseRemark String 课程描述/课程简介 courseDuration String 课程时长 单位:分钟 learnStatus Int 课程状态 learnProgress Int 课程学习进度百分数 默认0 userStartTimestamp Long 学员课程开始时间对应的毫秒数 userEndTimestamp Long 学员课程完成时间对应的毫秒数 learnType Int 课程类型 creationTimestamp Long 创建时间戳 learnDay Int 学习天数 learnValidTimestamp Long 学习有效时间戳 createdBy Long 创建人 createName String 创建人名称 courseCount Int 章节数量
  • 响应示例 { "stateCode" : "0", "errorMessage" : null, "result" : { "data" : [{ "categoryId" : 1005, "categoryName" : "语言类", "categoryCode" : null, "courseId" : 1076, "courseName" : "测试更新yqq", "coverFileId" : 1315754, "lastUpdateTimestamp" : 1626494052484, "courseRemark" : "sfds", "courseDuration" : 35, "learnStatus" : 1, "learnProgress" : 0, "userStartTimestamp" : 1668387615190, "userEndTimestamp" : null, "learnType" : 1, "creationTimestamp" : 1668387615307, "learnDay" : 1, "learnValidTimestamp" : 1668474015190, "createdBy" : 1823, "createName" : "张三", "courseCount" : 0 } ], "pos" : 0, "total_count" : 1, "entityName" : null, "totalCount" : 1 } }
  • 请求参数 参数 类型 是否必填 描述 courseName String 是 课程名称,支持模糊搜索 learnStatus String 是 课程状态,课程状态(默认0 -1-删除 0-草稿、1-已发布、2-取消发布) learnType String 是 课程类型,1-必修 2-选修 page入参: 参数 类型 是否必填 描述 start String 是 起始 count String 是 容量
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": { "data": [ { "sceneId": -17046, "reviewProcessId": null, "reviewProcessName": "", "sceneName": "更换减速机检修作业-PDD-JX-001", "sceneCode": "TS20220901120117662", "sceneStatus": 1, "sourceSceneId": -17036, "sceneRemark": "更换减速机", "sceneMode": 2, "sceneType": 0, "sceneLicense": null, "version": "1.1", "isNewVersion": 0, "createdBy": -151168, "createName": "张三", "signInConfig": null, "creationDate": 1662014686000, "lastUpdatedBy": -151169, "lastUpdateName": "李四", "lastUpdateDate": 1664345792000, "creationTimestamp": 1662004877662, "lastUpdateTimestamp": 1664345792431, "adminOrganizationCode": "-977556", "adminOrganizationName": "皮带运输队", "isApplyApprove": null, "parentCategory": null, "category": null, "coverId": null, "deleteFlag": 0 }, { "sceneId": -17047, "reviewProcessId": null, "reviewProcessName": "", "sceneName": "更换电机检修作业-PDD-JX-002", "sceneCode": "TS20220901141801858", "sceneStatus": 1, "sourceSceneId": -17038, "sceneRemark": "更换电机", "sceneMode": 2, "sceneType": 0, "sceneLicense": null, "version": "1.1", "isNewVersion": 0, "createdBy": -151168, "createName": "张三", "signInConfig": null, "creationDate": 1662014746000, "lastUpdatedBy": -151169, "lastUpdateName": "李四", "lastUpdateDate": 1664345769000, "creationTimestamp": 1662013081858, "lastUpdateTimestamp": 1664345769506, "adminOrganizationCode": "-977556", "adminOrganizationName": "皮带运输队", "isApplyApprove": null, "parentCategory": null, "category": null, "coverId": null, "deleteFlag": 0, "UDF1": null, "UDF2": null, "UDF3": null, "UDF4": "车型型号A", "UDF5": null, "UDF6": null, "UDF7": null, "UDF8": null, "UDF9": null, "UDF10": null, "UDF11": null, "UDF12": null, "UDF13": null, "UDF14": null, "UDF15": null, "UDF16": null, "UDF17": null, "UDF18": null, "UDF19": null, "UDF20": null, "UDF21": null, "UDF22": null, "UDF23": null, "UDF24": null, "UDF25": null, "UDF26": null, "UDF27": null, "UDF28": null, "UDF29": null, "UDF31": null, "UDF32": null, "UDF33": null, "UDF34": null, "UDF35": null, "UDF36": null, "UDF37": null, "UDF38": null, "UDF39": null, "UDF40": null }, { "sceneId": -17048, "reviewProcessId": null, "reviewProcessName": "", "sceneName": "更换滚筒检修作业-PDD-JX-003", "sceneCode": "TS20220901142416480", "sceneStatus": 1, "sourceSceneId": -17039, "sceneRemark": "更换滚筒", "sceneMode": 2, "sceneType": 0, "sceneLicense": null, "version": "1.1", "isNewVersion": 0, "createdBy": -151168, "createName": "张三", "signInConfig": null, "creationDate": 1662014760000, "lastUpdatedBy": -151169, "lastUpdateName": "李四", "lastUpdateDate": 1664345749000, "creationTimestamp": 1662013456480, "lastUpdateTimestamp": 1664345749300, "adminOrganizationCode": "-977556", "adminOrganizationName": "皮带运输队", "isApplyApprove": null, "parentCategory": null, "category": null, "coverId": null, "deleteFlag": 0, "UDF1": null, "UDF2": null, "UDF3": null, "UDF4": "车型型号A", "UDF5": null, "UDF6": null, "UDF7": null, "UDF8": null, "UDF9": null, "UDF10": null, "UDF11": null, "UDF12": null, "UDF13": null, "UDF14": null, "UDF15": null, "UDF16": null, "UDF17": null, "UDF18": null, "UDF19": null, "UDF20": null, "UDF21": null, "UDF22": null, "UDF23": null, "UDF24": null, "UDF25": null, "UDF26": null, "UDF27": null, "UDF28": null, "UDF29": null, "UDF31": null, "UDF32": null, "UDF33": null, "UDF34": null, "UDF35": null, "UDF36": null, "UDF37": null, "UDF38": null, "UDF39": null, "UDF40": null } ], "pos": 0, "total_count": 3, "entityName": null, "totalCount": 3 } }
  • 请求参数 参数 类型 是否必填 描述 page Object 否 分页参数 dataSource String 是 数据来源 (只支持 appcube 入参) sceneName Long 否 一级工艺名称 右模糊 UDF1 String 否 (扩展属性1) 顺序 UDF2 String 否 (扩展属性2) 文档编号 右模糊 UDF3 String 否 (扩展属性3) 版本号 UDF4 String 否 (扩展属性4) 车型key UDF5 String 否 (扩展属性5) 检修工艺模板key UDF6 String 否 (扩展属性6) 部件key UDF7 String 否 (扩展属性7) 型号key UDF8 String 否 (扩展属性8) 加改 UDF9 String 否 (扩展属性9) 注意事项 UDF10 String 否 (扩展属性10) 作业条件 page入参 参数 类型 是否必填 描述 start Integer 否 开始行 默认0 count Integer 否 总行数 默认15
  • 请求示例 { "docName": "jobRegulationsClauses", "jobRegulationsClausesList": [ { "jobRegulationsClausesId": "b测试b", "jobRegulationsClausesPart": "编", "jobRegulationsClausesChapter": "章", "jobRegulationsClausesSectioned": "节", "jobRegulationsClausesArticle": "条", "jobRegulationsClausesDesc": "b测试b" }, { "jobRegulationsClausesId": "a测试a", "jobRegulationsClausesPart": "编", "jobRegulationsClausesChapter": "章", "jobRegulationsClausesSectioned": "节", "jobRegulationsClausesArticle": "条", "jobRegulationsClausesDesc": "a测试a" } ] }
  • 响应示例 { "status": 1, "message": "SUC CES S", "error": null, "data":{ "resultCode": 0, "rtspURL": "rtsp://10.91.172.64:1188/05238798089631890101?DstCode=01&ServiceType=1&ClientType=1&StreamID=1&SrcTP=2&DstTP=2&SrcPP=1&DstPP=1&MediaTransMode=0&BroadcastType=0&SV=1&Token=NEkwUZe3+FY/RoNLmJK/BIQS7WITUJIxWM8BDchDr3U=&DomainCode=9acedeced6794b468330d3c15ecb36b3&UserId=5&" }, "timestamp": "2022-06-21T16:14:25.497+0800" }
  • 请求参数 参数 类型 是否必填 描述 taskScheduleName String 是 任务调度名称。 isEnable String 是 是否启用。 1:启用 0:不启用 taskBody String 是 任务详情。 taskBody参数 参数 类型 是否必填 描述 taskName String 是 任务名称。 sceneName String 是 任务场景名称。 sceneId Long 是 任务场景ID。 signSiteId Long 否 作业对象ID。 signSiteCode String 否 作业对象编码。 signSiteName String 否 作业对象名称。 projectNo String 否 项目编码。 projectName String 否 项目名称。 supplierName String 否 供应商。 assignedUserId String 否 执行人ID。 assignedUserName String 否 执行人名称。 userGroup String 否 执行人群组ID。 userGroupName String 否 执行人群组名称。 assignedUserType String 否 执行人类型。 1:用户 2:群组 assignedUser String 否 执行人账号。 beginTimestamp Long 否 计划开始时间。 endTimestamp Long 否 计划完成时间。 requiredStartTime Long 否 要求开始时间。 requiredEndTime Long 否 要求完成时间。 projectDuration String 否 工期。 jobDuration String 否 标准时长。 adminOrganizationName String 是 管理组织单元名称。 adminOrganization String 是 管理组织单元编码。 administrativeDivision String 否 行政区域。 administrativeDivisionName String 否 行政区域。 regionName String 否 行政区 域名 称。 regionId String 否 行政区域ID。 regionPath String 否 行政区域路径。 skill String 否 技能。 address String 否 详细地址。 templateId Long 否 模板ID。 templateCode String 否 模板编码。 templateName String 否 模板名称。 version String 否 版本。 reviewRuleId Long 否 任务申请审批流ID。 reviewRuleName String 否 任务申请审批流名称。 taskRemark String 否 任务备注。 isAppraisal String 否 任务是否需要审批。 0:不需要审批 1:需要审批 collectionReviewId Long 否 采集审批流ID。 collectionReviewName String 否 采集审批流名称。 collectionProcessType String 否 采集审批流类型。 0:标准审批流 1:临时审批流 2:自定义审批流 priority String 否 优先级。 schedulingMode String 否 调度模式。 customerName String 否 客户名称。 customerId String 否 客户ID。 operationGuideList List 否 操作指导。 attachmentList List 否 附件。 taskMode String 是 任务模式。 1:简单任务 2:任务下挂检查单 saveDraft String 是 保持草稿、提交。 0:保存草稿 1:提交 taskExtendList List 否 任务扩展属性。 scheduleType Integer 否 调度类型。 1:周 2:月 3:日期 4:本月最后一天 scheduleHour String 否 调度小时。 scheduleWeek String 否 调度周日期。 scheduleDay String 否 调度天。 cronExpr String 否 调度表达式。 scheduleDayList List 否 调度日期。 plannedBeginType Integer 否 计划开始时间类型。 1:当天 2:调度后 beginNumberOfHours Integer 否 计划开始时间多少小时后。 plannedCompletionType Integer 否 计划结束时间类型。 1:当天 2:调度后 endNumberOfHours Integer 否 计划完成时间多少小时后。 url String 否 待办地址。 thirdUrl String 否 第三方待办地址。 resource String 否 数据源。 operUserId Long 否 操作人ID。
  • 请求示例 { "docName": "jobRegulationsClauses", "jobRegulationsClausesList": [ { "jobRegulationsClausesId": "b测试b", "jobRegulationsClausesPart": "编", "jobRegulationsClausesChapter": "章", "jobRegulationsClausesSectioned": "节", "jobRegulationsClausesArticle": "条", "jobRegulationsClausesDesc": "b测试b" }, { "jobRegulationsClausesId": "a测试a", "jobRegulationsClausesPart": "编", "jobRegulationsClausesChapter": "章", "jobRegulationsClausesSectioned": "节", "jobRegulationsClausesArticle": "条", "jobRegulationsClausesDesc": "a测试a" } ] }
  • 响应示例 { "status": "success", "msg": "200", "data": [ { "jobRegulationsClausesId": "b测试b", "jobRegulationsClausesPart": "编", "jobRegulationsClausesChapter": "章", "jobRegulationsClausesSectioned": "节", "jobRegulationsClausesArticle": "条", "jobRegulationsClausesDesc": "b测试b" }, { "jobRegulationsClausesId": "a测试a", "jobRegulationsClausesPart": "编", "jobRegulationsClausesChapter": "章", "jobRegulationsClausesSectioned": "节", "jobRegulationsClausesArticle": "条", "jobRegulationsClausesDesc": "a测试a" } ], "failed": false, "success": true }
  • 请求参数 参数 类型 是否必填 描述 issueInstance String 是 问题实例,1 隐患,0 问题 issueId Long 是 问题id assistMark String 是 原因 thirdUrl String 是 待办地址 operUserId Long 是 操作人userId operUserName String 是 操作人userName assistantId List 是 协同人userid
  • 响应示例 { "status":"success", "msg":null, "data":{ "start":0, "count":200, "data":[ { "msgId":173656, "msgTitle":"任务待执行", "extParam":null, "msgType":5, "publishTime":"2022-09-22T19:36:29", "msgDescription":"任务【12324】需要执行", "subcategory":"05_06", "extended1":"183214", "extended2":"12324", "extended3":null, "extended4":null, "extended5":"#/task/operationTask/detail?parentTaskId=183214&sceneTaskId=183214&taskType=1", "extended6":"/one/#/task/operationTask/detail?parentTaskId={0}&sceneTaskId={1}&taskType=1", "readStatus":1, "noticeId":null } ], "totalCount":0, "unReadCount":0 } }
  • 响应参数 参数 类型 描述 msgId Long 消息ID msgTitle String 消息标题 msgDescription String 消息描述 subcategory String 二级消息分类 extended1 String 子任务Id(任务) extended2 String 待办任务标题 extended3 String 父任务Id(任务) extended4 String 无 extended5 String PC端地址 extended6 String 移动端地址 readStatus Integer 消息是否已读 0未读1已读
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": [ { "appName": "isdp-task-server", "checkBusiType": "许可01", "checkOrderId": 5743765, "checkOrderType": 1, "createdBy": 390841, "createName": "zdrun-test", "creationDate": "2022-03-11T08:35:54.000+00:00", "creationTimestamp": 1646987754674, "deleteFlag": 0, "entityName": "workTicketPhase", "isRejected": 0, "lastSubmitTimestamp": 1646987756994, "lastUpdateDate": "2022-03-11T08:35:57.000+00:00", "lastUpdatedBy": 390841, "lastUpdateName": "zdrun-test", "lastUpdateTimestamp": 1646987756994, "reviewRuleId": 35429, "reviewSwitch": 1, "sceneInitialStatus": 1084, "sceneReviewStatus": 1170, "sceneSumbmitStatus": 1085, "submitDate": "2022-03-11T08:35:57.000+00:00", "submitUserId": 390841, "submitUserName": "zdrun-test", "templateCode": "QC2022XXXXXXXXXXXXX", "templateId": 221760, "tenantId": 886, "ticketId": 82497, "ticketPhaseCode": "50412", "ticketPhaseId": 220883, "ticketPhaseName": "阶段1", "ticketPhaseOrder": 1, "ticketPhaseStatus": 3, "reviewProcessName": "筛XX", "kcpList": [ { "kcpId": 224710, "name": "new kcp1", "templateId": 221760, "children": [ { "collectNa": 0, "allowedNa": 1, "appName": "isdp-qc-server", "createdBy": 25804, "creationDate": "2022-02-16T03:31:06.000+00:00", "deleteFlag": 0, "entityName": "templateItem", "handlerNameInspection": null, "handlerNameQualityInspection": null, "identificationType": "", "intelligentReviewRules": "", "isExemption": 0, "issueHandlerInspection": null, "issueHandlerQualityInspection": null, "issueTypeInspection": "", "issueTypeQualityInspection": "", "itemCode": null, "itemId": 3398573, "itemIndex": 0, "itemType": 0, "kcpId": 224710, "kcpIndex": 0, "kcpName": null, "lastUpdateDate": "2022-02-16T03:31:06.000+00:00", "lastUpdatedBy": 25804, "name": "Item1", "operationGuide": "", "qualificationType": 1, "qualityStandard": "", "rejectionReason": null, "sceneTypeName": null, "severity": 1, "templateId": 221760, "tenantId": 886, "approveStatus": 1, "reviewStatus": 4, "collectStatus": 2, "aiResult": "wait", "colletData": { "itemId": 3398573, "itemName": "Item1", "itemType": 0, "itemRemark": null, "itemContent": null, "isOldDate": null, "kcpId": null, "children": [ { "itemId": 3398573, "outputId": 43632912, "outputName": "图片", "outputCode": null, "countPhoto": 0, "countVideo": 0, "outputType": 13, "collectScene": null, "qualificationType": null, "isNecessary": null, "compressionRatio": null, "demoPictureId": null, "maxPhoto": 0, "maxVideo": 0, "enablePhoto": null, "outputModel": { "itemId": 3398573, "templateId": 221760, "outputId": 43632912, "outputName": "图片", "outputType": 13, "maxPhoto": null, "maxVideo": null, "isNecessary": 0, "qualificationType": null, "enumValue": "", "maxValue": "", "minValue": "", "enablePhoto": null, "compressionRatio": null, "demoPictureId": null, "deleteFlag": 0, "accuracy": null, "cascadeOutputId": null, "collectScene": 0, "designValue": "", "deviationValue": null, "designValueOrder": "", "isSubOutput": null, "oldItemId": null, "itemType": 0, "isAudioIdentify": 0, "measurementOrder": 0, "defaultValue": "", "outputCode": null, "isStrongWeak": null, "intelligentObject": "" }, "itemName": null, "qcVideoModelList": [], "qcExampleVideoModelList": [], "qcPhotoModelList": [ { "tenantId": 886, "id": 205694, "kcpId": 224710, "photoId": "4980961", "templateId": 221760, "photoName": "1019.png", "itemId": 3398573, "picPassMk": null, "outputId": 43632912, "isExample": 1, "status": 0, "photoWatermarkId": null, "valid": null, "lastUpdateDate": "2022-02-16T03:31:06.000+00:00", "creationDate": "2022-02-16T03:31:06.000+00:00", "createdBy": 25804, "createName": null, "lastUpdatedBy": 25804, "lastUpdateName": null, "photoRemarksReview": null, "photoRemarks": null }, { "tenantId": 886, "id": 205695, "kcpId": 224710, "photoId": "4980962", "templateId": 221760, "photoName": "background.png", "itemId": 3398573, "picPassMk": null, "outputId": 43632912, "isExample": 1, "status": 0, "photoWatermarkId": null, "valid": null, "lastUpdateDate": "2022-02-16T03:31:06.000+00:00", "creationDate": "2022-02-16T03:31:06.000+00:00", "createdBy": 25804, "createName": null, "lastUpdatedBy": 25804, "lastUpdateName": null, "photoRemarksReview": null, "photoRemarks": null }, { "tenantId": 886, "id": 205696, "kcpId": 224710, "photoId": "4980964", "templateId": 221760, "photoName": "images.jpg", "itemId": 3398573, "picPassMk": null, "outputId": 43632912, "isExample": 1, "status": 0, "photoWatermarkId": null, "valid": null, "lastUpdateDate": "2022-02-16T03:31:06.000+00:00", "creationDate": "2022-02-16T03:31:06.000+00:00", "createdBy": 25804, "createName": null, "lastUpdatedBy": 25804, "lastUpdateName": null, "photoRemarksReview": null, "photoRemarks": null } ], "qcFileModelList": [], "qcExamplePhotoModelList": [], "qcCollectionDataModelList": [], "kcpName": null } ] } } ] } ] } ] }
  • 响应参数 参数 类型 描述 stateCode int 返回状态,0-正常;其他-异常 errorMessage String 错误消息描述 result Object 列表详细数据 result出参: 参数 类型 描述 checkBusiType Int 检查单业务类型 checkOrderId Long 检查单id checkOrderType Int 工作票阶段生成的检查单类型(0:EHS;1:质量检查;2:巡检) isRejected Int 是否已驳回(0-否;1-是) reviewSwitch Int 是否启用审批开关(1-是 0-否) sceneInitialStatus Long 初始状态 sceneSumbmitStatus Long 提交状态 submitUserName String 提交人姓名 submitDate Date 提交时间 submitUserId Long 提交用户id templateCode String 模板编码 templateId Long 模板id ticketId Long 许可id ticketPhaseCode String 阶段编码 ticketPhaseId Long 阶段id ticketPhaseName String 阶段名称 ticketPhaseOrder Int 阶段修好 ticketPhaseStatus Int 许可单阶段状态(1-初始状态,待执行 2-阶段执行中(审批翻转)3-待评审 4-阶段完成) reviewProcessName String 审批流名称 kcpList List kcp列表 kcpList出参: 参数 类型 描述 kcpId Long kcp id name String kcp名称 templateId Long 模板id children Int Item列表 children出参: 参数 类型 描述 id Long 拓展属性id itemId Long Item id itemIndex Int Item下标排序 itemType Int 条目类型(1:临时检查项;0:非临时检查项;2:标准条目) name String 条目名称 approveStatus Int 1、未提交审核 2、待评审 3、已评审 collectStatus Int 采集状态: 1:待采集 2:已采集 colletData List 采集数据列表 colletData出参: 参数 类型 描述 itemId Long Item id itemType Int 条目类型(1:临时检查项;0:非临时检查项;2:标准条目) children List 输出项列表 children出参: 参数 类型 描述 itemId Long Item id outputId Long 输出项id outputName String 输出项名称 countPhoto Int 已采集图片数量 countVideo Int 已采集视频数量 outputType Int 输出项类型 16:文件 15:时间(年月日时分) 13:图片 14:视频 3:图片/视频 2:文本 5:整数 6:小数 1:枚举 4:多枚举 11:GPS 9:条码 7:日期 10:NA 17音频 18签名 maxPhoto Int 最大图片数量 maxVideo Int 最大视频数量 outputModel List 输出项子项 qcVideoModelList List 采集的视频列表 qcPhotoModelList List 采集的图片列表 qcFileModelList List 采集的文件列表 qcCollectionDataModelList List 采集数据列表 outputModel出参: 参数 类型 描述 itemId Long Item id outputId Long 输出项id outputName String 输出项名称 outputType Int 输出项类型 16:文件 15:时间(年月日时分) 13:图片 14:视频 3:图片/视频 2:文本 5:整数 6:小数 1:枚举 4:多枚举 11:GPS 9:条码 7:日期 10:NA 17音频 18签名 maxPhoto Int 最大图片数量 maxVideo Int 最大视频数量 isNecessary Int 是否必填:0-否;1-是 collectScene Int 采集场景(0-普通 1-设计值智能比对 2-天资测量 3-文本识别) qcPhotoModelList出参: 参数 类型 描述 id Long 输出项id itemId Long Item id kcpId Long kcp id templateId Long 模板id outputId Long 输出项id photoId Long 图片id photoName String 图片名称 isExample Int 是否样例图片:0-否;1-是 photoAndVideoType Int 图片和视频类型:图片13 qcVideoModelList出参: 参数 类型 描述 id Long 输出项id itemId Long Item id kcpId Long kcp id templateId Long 模板id outputId Long 输出项id videoId Long 视频id thumbnailsId Long 缩略图id videoName String 视频名称 isExample Int 是否样例视频:0-否;1-是 photoAndVideoType Int 图片和视频类型:视频14 qcFileModelList出参: 参数 类型 描述 id Long 输出项id itemId Long Item id kcpId Long kcp id templateId Long 模板id outputId Long 输出项id fileId Long 文件id thumbnailsId Long 缩略图id fileName String 文件名称 qcCollectionDataModelList出参: 参数 类型 描述 dataId Long 采集项id dataSource Int 采集数来源(1:SYS 2:APP) itemId Long Item id kcpId Long kcp id templateId Long 模板id outputId Long 输出项id content String 采集项内容 contentType Int 内容类型(13:图片 14:视频 3:图片/视频 2:文本 5:整数 6:小数 1:枚举 4:多枚举 11:GPS 9:条码 7:日期 10:NA) fileName String 文件名称
  • 请求参数 参数 类型 是否必填 描述 issueIdList LONG 是 问题ID列表 operate Interger 是 操作类型 1-接收关闭 2-驳回 remark String 是 操作描述 url String 否 PC端URL。 thirdUrl String 否 第三方URL operUserId Long 是 操作人ID(验收人) operUserName String 否 操作人名称 qcIssueCloseAttributeModel Object 否 关闭扩展属性
共100000条