华为云用户手册

  • 请求参数 参数 类型 是否必填 描述 mytodoList List 必填 任务列表 mytodoList列表: 参数 类型 是否必填 描述 sceneTaskId Long 是 任务id 获取任务id API请参见: 查询父任务(API名称:queryParentTaskList) 查询子任务(API名称:querySubTaskList) 查询工序(API名称:queryProcedureList) taskName String 否 任务标题 获取任务标题API请参见: 查询父任务(API名称:queryParentTaskList) 查询子任务(API名称:querySubTaskList) 查询工序(API名称:queryProcedureList) parentTaskName String 否 父任务名称 templateId Long 否 关联采集模板ID templateName String 否 关联采集模板名称 content String 否 内容 status String 否 任务状态: 0:草稿 1:待执行 2:执行中 3:已完成 4:已取消 5:申请待审批 9:已驳回 url String 否 跳转url thirdUrl String 否 第三方跳转url todoBusinessType String 否 待办类别(作业待办,审核待办) toDoTips String 否 子类别/待办标签(作业待办,审核待办) reviewLevel String 否 当时审批层级 signSiteName String 否 作业对象名称 signSiteCode String 否 作业对象编码 procedureOrNot String 否 是否带工序: 0 否 1 是 taskTagType String 否 任务标识 siteId String 否 作业对象ID statusCollection String 否 采集状态 statusApprove String 否 评审状态 signMode Int 否 评审模式: 0 单签 1 会签 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 不更新
  • 请求示例 { "actualBeginTime": null, "actualEndTime": null, "address": null, "adminOrganization": "25245", "adminOrganizationName": "信息展示子系统SIT测试租户", "administrativeDivision": null, "administrativeDivisionName": null, "assignedUserId": "864221", "assignedUserName": "15319700143", "attachmentList": [], "beginTimestamp": null, "category": null, "categoryId": null, "ccPerson": "", "ccPersonGroup": "", "ccPersonGroupName": "", "ccPersonName": "", "checkOrderId": null, "checkOrderName": null, "collectionProcessType": null, "collectionReviewId": null, "collectionReviewName": null, "commandSwitch": "N", "createName": "153xxxx0143", "createdBy": 864221, "creationDate": "2023-02-08T09:19:50.000+00:00", "creationTimestamp": 1675847990937, "customerId": null, "customerName": null, "endTimestamp": null, "isApplyApprove": 0, "isAppraisal": null, "jobDuration": null, "latitude": "", "longitude": "", "operUserId": 864221, "operationGuideList": [], "owner": "", "ownerGroup": "", "ownerGroupName": "", "ownerName": "", "parentCategory": null, "parentCategoryId": null, "priority": null, "processType": null, "projectDuration": null, "projectName": null, "projectNo": null, "regionId": null, "regionName": null, "regionPath": null, "regionPathName": null, "requiredEndTime": null, "requiredStartTime": null, "reviewRuleId": null, "reviewRuleName": "", "saveDraft": "0", "sceneCode": "TS20230206201933023", "sceneId": 127790, "sceneLicense": null, "sceneMode": 4, "sceneName": "父子任务有扩展属性", "sceneTaskId": 3233357, "sceneVersion": "1.0", "schedulingMode": null, "signInConfig": null, "signSiteCode": "新建作业对象编码", "signSiteId": 99054145, "signSiteName": "新建作业对象名称", "skill": null, "status": 0, "subTaskList": [ { "address": "", "administrativeDivision": null, "administrativeDivisionName": null, "allIssueList": [], "assignedUserId": "864221", "assignedUserName": "15319700143", "beginTimestamp": null, "ccPerson": "", "ccPersonGroup": "", "ccPersonGroupName": "", "ccPersonName": "", "collectionReviewName": null, "description": "", "endTimestamp": null, "isAppraisal": 0, "isNA": 0, "issueId": null, "keyPoint": null, "latitude": "", "licenseSwitch": 0, "longitude": "", "modeOrder": 1, "oldTaskName": "子任务1", "operationGuideList": [], "owner": "", "ownerGroup": "", "ownerGroupName": "", "ownerName": "", "parentTaskId": 3233357, "priority": null, "procedureOrNot": 0, "regionName": null, "regionPath": null, "sceneModeCode": "225814", "sceneTaskId": 1959907, "signSiteCode": "", "signSiteId": "", "signSiteName": "", "skill": null, "status": 0, "taskExtend": [ { "extendName": "实际工作量", "extendType": 7, "extendValue": "1.00", "fieldOrder": 1, "isNecessary": 1, "maxValue": "2000.00", "minValue": "1.00", "precision": 2, "sceneTaskId": 1959907, "stage": 2, "udfName": "UDF1", "unitName": "公斤" }, { "extendName": "计划工作量", "extendType": 7, "extendValue": "1.00", "fieldOrder": 2, "isNecessary": 1, "maxValue": "2000.00", "minValue": "1.00", "precision": 2, "sceneTaskId": 1959907, "stage": 1, "udfName": "UDF2", "unitName": "公斤" } ], "taskName": "子任务1", "taskObjectType": "", "taskType": 2, "templateCode": "", "templateName": "", "userGroup": "", "userGroupName": "", "version": "" }, { "address": "", "administrativeDivision": null, "administrativeDivisionName": null, "allIssueList": [], "assignedUserId": "864221", "assignedUserName": "15319700143", "beginTimestamp": null, "ccPerson": "", "ccPersonGroup": "", "ccPersonGroupName": "", "ccPersonName": "", "collectionReviewName": null, "description": "", "endTimestamp": null, "isAppraisal": 0, "isNA": 0, "issueId": null, "keyPoint": null, "latitude": "", "licenseSwitch": 0, "longitude": "", "modeOrder": 2, "oldTaskName": "子任务2", "operationGuideList": [], "owner": "", "ownerGroup": "", "ownerGroupName": "", "ownerName": "", "parentTaskId": 3233357, "priority": null, "procedureOrNot": 0, "regionName": null, "regionPath": null, "sceneModeCode": "225815", "sceneTaskId": 1959908, "signSiteCode": "", "signSiteId": "", "signSiteName": "", "skill": null, "status": 0, "taskExtend": [ { "extendName": "实际工作量", "extendType": 7, "extendValue": "1.00", "fieldOrder": 1, "isNecessary": 1, "maxValue": "2000.00", "minValue": "1.00", "precision": 2, "sceneTaskId": 1959908, "stage": 2, "udfName": "UDF1", "unitName": "公斤" }, { "extendName": "计划工作量", "extendType": 7, "extendValue": "1.00", "fieldOrder": 2, "isNecessary": 1, "maxValue": "2000.00", "minValue": "1.00", "precision": 2, "sceneTaskId": 1959908, "stage": 1, "udfName": "UDF2", "unitName": "公斤" } ], "taskName": "子任务2", "taskObjectType": "", "taskType": 2, "templateCode": "", "templateName": "", "userGroup": "", "userGroupName": "", "version": "" } ], "supplierName": null, "taskExtend": [ { "extendName": "计划工作量", "extendType": 7, "extendValue": "10", "fieldOrder": 1, "isNecessary": 1, "maxValue": "12.000", "minValue": "2.000", "precision": 3, "sceneTaskId": 3233357, "stage": 1, "udfName": "UDF20", "unitName": "公斤" }, { "extendName": "实际工作量", "extendType": 6, "extendValue": "10", "fieldOrder": 2, "isNecessary": 2, "maxValue": "20", "minValue": "5", "precision": 0, "sceneTaskId": 3233357, "stage": 2, "udfName": "UDF1", "unitName": "公斤" } ], "taskMode": 4, "taskName": "新创建", "taskObjectType": "公路站", "taskRemark": null, "templateCode": null, "templateId": null, "templateName": null, "userGroup": "", "userGroupName": "", "version": null }
  • 请求参数 参数 类型 是否必填 描述 sceneTaskId Long 是 任务ID operUserId Long 否 操作人ID operUserNo String 否 操作人编码 customerTaskId Long 否 客户任务ID resource String 否 任务来源 taskName String 是 任务名称 sceneName String 是 任务场景名称 sceneId Long 是 任务场景ID sceneCode String 是 场景编码 sceneVersion String 是 场景版本 signSiteId Long 否 作业对象ID signSiteCode String 否 作业对象编码 signSiteName String 否 作业对象名称 projectNo String 否 项目编码 projectName String 否 项目名称 supplierName String 否 供应商 assignedUserType String 否 执行人类型 assignedUser String 否 执行人账号 assignedUserId String 否 执行人ID assignedUserName 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 否 任务是否需要审批 collectionReviewId Long 否 采集审批流ID collectionReviewName String 否 采集审批流名称 collectionProcessType String 否 采集审批流类型( priority String 否 优先级 schedulingMode String 否 调度模式 customerName String 否 客户名称 customerId String 否 客户ID operationGuideList List 否 操作指导 attachmentList List 否 附件 taskMode String 是 任务模式 saveDraft String 是 保持草稿、提交 taskExtend List 否 任务扩展属性 url String 否 待办地址 thirdUrl String 否 第三方待办地址 taskExtend扩展属性每个Object字段说明 参数 类型 是否必填 描述 extendName Long 是 任务扩展属性名称 extendType Long 是 扩展属性类型(1:长文本;2:枚举;3:多枚举;4:日期;5:时间;6:整数;7:小数;20:短文本) extendValue String 否 任务扩展属性值 fieldOrder Integeer 否 任务扩展属性顺序 isNecessary String 是 扩展属性是否必填(1:必填;2:不必填) sceneTaskId Long 是 任务id stage Integer 否 任务扩展属性阶段 1:创建阶段 2: 执行阶段 unitName String 否 单位名称 preTaskList子任务前后置关系每个Object字段说明: 参数 类型 是否必填 描述 isEnabledScenePre String 否 是否继承场景前后置关系 Y:从场景获取,不取接口参数 N :不从场景获取,只取接口入参为准;默认Y,从场景集成 preTaskName String 是 前置任务名称 preTaskLocation String 是 前置任务位置信息 taskPreName String 是 后置任务名称 taskPreLocation String 是 后置任务位置 preType String 是 前置后置关系 preTaskLocation参数说明: 参数 类型 是否必填 描述 x int 是 无现成子任务关系,则初始值赋 X=50 Y=50 后置子任务,则在当前子任务基础上赋值:X不变,Y增加250 兄弟子任务,则在当前子任务基础上赋值:X增加150,Y不变 y int 是 taskPreLocation参数说明: 参数 类型 是否必填 描述 x int 是 无现成子任务关系,则初始值赋 X=50 Y=50 后置子任务,则在当前子任务基础上赋值:X不变,Y增加250 兄弟子任务,则在当前子任务基础上赋值:X增加150,Y不变 y int 是
  • 响应示例 { "status": "success", "msg": null, "data": { "status": 0, "entityName": "person", "appName": "pub-server", "lastUpdateDate": "2023-08-14T23:59:40.000+08:00", "lastUpdatedBy": -1, "creationDate": "2021-07-09T09:30:41.000+08:00", "createdBy": 2736, "deleteFlag": 0, "integrationAccount": null, "userId": 2736, "account": null, "adminOrgId": 1318, "phone": "18616681081", "email": null, "tenantId": 1, "personType": "Employee", "qualificationCode": null, "personName": "韩斌测试1", "lastName": null, "firstName": null, "personCode": "18616681081", "personId": 190148, "personStatus": "OpenAccount", "profilePictureStatus": "CollectionSucceeded", "profilePictureId": "1319567", "udfExtend1": "test", "udfExtend2": "PROJECT", "udfExtend3": null, "udfExtend4": null, "udfExtend5": "2022-09-28T00:00:00.000+08:00", "phoneHash": "d49f7367557b1b60739ea688b4f4627bfa7f7efbb38a8ad0b95ae6995ed481e3e46647633c4c09107035bc238e0b02756b36ca2223268b51d1bc79c16e1e3e86", "emailHash": null, "isSmartDevice": "N", "udfExtend7": null, "udfExtend8": null, "udfExtend9": null, "udfExtend10": null, "registerFace": 0, "blackList": 0, "reason": null, "orgPath": "null.1318", "language": "zh_CN", "countryCode": null, "certificateType": null, "certificateNo": null, "certificateNoHash": null, "userRole": [ { "relationId": 101080, "userId": 2736, "role": { "id": 100001, "roleId": 100001, "value": "人员管理", "roleName": "人员管理", "roleNo": "person", "deleteFlag": 0 }, "permanentFlagStr": "1", "permanentFlag": 1, "beginDateStr": "2021-12-27", "beginDate": "2021-12-27 00:00:00", "endDateStr": "2022-12-27", "endDate": "2022-12-27 23:59:59" }, { "relationId": 101250, "userId": 2736, "role": { "id": 101403, "roleId": 101403, "value": "9686.445217992365", "roleName": "9686.445217992365", "roleNo": "9686.445217992365", "deleteFlag": 0 }, "permanentFlagStr": "1", "permanentFlag": 1, "beginDateStr": "2021-12-27", "beginDate": "2021-12-27 00:00:00", "endDateStr": "2022-12-27", "endDate": "2022-12-27 23:59:59" }, { "relationId": 101378, "userId": 2736, "role": { "id": -998, "roleId": -998, "value": "Admin", "roleName": "Admin", "roleNo": "Admin", "deleteFlag": 0 }, "permanentFlagStr": "1", "permanentFlag": 1, "beginDateStr": "2021-12-27", "beginDate": "2021-12-27 00:00:00", "endDateStr": "2023-12-27", "endDate": "2023-12-27 23:59:59" } ], "extendInfo": [], "personQual": [ { "personQualId": 5000088, "personQualPictureId": null, "personQualPictureStatus": null, "personQualCode": "First aid", "personQualName": "急救证", "validPeriod": "1_days", "skillId": 60001, "startDate": "2023-07-28", "endDate": "2023-07-29", "creationDate": "2023-07-28T19:07:51.000+08:00", "skillLevelCode": "DJ202106001", "skillLevelName": "1级", "skillCode": "First aid", "skillName": "急救证", "skillDomainCode": "LY202106001", "skillDomainName": "ugagu", "personId": 190148, "hireStatus": null } ], "personGroup": [ { "personGroupId": 100028, "personGroupName": "123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890", "personGroupCode": "12345678901234567890123456789012345678901234567890", "personGroupType": "", "level": 1, "description": "", "operationQualIds": null } ] }, "failed": false, "success": true }
  • 响应示例 issueLevel 问题级别 dataCount 数量 { "stateCode": "0", "errorMessage": null, "result": [ { "issueLevel": 0, "dataCount": 1074 }, { "issueLevel": 1, "dataCount": 326 }, { "issueLevel": 2, "dataCount": 3 } ] }
  • 响应示例 { "status": 1, "message": "SUCCESS", "error": null, "data":{ "resultCode": 0, "recordInfos":{ "total": 0, "indexRange":{ "fromIndex": 1, "toIndex": 1000 }, "reserve": "", "recordInfoList":{ "recordInfo":[ ] } } }, "timestamp": "2022-06-20T19:44:47.230+0800" }
  • 响应参数 参数 类型 描述 resultCode Int 响应编码 recordInfos Object 录像查询结果分页信息参见类型RecordInfos RecordInfos出参: 参数 类型 描述 total int 总记录数 indexRange IndexRange 分页信息 reserve string 保留字段长度限制32字节,必须保留该字段,字段内容可以置空 recordInfoList RecordInfoList 录像信息列表 IndexRange出参: 参数 类型 描述 fromIndex Integer 开始索引正整数,取值范围为1~1000 toIndex Integer 结束索引正整数,取值范围为1~1000,且结束索引必须大于或者等于开始索引 RecordInfoList出参: 参数 类型 描述 recordInfo RecordInfo 录像信息 RecordInfo出参: 参数 类型 描述 recordFileName string 录像文件名由汉字和字母(a-z和A-Z)、数字、中划线和下划线组成,长度限制256字节 recordMethod int 录像方式:● 0:平台录像● 1:前端录像● 2:备份服务器● 3:容灾录像 nvrCode string NVR编码查询平台录像时,该字段有值。例如:9145a3f7c4164d3ab9e161fcb4221426,长度限制32字节 mbuDomain string 备份服务器域编码查询备份录像时,该字段有值。例如:6bdacabae9c546e9ab5b8688ccd85a59,长度限制32字节 recordType int 录像类型:● 100:手动录像● 010:计划录像● 001:告警录像 说明:录像类型可叠加,如:110标识查询手动录像和计划录像。 alarmType string 告警类型,长度限制64字节 recordTime TimeSpan 录像起止时间 frameExtractionTimes int 录像抽帧次数:● 0:完整● 1:不完整(抽帧一次)● 2:不完整(抽帧二次)● 3:不完整(抽帧三次) bookmarkInfo BookmarkInfo 录像标签信息(查询方式为按书签时有效) lockInfo LockInfo 录像锁定信息(查询方式为按锁定信息时有效) ptzPresetInfo PTZPresetInfo 录像预置位信息(查询方式为按预置位查询时有效) reserve string 保留字段长度限制64字节,必须保留该字段,字段内容可以置空 TimeSpan出参: 参数 类型 描述 startTime string 开始时间格式如yyyyMMddHHmmss,例如:20121207102035,长度限制20字节 endTime string 结束时间格式如yyyyMMddHHmmss,例如:20121207202035,长度限制20字节 BookmarkInfo出参: 参数 类型 描述 bookmarkId int 录像标签ID bookmarkName string 录像标签名称由汉字和字母(a-z和A-Z)、数字、中划线和下划线组成,长度限制612字节 bookmarkTime string 标签时间时间格式为yyyyMMddHHmmss,例如:20121207102035,长度限制20字节 cameraCode string 摄像机编码例如:32010300100201030101#6bdacabae9c546e9ab5b8688ccd85a59,长度限制64字节 cameraName string 摄像机名称键盘可见字符和中文,长度限制128字节 userDomain string 添加该录像标签的用户所在域编码例如:6bdacabae9c546e9ab5b8688ccd85a59,长度限制32字节 bookmarkCreatorId int 添加该录像标签的用户ID bookmarkCreatorName string 添加该录像标签的用户名键盘可见字符和中文,长度限制128字节 nvrCode string NVR编码查询平台录像的标签时,该字段有值例如:9145a3f7c4164d3ab9e161fcb4221426,长度限制32字节 mbuDomain string 备份服务器域编码查询备份录像的标签时,该字段有值例如:6bdacabae9c546e9ab5b8688ccd85a59,长度限制32字节 reserve string 保留字段长度限制32字节,必须保留该字段,字段内容可以置空 LockInfo出参: 参数 类型 描述 lockId int 录像锁定ID lockTime string 执行锁定操作的时间时间格式为yyyyMMddHHmmss,例如:20121207102035,长度限制20字节 lockTimeSpan TimeSpan 被锁定的录像的时间段 lockDesc string 录像锁定描述键盘可见字符和中文,长度限制260字节 operatorId int 执行该录像锁定操作的用户ID operatorName string 执行该录像锁定操作的用户名键盘可见字符和中文,长度限制128字节 reserve string 保留字段长度限制64字节,必须保留该字段,字段内容可以置空 PTZPresetInfo出参: 参数 类型 描述 presetIndex int 预置位索引号 presetName string 预置位名称由汉字和字母(a-z和A-Z)、数字、中划线和下划线组成,长度限制32字节 reserve string 保留字段长度限制32字节,必须保留该字段,字段内容可以置空注:调用修改预置位接口时,请求中不添加该字段 focusSwitch int 可以为空,或者null,如果为空,默认不启用对焦记忆开关 0-不启用,1-启用
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": { "data": [ { "projectNo": "SCT", "customerTaskId": null, "taskId": 663798, "taskName": "XX-XXXX-SCT-815-03", "signSiteId": 420647, "signSiteCode": "815-03", "signSiteName": "815-03", "templateId": 81160, "templateCode": "QC202XXXXXXXXXXXXXX", "templateName": "QC-质量检查", "version": "1.0", "updateDate": "2020-10-20T11:40:30.000+00:00", "createDate": "2020-10-20T10:50:36.000+00:00", "planStartTime": null, "planEndTime": null, "partner": "XX运营商", "status": 3, "completeDate": "2020-10-20T11:40:30.000+00:00", "statusCollection": 3, "statusApprove": 6, "assignedUserName": "周XX", "firstCommitter": "周XX", "firstSupplierName": "XX供应商", "firstSubmitDate": "2020-10-20T11:25:17.562+00:00", "lastcommitter": "周XX", "lastSubmitDate": "2020-10-20T11:27:48.107+00:00", "reviewEndDate": "2020-10-20T11:40:29.000+00:00", "reviewBeginDate": "2020-10-20T11:26:08.000+00:00", "reportList": [ { "taskId": 663798, "reportNme": "815-03_0076.xls", "creationDate": "2020-10-20T11:40:30.000+00:00", "createName": "兰XX", "reportVersion": "1.0", "fileId": 116929, } ], } ], "pos": 0, "total_count": 1, }, }
  • 响应参数 参数 类型 描述 playUrl String 视频播放url fileId String 下载文件ID participantNames String 会议创建人名 participantIds String 会议创建人名ID beginTime String 开始时间(后台转字符串) endTime String 结束时间(后台转字符串) pageNo Integer 当前页 pageSize Integer 每页记录数 totalCount Integer 总数
  • 响应示例 { "status": 1, "message": "SUCCESS", "error": "string", "data": { "totalCount": 2, "pageNo": 1, "pageSize": 3, "list": [ { "tenantId": 1, "channelId": 9870, "recordingId": 202006081438161500, "participantIds": "333,666,333,666,333,666", "participantNames": "333,666,333,666,333,666", "recordBeginTime": "string", "recordEndTime": "string", "playUrl": "string", "fileId": "string", "createdBy": -1, "creationDate": "2021-07-13 00:00:00", "lastUpdatedBy": -1, "lastUpdateDate": "2021-07-13 21:38:32" } ] }, "timestamp": "2021-07-13T22:44:31.752+0800", "responsePage": "string" }
  • 响应示例 { "stateCode" : "0", "errorMessage" : null, "result" : { "courseId" : 5000024, "courseName" : "自动测试课程3071", "courseCode" : "20221114100", "courseDuration" : 60, "categoryName" : "语言类", "parentCategoryName" : null, "userCourseId" : 5000180, "userId" : 1823, "learnStatus" : 1, "learnType" : 1, "chapterId" : 0, "courseSource" : 1, "chapterList" : [{ "chapterId" : 5000047, "courseId" : 5000024, "chapterName" : "第1章节", "chapterDuration" : 30, "chapterOrder" : 1, "chapterRemark" : "章节描述", "foolproofRemark" : "", "courseFileVo" : { "courseFileId" : 5000024, "tablePrimaryId" : 5000047, "fileId" : 1432449, "fileName" : "场景任务管理.pdf", "coverFileId" : 1432448, "fileType" : "application/pdf", "createName" : "superman", "creationTimestamp" : 1668417474902 }, "learnStatus" : 1 } ] } } "totalCount" : 1 } }
  • 响应参数 参数 类型 描述 errorMessage errorMessage 错误信息,接口错误时有值,正常调用时为空 stateCode String 响应状态,“0”为成功,其他值失败 Result Object 结果 Object出参: 参数 类型 描述 courseId Long 课程Id courseName String 课程名称 courseCode String 课程编码 courseDuration String 课程时长 单位:分钟 categoryName String 课程类别名称 parentCategoryName String 课程类别父类名称 userCourseId Long 学员课程主键ID userId Long 学员ID learnStatus int 课程学习状态 1-进行中 默认 2-已完成 learnType int 课程学习要求(推送) 1-必修 2-选修 chapterId Long 课程大纲章节表主键ID courseSource int 课程来源 1-学员学习课程记录 2-学员学习课程章节记录 chapterList List 章节集合 chapterList出参: 参数 类型 描述 chapterId Long 章节Id courseId Long 课程Id chapterName String 章节名称 chapterDuration String 章节时长 单位:分钟 chapterOrder int 章节的顺序 1-开始 chapterRemark String 章节描述 foolproofRemark String 防呆提示描述 learnStatus int 课程学习状态 1-进行中 默认 2-已完成 courseFileVo Map 文件实体 courseFileVo出参: 参数 类型 描述 courseFileId Long 主键ID tablePrimaryId Long 关联的表的主键ID fileId Long 文件ID fileName String 文件名称 coverFileId Long 封面文件ID fileType String 文件类型后缀 createName String 创建人名称 creationTimestamp Long 创建时间戳
  • 请求示例 {"locations": [ { "signSiteCode": "0811-我的作业对象", "signSiteName": "0811-我的作业对象", "signSiteType": "公交站", "adminRegion": "中国-XX-XX", "longitude": 23.1234564, "latitude": 124.4514564564, "signSiteAddress": "XX的作业对象详细地址9", "projectNo": "0811-我的项目", "projectName": "0811-我的项目", "valid": 1, "resource": 2 } ] }
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": [ { "signSiteCode": "0811-我的作业对象", "signSiteId": 4270, "status": "0", "message": "保存成功" } ] }
  • 响应示例 { "data": [ { "userId": 39177, "roleId": 1453, "deleteFlag": 1, "roleNo": "Bulletin", "roleName": "Bulletin" }, { "userId": 1250, "roleId": 2544, "deleteFlag": 0, "roleNo": "SafetyHelmet", "roleName": "安全帽角色" }, { "userId": 39051, "roleId": 1453, "deleteFlag": 0, "roleNo": "Bulletin", "roleName": "Bulletin" } ], "pos": 0, "totalCount": 3, "entityName": "UserRole" }
  • 请求示例 { "deviceId" : "", "deviceName" : "", "deviceType" : "", "projectNumber" : "", "projectName" : "", "deviceState" : "ONLINE,MEETING", "page" : { "count" : 500, "start" : 0 }, "coordType" : "BD09" }
  • 响应示例 { "status" : 1, "message" : "SUCCESS", "error" : null, "data" : { "data" : [{ "deviceId" : "05238798080487120101", "isdpDeviceId" : "05238798080487120101", "channelId" : "-1", "deviceName" : "HoloSensSDC", "deviceState" : "MEETING", "accessProtocol" : null, "projectNumber" : "defaultProject", "projectName" : "默认项目", "deviceType" : "WEBCAM", "deviceSystemState" : null, "description" : null, "model" : null, "manufacture" : "HUAWEI", "channelTotal" : 0, "streamTotal" : 0, "firmware" : null, "deviceAbility" : null, "mac" : null, "createTime" : null, "updateTime" : null, "protocolVersion" : null, "deviceIp" : null, "devicePort" : null, "tenantId" : 886, "deviceAddress" : null, "fileId" : null, "sysType" : null, "fileSize" : null, "fileName" : null, "fileExt" : null, "deviceAddressNumber" : null, "webPlayUrl" : null, "deviceManageState" : "ACTIVATION", "deviceSubType" : "IPC", "creationDate" : 1661848660000, "lastUpdateDate" : 1661848660000, "lastUpdatedBy" : 1, "deviceAlarmStatus" : null, "autoJoin" : null, "battery" : null, "ownnerId" : null, "longitude" : null, "latitude" : null, "buOrgId" : 1409142, "buOrgName" : "广东省", "coordType" : null, "chatJid" : null, "chatId" : null, "liveChannelId" : "320042737078341", "deviceUserId" : null, "groupId" : null, "groupName" : null, "bindStatus" : null, "bindUserId" : null, "storageTotal" : null, "storageRemain" : null, "onlineDuration" : null, "enableEndSide" : null, "enableVideoRecording" : null, "lastReportTime" : null, "integrationPlatform" : "IVS3800", "stateChangeReason" : null, "stateChangeReasonCode" : null, "deviceStateBefore" : null, "userName" : null, "ownnerName" : null, "deviceUserName" : null, "deviceUserNameOnly" : null, "deviceTypeName" : "摄像头" } ], "pos" : 0, "total_count" : 1, "entityName" : null, "totalCount" : 1 }, "timestamp" : "2022-09-06T16:55:34.097+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播放地址 bindStatus Integer 设备绑定状态 bindUserId Long 设备绑定的用户Id buOrgId Long 设备所在组织Id buOrgName String 设备所在组织名称 coordType String 坐标类型 creationDate Date 创建时间 deviceManageState String 设备管理状态 deviceStateBefore String 设备上报之前的状态 deviceTypeName String 设备类型名称 deviceUserId Long 设备使用人Id deviceUserName String 设备使用人名称 deviceUserNameOnly String 设备使用人名称 enableEndSide String 是否开启边缘AI enableVideoRecording String 是否开启录像 groupId Long 群组Id groupName String 群组名称 integrationPlatform String 集成平台 lastReportTime Date 最后一次上报时间 lastUpdateDate Date 最后更新时间 (时间戳) lastUpdatedBy Long 最后更新人(时间戳) onlineDuration Long 设备在线时长 stateChangeReason String 设备状态改变原因 stateChangeReasonCode String 设备状态改变原因码 storageRemain Long 存储保留 storageTotal Long 存储总计 tenantId Long 租户Id
  • 请求参数 参数 类型 是否必填 描述 page Object 否 分页参数 start Integer 否 当前页码,分页参数,page子项 count Integer 否 每页条数,分页参数,page子项 deviceId String 否 设备编码 isdpDeviceId String 否 设备唯一键 多个通过英文逗号分隔,最多200个 deviceName String 否 设备名称 coordType String 否 坐标系类型 可选值WGS84或GCJ02或BD09,不填默认WGS84 projectName String 否 项目名称 projectNumber String 否 项目编码 groupId Long 否 群组Id groupName String 否 群组名称 deviceUserId Long 否 设备使用Id deviceUserName String 否 设备使用人名称 ownnerName String 否 设备责任人名称 deviceType String 否 设备类型 可选值WEBCAM/MONITOR_BALL/BODY_WORN_CAMERA/INTELLIGENT_SAFETY_HELMET/INTELLIGENT_MINER_L IGHT/MOBILE/IVS1800/IVS3800 多个以英文逗号分隔,不传默认查询所有 deviceState String 否 设备状态 可选值ONLINE/OFFLINE/UNALLOCATED/MEETING/MULTI_MEETING 多个以英文逗号分隔,不传默认查询所有 orgId Long 否 组织Id
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": { "configId": 18331, "kindName": "测试类别34343", "lastUpdatedBy": 390841, "lastUpdateName": "zdrun-test", "lastUpdateDate": "2022-06-17T09:36:43.535+00:00", "lastUpdateTimestamp": 1655458603535, "adminOrganization": null, "adminOrganizationName": null, "adminOrganizationPath": "", "orgIncludeChild": null, "entityName": "issueConfig", "affectedRows": 1 } }
  • 响应示例 { "data": [ { "orgId": 502, "orgNo": "01", "orgName": "save", "orgPath": "-1", "parentOrgId": 0, "children": [ { "orgId": 101788, "orgNo": "test1", "orgName": "test1", "orgPath": "-1.502", "parentOrgId": 502 } ] } ], "pos": 0, "totalCount": 1, "entityName": "org" }
  • 请求参数 参数 类型 是否必填 描述 mytodoList List 必填 任务列表,一次最多传3条记录 mytodoList列表: 参数 类型 是否必填 描述 todoBusinessType String 是 待办类别(作业待办,审核待办) reviewLevel String 否 当时审批层级 taskTagType String 是 任务标识 taskIdList Long[] 是 任务id列表 reviewerIdList Long[] 否 审批人列表 获取审批人列表API请参见:查询任务执行人或评审人(API名称:queryTaskUserInfoList) assignedUserIdList Long[] 否 执行人列表 获取执行人列表API请参见:查询任务执行人或评审人(API名称:queryTaskUserInfoList)
  • 响应示例 { "stateCode": "0", "errorMessage": "success", "result": { "pos": 0, "totalCount": 2, "data": [ { "index": 0, "startDate": "2022-06-06", "endDate": "2022-06-11", "completeNum": 18, "ontimeCompleteNum": 22, "ratio": "90%" }, { "index": 1, "startDate": "2022-05-30", "endDate": "2022-06-05", "completeNum": 18, "ontimeCompleteNum": 22, "ratio": "80%" } ] } }
  • 请求示例 { "date": "2022-06-11", "dateType": "day", "period": 7, "sceneName": "巡检", "orgIdList": ["123", "124"], "pageStart": 0, "pageSize": 15 }
  • 请求示例 { "taskScheduleName": "wwwwww333", "isEnable": "1", "taskBody": { "beginTimeBlur": false, "endTimeBlur": false, "issueId": "", "creatorDescribe": "", "label": { "location": "作业对象修1ss", "administrativeDivision": "行政区域修改11", "address": "详细地址11", "projectNo": "项目修改11", "supplier": "供应商1", "customer": "客户1", "executor": "执行人" }, "taskName": "75675_测试OpenAPI", "assignedUserId": "", "assignedUserName": "", "userGroup": "", "userGroupName": "", "sceneName": "测试OpenAPI", "sceneId": 107879, "sceneCode": "TS20220714104642265", "sceneVersion": "1.0", "signSiteId": 98990722, "signSiteCode": "5756", "signSiteName": "75675", "projectNo": "55788", "projectName": "gcl", "supplierName": "", "beginTimestamp": 1657814400000, "endTimestamp": 1657900799999, "requiredStartTime": "", "requiredEndTime": "", "projectDuration": "", "jobDuration": "", "adminOrganizationName": "杨凌作业系统测试1", "adminOrganization": "830", "administrativeDivisionName": "Y区域", "administrativeDivision": "455845", "sceneLicense": null, "templateId": 263435, "templateCode": "QC2022XXXXXXXXXXXXX", "templateName": "测试模板20220714001", "version": "1.0", "reviewRuleId": "", "reviewRuleName": "", "taskRemark": "", "procedureList": [], "subTaskList": [], "isAppraisal": "0", "collectionReviewId": "", "collectionReviewName": "", "collectionProcessType": "", "priority": "", "schedulingMode": "", "address": "wwww", "skill": "", "customerName": "", "customerId": "", "taskExtend": [], "isApplyApprove": null, "processType": "", "signInConfig": null, "ccPerson": "", "ccPersonName": "", "ccPersonGroup": "", "ccPersonGroupName": "", "owner": "", "ownerName": "", "ownerGroup": "", "ownerGroupName": "", "customApproveReviewerList": [], "customCollectionReviewerList": [], "templateType": "", "taskMode": 2, "saveDraft": "1", "plannedBeginType": "0", "plannedCompletionType": "0", "beginNumberOfHours": 0, "endNumberOfHours": 0, "scheduleDayList": [], "scheduleDay": "", "scheduleType": "1", "scheduleMoon": "", "scheduleWeek": "2,3,4,5,6", "scheduleHour": "2,3,5", "cronExpr": "0 0 2,3,5 ? * 2,3,4,5,6" }, "taskScheduleId": 4611 }
  • 响应示例 返回键值对,key是任务ID,值是问题数量。 { "stateCode": "0", "errorMessage": null, "result": { "taskScheduleId": 4611, "taskScheduleName": "wwwwww333", "isEnable": 1, "taskBody": "{\"isSubTask\":null,\"issueId\":null,\"sceneId\":107879,\"sceneTaskId\":null,\"sceneName\":\"测试OpenAPI\",\"sceneCode\":\"TS20220714104642265\",\"sceneVersion\":\"1.0\",\"signSiteId\":98990722,\"signSiteCode\":\"5756\",\"signSiteName\":\"75675\",\"adminRegion\":null,\"adminRegionName\":null,\"projectNo\":\"55788\",\"projectName\":\"gcl\",\"adminOrganization\":\"830\",\"adminOrganizationName\":\"XX作业系统测试1\",\"supplierName\":\"\",\"taskName\":\"75675_测试OpenAPI\",\"templateId\":263435,\"templateName\":\"测试模板20220714001\",\"templateCode\":\"QC2022XXXXXXXXXXXXX\",\"version\":\"1.0\",\"beginTimestamp\":1657814400000,\"endTimestamp\":1657900799999,\"taskRemark\":\"\",\"taskMode\":2,\"assignedUserId\":\"\",\"assignedUserName\":\"\",\"userGroup\":\"\",\"userGroupName\":\"\",\"signInConfig\":null,\"submitBy\":null,\"submitName\":null,\"operationGuideList\":null,\"attachmentList\":null,\"taskExtend\":[],\"procedureList\":[],\"subTaskList\":[],\"reviewRuleId\":null,\"reviewRuleName\":\"\",\"processType\":null,\"saveDraft\":1,\"isApplyApprove\":null,\"licenseSwitch\":null,\"isAppraisal\":0,\"collectionReviewId\":null,\"collectionReviewName\":\"\",\"collectionProcessType\":null,\"sceneLicense\":null,\"customCollectionReviewerList\":[],\"customApproveReviewerList\":[],\"terminalType\":null,\"priority\":\"\",\"jobDuration\":null,\"projectDuration\":null,\"schedulingMode\":\"\",\"administrativeDivision\":\"455845\",\"administrativeDivisionName\":\"Y区域\",\"regionId\":null,\"regionPath\":null,\"regionName\":null,\"address\":\"wwww\",\"requiredStartTime\":null,\"requiredEndTime\":null,\"skill\":\"\",\"customerId\":null,\"customerName\":\"\",\"category\":\"\",\"categoryId\":null,\"parentCategory\":\"\",\"parentCategoryId\":null,\"isAssociationIssue\":null,\"associationIssueId\":null,\"ccPerson\":\"\",\"ccPersonName\":\"\",\"owner\":\"\",\"ownerName\":\"\",\"ccPersonGroup\":\"\",\"ccPersonGroupName\":\"\",\"ownerGroup\":\"\",\"ownerGroupName\":\"\",\"resource\":null,\"status\":null,\"positionName\":null,\"cronExpr\":\"0 0 2,3,5 ? * 2,3,4,5,6\",\"scheduleHour\":\"2,3,5\",\"scheduleWeek\":\"2,3,4,5,6\",\"scheduleMoon\":\"\",\"scheduleDay\":\"\",\"scheduleDayList\":[],\"scheduleType\":1,\"beginNumberOfHours\":0,\"endNumberOfHours\":0,\"plannedCompletionType\":0,\"plannedBeginType\":0,\"creatorDescribe\":\"\",\"schedulerBy\":null,\"schedulerName\":null,\"schedulerTimestamp\":null,\"schedulerDate\":null,\"validateFile\":true}", "lastUpdatedBy": 390841, "lastUpdateName": "zdrun-test", "lastUpdateDate": "2022-07-15 11:39:08", "lastUpdateTimestamp": 1657856348770, "entityName": "IsdpTaskSchedule", "affectedRows": 1 } }
  • 请求参数 参数 类型 是否必填 描述 taskScheduleId Long 是 任务调度ID。 taskScheduleName String 是 任务调度名称。 isEnable String 是 是否启用。 1:启用 0:不启用 resource String 否 任务来源。 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 否 调度日期。 scheduleWeek List 否 调度周日期。 plannedBeginType Integer 否 计划开始时间类型。 1:当天 2:调度后 beginNumberOfHours Integer 否 计划开始时间多少小时后。 plannedCompletionType Integer 否 计划结束时间类型。 1:当天 2:调度后 endNumberOfHours Integer 否 计划完成时间多少小时后。 url String 否 待办地址。 thirdUrl String 否 第三方待办地址。 resource String 否 数据源。 operUserId String 是 操作人ID。
  • 请求示例 { "submitterAccount": "13875817654", "dataSource": "appcube", "type": 1, "templateChildType": 3, "templateCode": "QC2022XXXXXXXXXXXXX", "templateName": "模板名称010修改", "serviceType": "作业", "locationType": "", "adminOrganizationCode": "1543", "adminOrganizationName": "1508098844233300", "version": "1.0", "isCommandTemplate": 0, "isDefaultTemplate": 0, "isManualReviewAutoPass": 1, "isVideoAcceptance": 0, "isDesignItem": 0, "validRequired": 0 }
  • 请求参数 参数 类型 是否必填 描述 dataSource String 是 创建来源标识 submitterAccount String 是 提交人账号 templateCode String 是 模板编码 type Integer 是 模板类型 (1-采集模板 2-检查模板) templateChildType Integer 是 模板子类型 (1-质检2-巡检 3-作业) templateName String 是 模板名称 serviceType String 是 业务类型 locationType String 否 位置类型 adminOrganizationCode String 是 组织单元ID adminOrganizationName String 是 组织单元名称 isManualReviewAutoPass Integer 否 AI评审通过则条目的人工评审自动通过(0:否;1:是) isVideoAcceptance Integer 否 是否视频审核(1:是;0:否) isDesignItem Integer 否 是否按设计生成检查项(0-否 1-是) isDefaultTemplate Integer 否 是否为默认模板(0-否 1-是) validRequired Integer 否 必填项全采后才能提交任务评审 (1-是 2-否) isCommandTemplate Integer 否 是否指令式采集模板 (1: 是; 0: 否) remarks String 否 备注 version String 否 版本号
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": { "data": [ { "taskId": 17308, "identifyAccount": "19911111113", "creationDate": null, "personQualification": "XX证;EHS通用", "customerTaskId": null, "signSiteCode": "0925张三EHS任务作业对象", "signSiteName": "0925张三EHS任务作业对象", "kcpName": "new kcp2", "itemName": "Item1", "personName": "并发3", "personCompany": null, "requiredQualification": "EHS通用;塔工证;电工证;急救证;男神证;女神证;大神证", "identifyResult": "N", "creationTimestamp": 1601000798031, }, { "taskId": 17308, "identifyAccount": "19911111113", "creationDate": null, "personQualification": "XX证;EHS通用", "customerTaskId": null, "signSiteCode": "0925张三EHS任务作业对象", "signSiteName": "0925张三EHS任务作业对象", "kcpName": "new kcp2", "itemName": "Item1", "personName": "并发3", "personCompany": null, "requiredQualification": "EHS通用;塔工证;电工证;急救证;XX证;XX证;XX证", "identifyResult": "N", "creationTimestamp": 1601000889351, }, ], "pos": 0, "total_count": 244, }, }
共100000条