华为云用户手册

  • 响应示例 { "status": 1, "message": "SUC CES S", "error": null, "data":{ "data":[ { "deviceId": "21024125389SL7002176", "isdpDeviceId": "21024125389SL7002176-0", "channelId": "0", "deviceName": "HoloSens SDC-0", "deviceState": "ONLINE", "accessProtocol": "HOLO", "deviceType": "WEBCAM", "deviceSystemState": null, "description": "", "model": "D3220-10-SIU", "manufacture": "huawei", "channelTotal": 0, "streamTotal": 0, "firmware": null, "deviceAbility": "intelligent,talk", "mac": null, "createTime": null, "updateTime": "2020-12-28 17:25:13", "protocolVersion": null, "deviceIp": null, "devicePort": null, "tenantId": 886, "projectNumber": "0001", "projectName": "XXXX项目", "deviceAddress": "XXXXXX基站", "fileId": "342955", "sysType": null, "fileSize": "106934", "fileName": "2020_12_28_17_29_04.jpg", "fileExt": "jpg", "deviceAddressNumber": "A0001", "webPlayUrl": "https://078dda04fc284058940039ebb5d0de25.APIgw.cn-north-4.huaweicloud.com/live/work003?app=vis&stream=XXXX", "verificationCode": "6h6yM3U1", "deviceManageState": "ACTIVATION", "deviceSubType": "IPC-CONCH", "creationDate": 1608968667000, "lastUpdateDate": 1609296597000, "lastUpdatedBy": null, "deviceAlarmStatus": "pulse", "autoJoin": null, "battery": null, "ownnerId": null, "longitude": null, "latitude": null, "chatJid": null, "chatId": null, "liveChannelId": null, "userName": null, "ownnerName": null }, { "deviceId": "3D2466559837484EDB7301977B8A0918", "isdpDeviceId": "3D2466559837484EDB7301977B8A0918-1", "channelId": "1", "deviceName": "IPC", "deviceState": "ONLINE", "accessProtocol": "holosens", "deviceType": "WEBCAM", "deviceSystemState": null, "description": "", "model": "HuaWeiSDC", "manufacture": "HUAWEI", "channelTotal": 0, "streamTotal": 0, "firmware": null, "deviceAbility": "", "mac": null, "createTime": null, "updateTime": null, "protocolVersion": null, "deviceIp": null, "devicePort": null, "tenantId": 886, "projectNumber": "hh6", "projectName": "h7", "deviceAddress": "sssssssssssssssssssssss", "fileId": null, "sysType": null, "fileSize": null, "fileName": null, "fileExt": null, "deviceAddressNumber": "ddddddddd", "webPlayUrl": null, "verificationCode": "H7WnS74f", "deviceManageState": "ACTIVATION", "deviceSubType": "IPC", "creationDate": 1604731092000, "lastUpdateDate": 1609248229000, "lastUpdatedBy": 25804, "deviceAlarmStatus": "stop", "autoJoin": null, "battery": null, "ownnerId": null, "longitude": null, "latitude": null, "chatJid": null, "chatId": null, "liveChannelId": null, "userName": "张三_14776771015", "ownnerName": null } ], "pos": 0, "total_count": 2, "entityName": null }, "timestamp": "2020-12-30T10:59:40.883+0800" }
  • 响应参数 参数 类型 描述 isdpDeviceId String isdp唯一设备ID deviceId String 设备ID channelId String 通道ID deviceName String 设备名称 deviceState String 设备状态 accessProtocol String 接入协议 deviceType String 设备类型 deviceSystemState String 设备管理状态 description String 描述 model String 设备型号 manufacture String 生产厂商 channelTotal int 通道总数 streamTotal int 每个通道码流数量 firmware String 摄像头固件版本号 deviceAbility String 能力集 mac String mac地址 createTime String 创建时间 updateTime String 更新时间 protocolVersion String 协议版本 deviceIp String 设备ip devicePort String 设备端口 projectName String 项目名称 projectNumber String 项目编码 deviceAddress String 设备地址 fileId String 图片编号 sysType String 系统类型 fileSize String 文件大小 fileName String 文件名称 fileExt String 文件扩展名 deviceAddressNumber String 设备地址编号 deviceSubType String 子设备类型 deviceAlarmStatus String 设备告警状态 autoJoin String 是否主动入会 battery String 电量 ownnerId String 设备责任人ID longitude String 经度 latitude String 纬度 chatJid String IM群组ID chatId String IM聊天ID liveChannelId String 频道播放ID userName String 设备使用人名称 ownnerName String 设备责任人名称 webPlayUrl String web播放地址
  • 响应示例 { "stateCode":"0", "errorMessage":null, "result":{ "data":[{ "agentId":7521, "agentName":"liXX", "agentAccount":"188XXXX6100", "deputyAgentId":null, "deputyAgentUserId":null, "deputyAgentName":null, "deputyAgentAccount":null, "tenantId":886, "signSiteCode":"质检作业对象-01", "signSiteName":"质检作业对象-01", "userId":25773, "playUserId":25797, "channelId":202912, "channelName":"北京-XXXX-20200723S-质检位置-01", "createdBy":25797, "creationDate":"2020-09-11T07:16:54.000+0000", "createName":"韩XX", "chatjid":"186XXX@saasgroupchat.isdp-saas-sit.test.huawei.com", "customerName":"XXXX;", "city":null, "province":"北京", "country":null, "taskId":591795, "taskName":"北京-XXXX-20200723S-质检位置-01", "projectNo":"20200723", "projectName":"20200723S", "adminRegion":null, "adminRegionName":null, "partner":null, "udf1":null, "udf3":null, "adminOrganization":null, "adminOrganizationName":null }], "pos":0, "total_count":1 } }
  • 响应参数 参数 类型 描述 agentId int 坐席ID agentName String 坐席名称 agentAccount String 坐席账号 deputyAgentId int 副坐席ID deputyAgentUserId int 副坐席USERID deputyAgentName String 副坐席名称 deputyAgentAccount String 副坐席账号 tenantId int 租户ID signSiteCode String 作业对象编号 signSiteName String 作业对象名称 userId int 用户ID playUserId int 直播USERID channelId int 视频通道 channelName String 通道名称 createdBy int 创建人 creationDate Date 创建时间 createName String 创建人名字 chatjid int IM消息号 customerName String 客户名称 city String 城市 taskId int 任务Id taskName String 任务编码 projectNo String 项目编码 projectName String 项目名称 adminRegion String 行政区域 adminRegionName String 行政区 域名 字 partner String 分包商 udf3 String 作业类型 adminOrganization String 行政组织 adminOrganizationName String 行政组织名称
  • 请求参数 参数 类型 是否必填 描述 page.start int 是 开始行数 page.count int 是 每页总数 taskId int 是 任务ID taskName String 是 任务名称 projectNo String 是 项目编码 projectName String 是 项目名称 udf3 String 是 作业类型 customer_name Array 必填 客户名称 city Array 是 国家 province Array 是 省份 country Array 是 城市 adminOrganization String 是 行政组织 adminOrganizationName String 是 行政组织名字
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": [ { "sceneTaskId": 1428935, "taskId": 141110, "taskName": "12", "status": 3, "createdBy": 25804, "createName": "张三", "parentTaskId": 1428934, "checkOrderId": null, "checkOrderName": null, "checkOrderType": null, "description": "", "actualEndTime": 1631171405709, "actualBeginTime": 1631171405709, "beginTimestamp": null, "endTimestamp": null, "processFeedback": "" }, { "sceneTaskId": 1428936, "taskId": 141110, "taskName": "23", "status": 3, "createdBy": 25804, "createName": "张三", "parentTaskId": 1428934, "checkOrderId": null, "checkOrderName": null, "checkOrderType": null, "description": "", "actualEndTime": 1631171453292, "actualBeginTime": 1631171453292, "beginTimestamp": null, "endTimestamp": null, "processFeedback": "" } ] }
  • 请求示例 {"udf1":"sssssss","udf3":"yjl","udf6":"","udf5":1645718400000,"udf7":"","udf8":"","udf10":"","udf14":"测试 ","udf13":"","udf19":"12356789012345678901234567890123456789101234567890","udf4":"12346789011234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890","issueId":306340,"isCloseMark":"1","issueInstance":"1"}
  • 响应示例 { "data": [ { "roleId": 4414, "roleNo": "A", "roleName": "A", "deleteFlag": 0 }, { "roleId": 2820, "roleNo": "9934.113075406014", "roleName": "9934.113075406014", "deleteFlag": 1 }, { "roleId": 2828, "roleNo": "9835.16944144669", "roleName": "9835.16944144669", "deleteFlag": 1 }, { "roleId": 2829, "roleNo": "9850.819576871194", "roleName": "9850.819576871194", "deleteFlag": 1 }, { "roleId": 2850, "roleNo": "9907.835090073238", "roleName": "9907.835090073238", "deleteFlag": 1 }, { "roleId": 4412, "roleNo": "9949.369760558333", "roleName": "9949.369760558333", "deleteFlag": 1 }, { "roleId": 4685, "roleNo": "9972.24808047981", "roleName": "9972.24808047981", "deleteFlag": 1 }, { "roleId": 4432, "roleNo": "9809.066300582665", "roleName": "9809.066300582665", "deleteFlag": 1 }, { "roleId": 2682, "roleNo": "9956.164084001497", "roleName": "9956.164084001497", "deleteFlag": 1 }, { "roleId": 4248, "roleNo": "9858.55223296242", "roleName": "9858.55223296242", "deleteFlag": 1 } ], "pos": 0, "totalCount": 369, "entityName": "Role" }
  • 响应示例 { "stateCode": "0", "errorMessage": "成功", "result": { "pos": 0, "totalCount": 1, "data": [ { "issueType": "其他故障:", "code": null, "rate": 0, "issueNum": 0 } ], "header": null } }
  • 响应示例 [ { "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" : "13700000001", "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 } ]
  • 请求示例 { "orgInfoList":[ { "orgNo":"robin_test_4_1", "orgName":"新增4_1", "parentOrgNo":"robin_test_3_3" }, { "orgNo":"robin_test_4_2", "orgName":"新增4_2", "parentOrgNo":"robin_test_3_2" }, { "orgNo":"robin_test_3_1", "orgName":"新增3_1_改名_改上级", "parentOrgNo":"robin_test_3_3" } ] }
  • 响应示例 { "stateCode": "0", "errorMessage": "成功", "result": { "pos": 0, "totalCount": 0, "data": [ { "count": 0, "jobObjectId": 0 } ], "header": null } }
  • 请求示例 { "dataList": [ { "personCode": "hzjTest", "roleList": [ { "roleName": "Admin", "ruleList": [ "人员规则2" ] } ] } ] }
  • 响应示例 { "data": [ { "orgName": "15986837072", "parentOrgId": 0, "orgCode": "SaasTenant1846" } ], "pos": 0, "totalCount": 1, "entityName": null }
  • 响应示例 { "stateCode": "0", "errorMessage": "success", "result": { "pos": 0, "totalCount": 2, "data": [ { "issueType": "typeA", "totalNum": 20, "majorNum": 2, "importantNum": 3, "minorNum": 15 }, { "issueType": "typeB", "totalNum": 10, "majorNum": 2, "importantNum": 3, "minorNum": 5 } ] } }
  • 请求示例 { "date": "2022-06-11", "dateType": "day", "period": 7, "orgIdList": ["123", "124"], "sortBy": 0, "pageStart": 0, "pageSize": 15, "queryType": 0 }
  • 响应示例 { "stateCode": "0", "errorMessage": "成功", "result": [ { "status": "0", "message": "保存成功", "customerTaskId": "2021042903", "taskId": 171149 } ] }
  • 请求示例 { "taskQueries": [ { "customerTaskId": 2021042903, "taskName": "测试", "taskSheetType": 0, "signSiteCode": "加密", "signSiteName": "加密", "signSiteType": "", "adminRegion": "中国(CN)-XX市", "longitude": "126", "latitude": "26", "signSiteAddress": "作业对象的位置详细地址", "projectNo": "P001", "customerName": "", "partner": "null", "type": "asd", "deliveryScene": "", "productType": "", "templateCode": "EHS20210126105343752", "templateName": "安全监测-视频模板", "planBeginDate": "", "planEndDate": 1598324811850, "remarks": "检查单备注测试", "assignedUserType": "1", "assignedUserName": "18672783257", } ] }
  • 请求参数 参数 类型 是否必填 描述 taskQueries Object 是 任务查询 参数 类型 是否必填 描述 customerTaskId String 是 客户检查单ID taskName String 是 检查单名称 taskSheetType int 是 检查单类型: 0-EHS视频 1-质量检查 2-巡检 signSiteCode String 是 作业对象编码 signSiteName String 否(需要新增作业对象时必填) 作业对象名称 signSiteType String 否 作业对象类型,客户传入,按ISDP+中已配置的枚举写入,用英文key写 代维对应“作业对象级别” signSiteAddress String 否(需要新增作业对象时必填) 作业对象详细地址,如果是新增的作业对象必填 adminRegion String 否 行政区域,传入国家省份城市名称,如:中国-广东-深圳 longitude double 否 经度 latitude double 否 维度 projectNo String 否 项目编码 获取项目编码API请参见:查询项目信息(API名称:findPagedProjectList) projectName String 否(需要新增项目时必填) 项目名称 customerName String 否 客户名称 partner String 否 供应商名称 type String 否 业务类型 deliveryScene String 否 交付场景(EHS不涉及) productType String 否 产品类别(EHS不涉及) udf3 String 否 产品形态(EHS不涉及) templateCode String 是 作业模板编码 获取作业模板编码API请参见:查询模板列表(API名称:findTemplate) templateName String 否 作业模板名称 planBeginDate Long 否 计划开始时间,时间戳 planEndDate Long 否 计划完成时间,时间戳 remarks String 否 备注 assignedUserType int 是 执行人类别: 1-个人 2-群组(EHS不支持群组) assignedUserName String 是 执行人账号或群组名称,多个用分号分隔(EHS不支持群组) 获取执行人API请参见:查询租户下用户信息(API名称:getPersonListByTenant) isReview int 否 是否需要评审: 0-否 1-是 reviewUserAccountLevelOne String 否 L1评审人账号,多个用分号分隔(EHS不涉及评审) levelOneIsOnlineReview int 否 L1是否随机审批: 0-否 1-是 reviewUserAccountLevelTwo String 否 L2评审人账号,多个用分号分隔(EHS不涉及评审) levelTwoIsOnlineReview int 否 L2是否随机审批(EHS不涉及评审) 0-否 1-是 reviewUserAccountLevelThree String 否 L3评审人账号,多个用分号分隔(EHS不涉及评审)
  • 相关接口 接口名称 调用说明 获取Token 调用该接口获取到Token,再调用其他接口时,需要在请求消息头中添加“Authorization”,其值即为Token。 查询租户下用户信息(API名称:getPersonListByTenant) 调用该接口获取执行人。 创建检查单时,需要输入执行人。 查询项目信息(API名称:findPagedProjectList) 调用该接口获取项目编码。 创建检查单时,需要输入项目编码。 查询模板列表 调用该接口获取作业模板编码。 创建检查单时,需要输入作业模板编码。 更新检查单 调用该接口查询更新检查单。 查询EHS检查单(API名称:findTask) 调用该接口查询检查单状态。 删除检查单 调用该接口可以删除已经创建的检查单。
  • 响应参数 字段名 数据类型 字段名称 proxy String 代理 appId String app唯一标识 expirationTime int 超时时间 tokenBegin String 令牌有效开始时间 tokenEnd String 令牌有效结束时间 token String 令牌 publishUrl String 推流地址 transcodingFramerate String 转码帧率 transcodingWidth String 转码宽度 currentPushSum String 当前推流路数 pushEnable String 推流是否可用 pushLimit String 推流限制 transcodingHeight String 转码高度 transcodingBitrate String 码率 networkQuality String 网络质量 playQuality String 播放质量 playQualityCondition String 播放质量各参数值 proxyList String 代理列表 metering String 计费信息 safetyHelmetInfo String 安全帽信息
  • 响应示例 { "status": 1, "message": "SUCCESS", "error": null, "data": { "proxy": "video.isdp.test.huawei.com", "appId": "b78e8a89d5034d27b522c3f1f12ed1c5", "expirationTime": 120, "tokenBegin": "2021-03-03T11:27:45", "tokenEnd": "2021-03-03T11:29:45", "token": "006b78e8a89d5034d27b522c3f1f12ed1c5IABCvPqGghrZIofeFJmzo+VTfzYAPhLSLyjsrLQ/mZEkAtnHeF8AAAAAIgA77pRcsFNAYAQAAQCoAj9gAgCoAj9gAwCoAj9gBACoAj9g", "publishUrl": "rtmp://pushdev.gupiaoai.com/live/2253_10882", "publishInfo": { "transcodingFramerate": 0, "transcodingWidth": 0, "currentPushSum": 2, "pushEnable": true, "pushLimit": 100, "transcodingHeight": 0, "transcodingBitrate": 0 }, "networkQuality": { "normal": "16-30", "strong": "0-15", "bad": "51-100", "weak": "31-50" }, "playQuality": { "frameRate": 15, "bitRate": 320, "resolutionHeight": 360, "resolutionWidth": 480 }, "playQualityCondition": { "t4G": 31, "t5G": 31, "t2G": 0, "CPU": 80, "t3G": 0, "WIFI": 31 }, "proxyList": [ "172-19-99-245.video.isdp.test.huawei.com", "172-19-99-228.video.isdp.test.huawei.com" ], "metering": { "message": "5003", "status": 0 }, "safetyHelmetInfo": { "resolutionRatio": null } }, "timestamp": "2021-03-03T11:27:46.921+0800" }
  • 请求参数 参数 类型 是否必填 描述 mytodoList List 是 任务列表 mytodoList列表: 参数 类型 是否必填 描述 assignedUserIdList Long[] 否 执行人列表 reviewerIdList Long[] 否 审批人列表 groupIdList Long[] 否 群组id列表 sceneTaskId Long 是 任务id 获取任务id API请参见:查询父任务(API名称:queryParentTaskList),查询子任务(API名称:OpenSceneTask/querySubTaskList)或查询工序(API名称:queryProcedureList) submitter Long 否 创建人 taskName String 否 任务标题 获取任务标题API请参见:查询父任务(API名称:queryParentTaskList),查询子任务(API名称:OpenSceneTask/querySubTaskList)或查询工序(API名称:queryProcedureList) parentTaskId Long 否 父任务id parentTaskName String 否 父任务名称 templateId Long 否 关联采集模板ID templateName String 否 关联采集模板名称 content String 否 内容 status String 否 任务状态: 0:草稿 1:待执行 2:执行中 3:已完成 4:已取消 5:申请待审批 9:已驳回 url String 否 跳转url thirdUrl String 否 第三方跳转url或用于移动端跳转的url todoBusinessType String 否 待办类别(JobToDo:作业待办,ApproveToDo:审核待办,..),取值为数据字典中大类为待办类型下的子项编码 toDoTips String 否 任务标签(100:第三方待办,..)取值为数据字典中大类为任务标签下的子项编码 reviewLevel String 否 当时审批层级 reviewStatus String 否 审批结果 signSiteName String 否 作业对象名称 signSiteCode String 否 作业对象编码 procedureOrNot String 否 是否带工序: 0 否 1 是 taskTagType String 否 任务标识 subTaskOrNot String 否 是否带子任务 projectNo String 否 项目编码 businessKey String 否 业务key,将服务名称比如isdp-rp-server siteId String 否 作业对象ID statusCollection String 否 采集状态 statusApprove String 否 评审状态 signMode Int 否 评审模式: 0 单签 1 会签 assignedGroupId Long[] 否 执行人群组Id procedureInfo String 否 描述,合成map存入other_info字段 taskTicketInfo String 否 同procedureInfo checkTaskInfo String 否 同procedureInfo currentReviewLevel String 否 当前任务对应审批层级 获取当前任务对应审批层级API请参见:查询任务执行人或评审人(API名称:queryTaskUserInfoList) currentReviewerId String 否 当前任务对应审批人 获取当前任务对应审批人API请参见:查询任务执行人或评审人(API名称:queryTaskUserInfoList) isUpdateHandled String 否 是否更新已办: Y 更新 N 不更新
  • 请求示例 { "mytodoList":[{ "currentReviewLevel":1, "isUpdateHandled":"Y", "signMode":1, "reviewLevel":1, "reviewerIdList":[4107,2,3], "sceneTaskId":88, "signSiteCode":"", "signSiteName":"", "status":5, "subTaskOrNot":0, "submitter":25804, "taskName":"测试审批流名称730", "taskTagType":1, "templateName":"", "toDoTips":14, "todoBusinessType":"Appcube_ApproveToDo", "url":"#/qc/toDoList/taskReview?sceneTaskId=90084&parentTaskId=90084&taskType=1&type=206", "thirdUrl":"#/qc/toDoList/taskReview?sceneTaskId=90084&parentTaskId=90084&taskType=1&type=206" }] }
  • 相关接口 接口名称 调用说明 获取Token 调用该接口获取到Token,再调用其他接口时,需要在请求消息头中添加“Authorization”,其值即为Token。 查询父任务(API名称:queryParentTaskList) 查询子任务(API名称:OpenSceneTask/querySubTaskList) 查询工序(API名称:queryProcedureList) 调用该接口获取到任务id、任务标题。 新增待办时,需要输入任务id、任务标题。 查询任务执行人或评审人(API名称:queryTaskUserInfoList) 调用该接口获取到当前任务对应审批层级、当前任务对应审批人。 新增待办时,需要输入当前任务对应审批层级、当前任务对应审批人。 更新待办 新增待办后,可以调用该接口更新待办。 删除待办 新增待办后,可以调用该接口删除待办。 完结待办 新增待办后,可以调用该接口完结待办。
  • 响应示例 { "errorMessage": "成功", "result": { "data": [ { "sceneName": "【现场巡检】-(智能生活馆)", "versionList": ["1.0","1.1"] } ], "pos": 0, "totalCount": 1 }, "stateCode": "0" }
  • 请求示例 { "date": "2022-06-11", "dateType": "day", "period": 7, "orgIdList": ["123", "124"], "sortBy": 0, "pageStart": 0, "pageSize": 15, "queryType": 0 }
  • 响应示例 { "stateCode": "0", "errorMessage": "success", "result": { "pos": 0, "totalCount": 2, "data": [ { "orgId": "123", "orgName": "org123", "issueNum": 100 }, { "orgId": "124", "orgName": "org124", "issueNum": 80 } ] } }
  • 请求示例 { "date": "2022-06-11", "dateType": "day", "sceneName": "巡检", "querType": 0, "orgIdList": ["123", "124"], "pageStart": 0, "pageSize": 15 }
  • 响应示例 { "stateCode": "0", "errorMessage": "success", "result": { "pos": 0, "totalCount": 1, "data": [ { "taskIdList": "123456,123457,123458" } ] } }
共100000条