华为云用户手册

  • 请求示例 { "paramList": [ { "bonusVal": "3", "userId": 153169, "adminOrganization":25245, "bonusTermId":5243, "bonusTimestamp":1694170922000 } ], "submitterAccount": "12312341234" }
  • 响应示例 { "status": "success", "msg": null, "data": [ { "appName": "basedata-server", "createdBy": 1, "creationDate": "2021-01-16T03:16:54.000+00:00", "deleteFlag": 0, "entityName": "indelligentGroup", "groupPath": null, "lastUpdateDate": "2021-01-16T03:16:54.000+00:00", "lastUpdatedBy": 1, "level": 1, "objectGroupId": 1, "objectGroupName": "通用", "objectGroupNameEnUs": "Universals", "sort": 1, "tenantId": 1 }, { "appName": null, "createdBy": -1, "creationDate": "2021-02-27T08:24:52.000+00:00", "deleteFlag": 0, "entityName": "intelligentGroup", "groupPath": null, "lastUpdateDate": "2021-02-27T08:24:52.000+00:00", "lastUpdatedBy": -1, "level": 1, "objectGroupId": 50313, "objectGroupName": "电力行业", "objectGroupNameEnUs": "ElectricPower", "sort": 2 }, { "appName": null, "createdBy": -1, "creationDate": "2023-02-09T03:44:17.000+00:00", "deleteFlag": 0, "entityName": "intelligentGroup", "groupPath": null, "lastUpdateDate": "2023-02-09T03:44:17.000+00:00", "lastUpdatedBy": -1, "level": 1, "objectGroupId": 51568, "objectGroupName": "个体消费者", "objectGroupNameEnUs": null, "sort": 3 } ], "success": true, "failed": false }
  • 响应示例 { "data":[ { "customerCode":"AAA1", "customerName":"AAAAA2", "tenantId":1008611, " customerId ":1008611, "customerGroupName":"TEST", "customerGroupCode":"TX" }, { "customerCode":"AAAAA", "customerName":"AAAAAB", "tenantId":1008611, "customerId":1008611, "customerGroupName":"TEST", "customerGroupCode":"TX" } ], "pos":0, "total_count":2, "entityName":null, "totalCount":2 }
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": { "data": [ { "sceneTaskId": 1836272, "taskName": "openapi_批量创建zhang4个子任务_有一个无配置关系修改", "sceneName": "zhang4个子任务_有一个无配置关系", "adminOrganization": "52479", "adminOrganizationName": "新版本测试租户1029", "signSiteId": null, "signSiteCode": null, "signSiteName": null, "beginTimestamp": null, "endTimestamp": null, "jobDuration": null, "status": 0, "customerTaskId": "20qe333", "isApplyApprove": 0, "actualBeginTime": null, "actualEndTime": null, "processFeedback": null, "reviewRuleName": "", "reviewRuleId": null, "isAppraisal": null, "excutor": [ { "sceneTaskId": 1836272, "taskType": 1, "userId": 101277, "userInfoId": 3875284, "userName": "改名张小玲", "userType": 1 } ], "subTaskList": [ { "sceneTaskId": 363088, "taskName": "子任务11", "taskId": 1836272, "status": 0, "signSiteId": null, "signSiteCode": null, "signSiteName": "", "beginTimestamp": null, "endTimestamp": null, "actualBeginTime": null, "actualEndTime": null, "processFeedback": null, "jobDuration": null, "excutor": [ { "sceneTaskId": 363088, "taskType": 2, "userId": 101277, "userInfoId": 3875294, "userName": "改名张小玲", "userType": 1 } ], "taskExtend": null, "preModeNames": null }, { "sceneTaskId": 363089, "taskName": "子任务22", "taskId": 1836272, "status": 0, "signSiteId": null, "signSiteCode": null, "signSiteName": "", "beginTimestamp": null, "endTimestamp": null, "actualBeginTime": null, "actualEndTime": null, "processFeedback": null, "jobDuration": null, "excutor": [ { "sceneTaskId": 363089, "taskType": 2, "userId": 101277, "userInfoId": 3875295, "userName": "改名张小玲", "userType": 1 } ], "taskExtend": null, "preModeNames": "子任务11,子任务44" }, { "sceneTaskId": 363090, "taskName": "子任务33", "taskId": 1836272, "status": 0, "signSiteId": null, "signSiteCode": null, "signSiteName": "", "beginTimestamp": null, "endTimestamp": null, "actualBeginTime": null, "actualEndTime": null, "processFeedback": null, "jobDuration": null, "excutor": [ { "sceneTaskId": 363090, "taskType": 2, "userId": 101277, "userInfoId": 3875296, "userName": "改名张小玲", "userType": 1 } ], "taskExtend": null, "preModeNames": "子任务11" }, { "sceneTaskId": 363091, "taskName": "子任务44", "taskId": 1836272, "status": 0, "signSiteId": null, "signSiteCode": null, "signSiteName": "", "beginTimestamp": null, "endTimestamp": null, "actualBeginTime": null, "actualEndTime": null, "processFeedback": null, "jobDuration": null, "excutor": [ { "sceneTaskId": 363091, "taskType": 2, "userId": 101277, "userInfoId": 3875297, "userName": "改名张小玲", "userType": 1 } ], "taskExtend": null, "preModeNames": null } ], "taskExtend": null } ], "pos": 0, "total_count": 1, "entityName": null, "totalCount": 1 } }
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": [ { "id": 2709, "category": 1, "parentExtendId": 0, "fieldName": "长文本有值", "fieldStatus": 1, "fieldIsNecessary": 1, "fieldOrder": 1, "fieldValue": "", "fieldDefaultValue": "12345678902345678901234567890123456789012123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012312345678901234567890123456789012345678901212345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890345678901456789034567890", "scopeList": [ 1, 2 ], "fieldCode": "UDF15", "fieldType": 1, "enumList": [ ] }, { "id": 247643, "category": 1, "parentExtendId": 0, "fieldName": "短文本", "fieldStatus": 1, "fieldIsNecessary": 2, "fieldOrder": 40, "fieldValue": "", "fieldDefaultValue": "12345678901234567890123456789012345678901234567890", "scopeList": [ 2, 1 ], "fieldCode": "UDF40", "fieldType": 20, "enumList": [ ] } ] }
  • 响应参数 参数 类型 描述 stateCode String 响应状态码:0-成功;其他-失败。 errorMessage String 响应描述,错误提示。 result Object 响应数据,任务、子任务执行阶段的扩展属性信息。 result字段说明: 参数 类型 描述 sceneTaskId Long 任务ID。 taskName String 任务名称。 signSiteId Long 任务作业对象ID。 signSiteCode String 任务作业对象编码。 signSiteName String 任务作业对象名称。 taskExtend List 任务扩展属性。 adminOrganizationName String 组织单元名称。 adminOrganization String 组织单元ID。
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": { "subTaskList": [ { "sceneTaskId": 5010371, "taskName": "1_20230202_114945", "taskId": 5064801, "signSiteId": null, "signSiteCode": "", "signSiteName": "", "sceneModeCode": "5000995", "actualBeginTime": 1675310951240, "actualEndTime": null, "taskExtend": [ { "sceneTaskId": 5010371, "minValue": "1", "extendName": "子任务测试属性4", "stage": "2", "unitName": null, "maxValue": "50", "precision": null, "extendValue": null, "fieldOrder": "13", "udfName": "UDF13", "extendType": "7", "isNecessary": "2" }, { "sceneTaskId": 5010371, "minValue": "1", "extendName": "子任务测试属性4", "stage": "2", "unitName": null, "maxValue": "50", "precision": null, "extendValue": null, "fieldOrder": "13", "udfName": "UDF13", "extendType": "7", "isNecessary": "2" } ] } ], "sceneTaskId": 5064801, "signSiteCode": null, "adminOrganizationName": "1508098844233300", "sceneId": 5001917, "taskExtend": [], "signSiteName": null, "taskName": "测试父子任务执行扩展属性_20230202_114945", "adminOrganization": "1543" } }
  • 请求参数 参数 类型 是否必填 描述 sceneTaskId Long 是 父任务ID。 subTaskIdList Object 否 子任务ID集合。 subTaskList中Object对象字段说明: 参数 类型 描述 sceneTaskId Long 子任务ID。 taskName String 子任务名称。 actualBeginTime Long 子任务实际开始时间。 actualEndTime Long 子任务实际完成时间。 signSiteId Long 子任务作业对象ID。 signSiteCode String 子任务作业对象编码。 signSiteName String 子任务作业对象名称。 taskExtend List 任务/子任务扩展属性。 sceneModeCode String 任务场景子任务关联标识。 taskExtend字段说明: 参数 类型 描述 sceneTaskId Long 任务/子任务id。 extendName String 子任务扩展属性名称。 stage Integer 子任务扩展属性所属阶段1:创建;2:执行。 unitName String 单位。 maxValue String 最大值(示例:“99”表示最大值允许为99)。 minValue String 最小值(示例:“1”表示最小值允许为1)。 precision String 精度(示例:“2”表示小数点后保留几位有效数据)。 fieldOrder Integer 子任务扩展属性顺序。 extendValue String 扩展属性值。 udfName String 扩展属性编码。 extendType Integer 扩展属性类型(1:长文本;2:枚举;3:多枚举;4:日期;5:时间;6:整数;7:小数;20:短文本)。 isNecessary Integer 扩展属性是否必填(1:必填;2:不必填)。 备注:最大值maxValue、最小值minValue、精度precision是只有在extendType是6/7(整数或小数类型)中使用。
  • 响应示例 { "status": "success", "msg": null, "data": { "data": [{ "customerGroupId": -1, "lastUpdatedBy": 1, "supplierId": -1, "address": "******", "appName": "pub-cs", "lastUpdateDate": "2020-04-24 15:23:23", "customerClassify": null, "description": null, "customerCode": "tes1t", "telephone": "******", "creationDate": "2020-04-24 15:23:20", "customerName": "-1", "deleteFlag": null, "buOrgId": null, "customerOrgCode": "1", "createdBy": 1, "entityName": "customer", "contact": null, "tenantId": 1, "customerId": -1 }, { "customerGroupId": null, "lastUpdatedBy": -1, "supplierId": null, "address": "******", "appName": "pub-server", "lastUpdateDate": "2021-02-22 23:01:16", "customerClassify": "", "description": "API Testing", "customerCode": "1013.1844785653699", "telephone": "******", "creationDate": "2021-01-21 16:13:21", "customerName": "1013.1844785653699", "deleteFlag": null, "buOrgId": null, "customerOrgCode": "", "createdBy": -1, "entityName": "customer", "contact": "", "tenantId": 1, "customerId": 31062 } , {"customerGroupId": null, "lastUpdatedBy": -1, "supplierId": null, "address": "******",…}, {"customerGroupId": null, "lastUpdatedBy": -1, "supplierId": null, "address": "******",…}, {"customerGroupId": null, "lastUpdatedBy": -1, "supplierId": null, "address": "******",…} ], "pos": 0, "total_count": 238, "entityName": null } }
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": [ { "configId": 19578, "parentConfigId": 19578, "checkBusiType": "", "kindLevel": 1, "kindName": "ssss22222jmeter86330818", "kindScene": "UDF8" }, { "configId": 19575, "parentConfigId": 19575, "checkBusiType": "", "kindLevel": 1, "kindName": "zhangsan1", "kindScene": "UDF8" }, { "configId": 19472, "parentConfigId": 19472, "checkBusiType": "", "kindLevel": 1, "kindName": "测试类别314343", "kindScene": "UDF8" }, { "configId": 19481, "parentConfigId": 19481, "checkBusiType": "", "kindLevel": 1, "kindName": "ceshi23232", "kindScene": "UDF8" }, { "configId": 19471, "parentConfigId": 19471, "checkBusiType": "", "kindLevel": 1, "kindName": "ssss3333", "kindScene": "UDF8" }, { "configId": 19468, "parentConfigId": 19468, "checkBusiType": "", "kindLevel": 1, "kindName": "测试类别3343dd", "kindScene": "UDF8" }, { "configId": 19467, "parentConfigId": 19467, "checkBusiType": "", "kindLevel": 1, "kindName": "ssss11111111111", "kindScene": "UDF8" }, { "configId": 18674, "parentConfigId": 18674, "checkBusiType": "", "kindLevel": 1, "kindName": "隐患类型1--01", "kindScene": "UDF8" }, { "configId": 18385, "parentConfigId": 18385, "checkBusiType": "", "kindLevel": 1, "kindName": "123123", "kindScene": "UDF8" }, { "configId": 18383, "parentConfigId": 18383, "checkBusiType": "", "kindLevel": 1, "kindName": "123123", "kindScene": "UDF8" }, { "configId": 18380, "parentConfigId": 18380, "checkBusiType": "", "kindLevel": 1, "kindName": "问题123", "kindScene": "UDF8" }, { "configId": 18369, "parentConfigId": 18369, "checkBusiType": "", "kindLevel": 1, "kindName": "测试接口的jmeter370753989", "kindScene": "UDF8" }, { "configId": 18367, "parentConfigId": 18367, "checkBusiType": "", "kindLevel": 1, "kindName": "测试接口的jmeter316262594", "kindScene": "UDF8" }, { "configId": 18366, "parentConfigId": 18366, "checkBusiType": "", "kindLevel": 1, "kindName": "测试接口的jmeter324417380", "kindScene": "UDF8" }, { "configId": 18363, "parentConfigId": 18363, "checkBusiType": "", "kindLevel": 1, "kindName": "测试接口的jmeter517694229", "kindScene": "UDF8" }, { "configId": 18356, "parentConfigId": 18356, "checkBusiType": "", "kindLevel": 1, "kindName": "测试接口的", "kindScene": "UDF8" }, { "configId": 18343, "parentConfigId": 18343, "checkBusiType": "", "kindLevel": 1, "kindName": "隐患类型1", "kindScene": "UDF8" }, { "configId": 18330, "parentConfigId": 18330, "checkBusiType": "", "kindLevel": 1, "kindName": "测试类别000", "kindScene": "UDF8" } ] }
  • 请求示例 { "deviceType" : "主设备1231312312313", "deviceInfo" : [{ "fieldName" : "设备类型", "fieldType" : 1, "fieldValue" : "123" },{ "fieldName" : "设备编码", "fieldType" : 1, "fieldValue" : "0909test1" }, { "fieldName" : "设备名称", "fieldType" : 1, "fieldValue" : "0909test1" },{ "fieldName" : "设备状态", "fieldType" : 1, "fieldValue" : "正常" }, { "fieldName" : "设备品牌2222", "fieldType" : 1, "fieldValue" : "123" }, { "fieldName" : "资产编号", "fieldType" : 1, "fieldValue" : "123" }, { "fieldName" : "工作状态", "fieldType" : 1, "fieldValue" : "运行" }, { "fieldName" : "责任人", "fieldType" : 1, "fieldValue" : "圈圈" }, { "fieldName" : "启用日期", "fieldType" : 4, "fieldValue" : "2022-09-09" }, { "fieldName" : "出厂日期", "fieldType" : 4, "fieldValue" : "2022-09-09" }, { "fieldName" : "供应商名称", "fieldType" : 1, "fieldValue" : "0816test" }, { "fieldName" : "客户名称", "fieldType" : 1, "fieldValue" : "" }, { "fieldName" : "设备数量", "fieldType" : 8, "fieldValue" : 13 },{ "fieldName" : "计量单位", "fieldType" : 1, "fieldValue" : "台" }, { "fieldName" : "采购单价", "fieldType" : 8, "fieldValue" : 1 }, { "fieldName" : "货币", "fieldType" : 1, "fieldValue" : "元" },{ "fieldName" : "技术参数", "fieldType" : 7, "fieldValue" : "123" }, { "fieldName" : "图片", "fieldType" : 1, "fieldValue" : "123" }, { "fieldName" : "技术资料1", "fieldType" : 1, "fieldValue" : "123" }, { "fieldName" : "水电费232232", "fieldType" : 1, "fieldValue" : "123" }, { "fieldName" : "234234", "fieldType" : 3, "fieldValue" : "枚举值01" }, { "fieldName" : "区域位置", "fieldType" : 1, "fieldValue" : "" }, { "fieldName" : "文本666", "fieldType" : 1, "fieldValue" : "123" },{ "fieldName" : "测试", "fieldType" : 1, "fieldValue" : "123" },{ "fieldName" : "测试123123", "fieldType" : 7, "fieldValue" : "123" } ] }
  • 相关接口 接口名称 调用说明 获取Token 调用该接口获取到Token,再调用其他接口时,需要在请求消息头中添加“Authorization”,其值即为Token。 鉴权方式创建oauth客户端认证凭据参考: https://support.huaweicloud.com/api-astrozero/astrozero_api_0010.html#section0 获取access_token参考 https://support.huaweicloud.com/api-astrozero/astrozero_api_0009.html 发送请求是需要添加header请求头(access-token) access-token: xxxxxxxxxxxxxxxxxxx
  • 响应参数 参数 类型 描述 result Object 响应消息体 errorMessage String 错误信息,接口错误时有值,正常调用时为空 stateCode String 响应状态 "0"成功 其他值失败 "100":接口参数为空 "101":设备Id为空 "102":指令类型不存在 "103":指令内容为空 "104":设备Id个数不能超过50 "105":设备Id:xx不正确 "106":指令内容长度超过255 result模板头信息Object对象说明 参数 类型 描述 instructionId Long 指令ID,一次只允许创建一个指令,指令会按照创建顺序依次执行。
  • 响应示例 { "status": "success", "msg": null, "data": { "bannerId": 100261, "bannerPictureId": "1513407", "bannerTitle": "testLogo", "bannerType": " LOG O_01", "bannerStatus": "0", "bannerSecondaryTitle": null, "deleteFlag": 0, "description": "testLogo", "bannerHerf": null, "bannerOrder": "1662015999339" } }
  • 响应参数 参数 类型 描述 status String 请求状态。 success:成功 failed:失败 msg String 错误信息。 data Object 返回的数据信息。 data.bannerId Long 图片信息主键ID。 data.bannerPictureId String 图片ID。 data.bannerTitle String 图片标题。 data.bannerType String 图片类型。 LOGO_01:logo OnePortal_01:首页 BackstagePortal_01:轮播 data.bannerSecondaryTitle String 图片子标题。 data.description String 描述。 data.bannerHerf String 图片链接。 data.bannerOrder String 排序编号。
  • 请求参数 参数 类型 是否必填 描述 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 章节数量
共100000条