华为云用户手册

  • 请求示例 { "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" } ] }
  • 响应参数 参数 类型 描述 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,一次只允许创建一个指令,指令会按照创建顺序依次执行。
  • 响应示例 { "stateCode":"0", "errorMessage":null, "result":{ "data":[{ "taskId":583755, "taskCode":"0ee33628-3a1e-43c2-9e4c-bc573e51297b", "taskName":"XX-XXXX;-SCT-XX站点", "type":"EHS", "taskSheetType":0, "status":2, "statusCollection":null, "reviewStatus":null, "statusApprove":null, "templateId":21135, "templateCode":"EHS20200827143227621", "templateName":"082701hhh", "agentId":7521, "agentName":"lichao", "customerName":"XXXX;", "projectNo":"SCT-01", "projectName":"SCT", "signSiteId":421051, "signSiteCode":"作业对象1234", "signSiteName":"XX作业对象", "adminRegion":null, "adminRegionName":null, "adminOrganization":null, "adminOrganizationName":null, "workType":null, "partner":null, "deleteFlag":0, "lastUpdateDate":"2020-09-11T04:24:21.000+0000", "udf1":null, "udf2":null, "udf3":null, "itemId":10, "objectId":"General EHS", "aiResult":1, "aiPhotoId":"76268", "manualResult":0, "remarks":null, "reviewDate":"2020-09-11T04:24:12.000+0000" }], "pos":0, "total_count":1920 } }
  • 响应参数 参数 类型 描述 taskId int 任务Id taskCode String 任务编码 taskName String 任务名称 type int 业务类型 taskSheetType int 任务表单类型 status int 任务状态 statusCollection int 采集状态 reviewStatus int 审核状态 statusApprove int 评审状态 templateId int 模板Id templateCode String 模板编码 templateName String 模板名称 agentId int 坐席账号 agentName String 坐席名称 customerName String 客户名称 projectNo String 项目编码 projectName String 项目名称 signSiteId int 作业对象ID signSiteCode String 作业对象编码 signSiteName String 作业对象名称 signSiteType varchar(20) 作业对象类型 adminRegion String 行政区域 adminRegionName String 行政区域名字 adminOrganization String 行政组织 adminOrganizationName String 行政组织名字 reviewUserIdLevelOne int(2) 一级审批人ID reviewDateLevelOne bigint(20) 一级审批时间戳 reviewUserNameLevelOne varchar(200) 一级审批人名字 reviewStatusLevelOne int(2) 一级审批状态 reviewDescLevelOne longtext 一级审核意见 reviewUserIdLevelTwo int(2) 二级审批人ID reviewDateLevelTwo bigint(20) 二级审批时间戳 reviewUserNameLevelTwo varchar(200) 二级审批人名字 reviewStatusLevelTwo int(2) 二级审批状态 reviewDescLevelTwo longtext 二级审核意见 planBeginDate Date 计划开始时间 planEndDate Date 计划完成时间 assignedUserId varchar(1000) 执行人ID workType String 工作类型 partner String 合作单位 deleteFlag String 0有效的,1无效的 creationDate Date 创建时间 lastUpdateDate Date 最后更新时间 completesDate Date 完成时间 cancelsDate Date 取消时间 udf1 varchar(500) 产品类型 udf2 varchar(500) 业务场景 udf3 varchar(500) 作业类型 udf4 varchar(500) 作业内容 udf5 varchar(500) 工程服务方式 udf6 varchar(500) 作业备案 firstMatchAgentTimetamp bigint(20) 第一次匹配坐席时间 remarks varchar(100) 备注 supervisorInfo varchar(4000) 督导人员信息 towermanInfo varchar(4000) 塔工人员信息
  • 请求参数 参数 类型 是否必填 描述 page.start int 必填 开始行数 page.count int 必填 每页总数 taskId int 否 任务ID pageTypeFlag String 否 区分分页方式 startTime String 否 开始时间 endTime String 否 结束时间 udf1 String 否 产品类型 udf3 String 否 作业类型 deleteFlag int 否 有效状态 dataFlag String 否 查询标识
  • 响应示例 [ { "personId" : 183663, "personGroupId" : null, "blackList" : 0, "reason" : null, "profilePictureStatus" : "CollectionSucceeded", "profilePictureId" : "1325041", "personCode" : "test", "firstName" : null, "lastName" : null, "personName" : "test", "qualificationCode" : null, "personType" : "Admin", "tenantId" : 1, "description" : "", "phone" : "137****4826", "adminOrgId" : 502, "orgName" : "超级租户", "customerId" : null, "customerName" : null, "supplierId" : null, "supplierName" : null, "openAccount" : null, "account" : "", "headFileId" : null, "faceFileId" : null, "integrationAccount" : "jczh123", "status" : 0, "lastUpdatedBy" : -1, "lastUpdateDate" : 1631861495000, "personStatus" : "OpenAccount", "udfExtend1" : "1", "udfExtend2" : null, "udfExtend3" : null, "udfExtend4" : null, "udfExtend5" : null, "udfExtend6" : null, "isSmartDevice" : null, "userId" : 1859, "personPositionList" : [], "PersonPositionNameStr" : null, "personPositionCodeStr" : null } ]
  • 响应示例 { "status": "success", "msg": null, "data": { "bannerId": 100261, "bannerPictureId": "1513407", "bannerTitle": "testLogo", "bannerType": "LOGO_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 }
  • 响应示例 { "data": [ { "projectId": 30036, "projectCode": "90116", "projectName": "openapi", "buOrgId": 8888, "description": "第16个项目", "contract": "90116", "customerId": 17408, "customerName": "客户1001", "supplierId": "26792", "supplierName": null, "tenantId": 1348, "projectManagerId": 143086, "projectStatusCode": "release", "startDate": "2020-10-10", "endDate": "2020-12-29", "buOrgName": "XXXXXXX公司", "customerOrgCode": "15490", "projectManager": null, "udfExtend1": null, "udfExtend2": null, "udfExtend3": null, "udfExtend4": null, "udfExtend5": null, "udfExtend6": null, "udfExtend7": null, "udfExtend8": null, "udfExtend9": null, "udfExtend10": null, "customerOrgName": "行政001", }, { "projectId": 30037, "projectCode": "90117", "projectName": "项目090117", "buOrgId": 8888, … }, { "projectId": 30039, "projectCode": "90119", "projectName": "项目090119", "buOrgId": 8888, }, { "projectId": 30030, "projectCode": "90110", "projectName": "项目090110", "buOrgId": 8888, … }, { "projectId": 30031, "projectCode": "90111", "projectName": "项目090111", "buOrgId": 8888, … }, { "projectId": 30032, "projectCode": "90112", "projectName": "项目090112", "buOrgId": 8888, … }, { "projectId": 30033, "projectCode": "90113", "projectName": "项目090113", "buOrgId": 8888, … }, { "projectId": 30034, "projectCode": "90114", "projectName": "项目090114", "buOrgId": 8888, … }, { "projectId": 30035, "projectCode": "90115", "projectName": "项目090115", "buOrgId": 8888, … }, ], "pos": 0, "total_count": 9, "entityName": null, }
  • 响应示例 返回键值对,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 } }
  • 响应示例 { "status": "success", "msg": null, "data": { "data": [ { "appName": "pub-server", "entityName": "Address", "lastUpdateDate": "2023-12-11T23:57:35.000+08:00", "lastUpdatedBy": -1, "creationDate": "2023-10-19T17:14:06.000+08:00", "createdBy": -1, "deleteFlag": 0, "tenantId": 1, "description": null, "parentId": 1033231, "addressPath": "69585.1032231.1033231", "addressLevel": 4, "address": "xxx", "addressCode": "xxx", "addressId": 5783601, "longitude": null, "latitude": null, "coordinate": null, "coordinateType": null, "detailedAddress": null, "udfExtend2": null, "udfExtend3": null, "udfExtend4": null, "udfExtend1": null, "udfExtend7": null, "udfExtend8": null, "udfExtend9": null, "udfExtend10": null, "geoHash": null, "hasSubNode": false } ], "pos": 0, "total_count": 15879, "entityName": null, "totalCount": 15879 }, "failed": false, "success": true }
  • 响应参数 参数 类型 描述 status String 处理结果。 msg String 错误信息。 data Object 返回结果。 data参数说明 参数 类型 描述 total_count Long 总计数 entityName String 实体名称。 totalCount Long 总计数 data.data参数 参数 类型 描述 appName String 应用名称。 entityName String 实体名称。 lastUpdateDate datetime 最后更新时间 lastUpdatedBy Long 最后修改人ID creationDate datetime 最后更新时间 createdBy Long 创建人ID deleteFlag Integer 是否删除0-正常1-已删除 tenantId Long 位置ID。 description String 描述 parentId Long 上级位置ID。 addressPath String 位置路径。 addressLevel Integer 位置层级。 address String 位置名称。 addressCode String 位置编码。 addressId Long 位置ID。 longitude Double 经度。 latitude Double 纬度。 coordinate String 位置坐标。 coordinateType String 位置类型。 detailedAddress String 详细地址 udfExtend2 String 扩展属性2。 udfExtend3 String 扩展属性3。 udfExtend4 String 扩展属性4。 udfExtend1 String 扩展属性1。 udfExtend7 String 扩展属性7。 udfExtend8 String 扩展属性8。 udfExtend9 String 扩展属性9。 udfExtend10 String 扩展属性10。 geoHash String 经纬度对应geoHash hasSubNode boolean 是否有下级位置信息。
  • 响应示例 { "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 } ] }
  • 响应参数 参数 类型 描述 stateCode String 响应编码。 errorMessage String 错误信息。 result Object 响应数据。 result中对象说明: 参数 类型 描述 extendName String 自定义扩展属性名称。 extendType Integer 扩展字段类型。 1:文本 2:枚举 3:多枚举 4:日期 5:时间 extendValue String 扩展属性值。 udfName String 扩展属性编码。 isNecessary Integer 是否必填。 0:不必填 1:必填
  • 请求参数 参数 类型 是否必填 描述 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": "" }
  • 响应示例 { "result": [ { "originTo": "13113043833", "createTime": "2022-04-21T07:14:34Z", "from": "8820052512191", "smsMsgId": "61b06317-b1f7-4bae-a1c8-48429e609638_569241492", "status": "000000" } ], "code": "000000", "description": "Success" }
  • 响应参数 参数 类型 描述 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 } }
  • 响应示例 { "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, }, }
  • 请求示例 { "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": [ { "adminOrganization": "830", "adminOrganizationName": "杨凌作业系统测试№", "categoryId": 1067, "courseCode": "20230331100", "courseId": 9255, "courseName": "openapi新增课程test22", "courseRemark": "课程描述长度校验OK", "courseStatus": 0, "coverFileId": 7491621, "createName": "zhang_sit", "deleteFlag": 0, "tenantId": 886, "createdBy": 864711, "creationTimestamp": 1680243503655, "creationDate": "2023-03-31T06:18:26.272+00:00", "lastUpdatedBy": 864711, "lastUpdateName": "zhang_sit", "lastUpdateDate": "2023-03-31T06:18:26.272+00:00", "lastUpdateTimestamp": 1680243503655, "orgPath": "-1.830", "entityName": "trainingCourse", "appName": "training-server", "affectedRows": 1 } ] }
  • 请求示例 { "courseName" : "课程openapi", "categoryId" : 1067, "courseCode" : "", "courseRemark" : "课程描述长度校验OK", "coverFileId" : 7491621, "adminOrgNo" : "SaasTenant886", "createName" : "无牙仔", "courseStatus" : 0 }
  • 请求参数 参数 类型 是否必填 描述 courseName String Y 课程名称 categoryId Long Y 课程类别Id courseCode String N 课程编号;可手动录入,不录入则按默认规则生成(创建年月日+流水号) courseRemark String Y 描述 coverFileId Long Y 封面图片Id createName String Y 创建人名称 courseStatus Int Y 课程状态(默认0 -1-删除 0-草稿、1-已发布、2-取消发布) adminOrgNo String Y 组织单元编码,创建的课程将会展示在此组织单元用户的课程列表中
  • 响应示例 { "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条