华为云用户手册

  • 请求示例 { "courseId" : 9214, "courseName" : "课程1", "categoryId" : 13488, "courseCode" : "20230321100", "courseRemark" : "发发发", "courseStatus" : 1, "coverFileId" : 7490705, "adminOrganizationName" : "杨凌测试租户", "adminOrganization" : "830", "createName" : "张三", "chapterList" : [{ "chapterName" : "第1章节", "chapterDuration" : 2, "chapterRemark" : "章节描述", "foolproofSwitch" : 1, "foolproofDuration" : 12, "foolproofRemark" : "是否继续学习?", "courseFileVo" : { "fileId" : 7490707, "fileName" : "2021-07-14-21-10-43-922.mp4", "fileType" : "mp4", "coverFileId" : 7490708, "createName" : "张三", "creationTimestamp" : 1679383056306 }, "chapterType" : "1", "chapterOrder" : 1 }, { "chapterName" : "第2章节", "chapterDuration" : 22, "chapterRemark" : "章节描述2", "foolproofSwitch" : 1, "foolproofDuration" : 3, "foolproofRemark" : "是否继续学习?", "chapterId" : 5720, "courseFileVo" : { "fileId" : 7490710, "fileName" : "2021-07-14-21-10-43-922.mp4", "fileType" : "mp4", "coverFileId" : 7490711, "createName" : "张三", "creationTimestamp" : 1679383078006 }, "chapterType" : "1", "chapterOrder" : 2 } ] }
  • 请求参数 参数 类型 是否必填 描述 courseName String Y 课程名称 courseId Long Y 课程ID categoryId Long Y 课程类别Id courseCode String N 可手动录入,不录入则按默认规则生成(创建年月日+流水号) courseRemark String Y 描述 courseStatus int Y 课程状态(默认0 -1-删除 0-草稿、1-已发布、2-取消发布) coverFileId Long Y 封面图片Id adminOrganizationName String Y 组织单元名称 adminOrganization Long Y 组织单元ID createName String Y 创建人名称 chapterList List Y 章节信息 chapterList入参: 参数 类型 是否必填 描述 chapterName String Y 章节名称 chapterDuration Int Y 章节时长 单位:分钟 chapterRemark String Y 章节描述 foolproofSwitch int Y 防呆设置 1-开启 2-关闭 foolproofDuration int Y 防呆插入时间 单位:分钟 foolproofRemark String Y 防呆提示描述 chapterType int Y 章节类型 1-视频 2-pdf chapterOrder int Y 章节的顺序 1-开始 courseFileVo courseFileVo入参: 参数 类型 是否必填 描述 fileId Long Y 文件ID fileName String Y 文件名称 fileType String Y 文件类型:文件扩展名 coverFileId Long Y 封面ID createName String Y 创建人名称 creationTimestamp Long Y 创建时间戳
  • 页面集成方案 第三方系统获取isdp+的token,通过token访问中间跳转页面,该页面拿到isdpToken调用接口模拟登陆成功后,在重定向实际访问的页面,页面url格式:https://{domian}/auth/#/jump?isdpToken=xxxxxx&redirect=https://{domain}/one/#/portal/index 一、时序图 二、集成步骤 添加账号(ISDP+) 在ISDP+人员管理页面https://{domain}/admin/#/pub/personList添加第三方系统账号,如第三方系统存在账号test,需要在人员管理新建人员账号为test的人员数据 分配clientId和clientSecret(ISDP+) 在console页面oauth2集成配置页面https://{domain}/console#/sysAdmin/oauth2IntegrationConfig新建集成客户端,将生成的客户端id和密码发给第三方系统,如 配置IP白名单(ISDP+) 第三方反馈他们的服务器ip,配置到步骤2建好的客户端中 开发获取token的接口(第三方) 第三方开发一个接口获取isdp+的token供第三方前端使用,请注意不是前端直接访问,isdp+接口格式如下 请求url:https://{domain}/oauth2/oauth/rest_token 请求方法:POST Content-Type:application/json 请求参数: { "client_id":"{步骤2生成的客户端id}", "client_secret":"{步骤2生成的客户端密码}", "username":"{账号}", "login_type":"server_auth" } 返回值: { "access_token":"xxxxxx", ..... } 集成ISDP+页面(第三方) 第三方前端拿到isdp颁发的access_token,将token通过encodeURIComponent方法编码后拼接到页面url参数上,通过iframe或者跳转方式集成ISDP+页面,页面url格式如下 https://{domian}/auth/#/jump?isdpToken=xxxxxx&redirect=https://{domain}/one/#/portal/index 父主题: API
  • 响应示例 { "stateCode": "0", "errorMessage": "成功", "result": { "pos": 0, "totalCount": 3, "data": [ { "endDate": "2022-10-02", "categoryCount": [], "startDate": "2022-09-26" }, { "endDate": "2022-10-09", "categoryCount": [], "startDate": "2022-10-03" }, { "endDate": "2022-10-16", "categoryCount": [ { "category": "倒闸操作", "count": 1 } ], "startDate": "2022-10-10" } ], "header": null } }
  • 请求示例 { "taskStatus": 2, "signSiteId": 160016733, "signSiteName": "极I低端换流变8212B换流变B相", "signSiteCode": "8212B-GD-B", "parentCategory": "倒闸操作", "dateList": [ { "startDate": "2022-09-26", "endDate": "2022-10-02" }, { "startDate": "2022-10-03", "endDate": "2022-10-09" }, { "startDate": "2022-10-10", "endDate": "2022-10-16" } ] }
  • 响应示例 { "stateCode": "0", "errorMessage": "成功", "result": { "pos": 0, "totalCount": 1, "data": [ { "startDate": "2023-01-06", "endDate": "2023-01-06", "kcpCount": null, "passCount": null, "passRate": null } ], "header": null } }
  • 响应示例 { "status": "success", "msg": null, "data": { "id": 112532, "orgId": 112532, "orgType": null, "orgNo": "robin_test", "value": "测试组织", "orgName": "测试组织", "orgDesc": null, "parentOrgId": 100076, "status": "0", "deleteFlag": 0, "tenantId": 100045, "createdBy": 111462, "creationDate": "2022-04-08T06:50:43.000+00:00", "lastUpdatedBy": 111462, "lastUpdateDate": "2022-04-08T06:50:43.000+00:00", "manageUserName": null, "orgLevel": 2, "manageUserNo": null, "orgPath": "-1.100076", "orgFlag": null } }
  • 请求示例 { "projectCode": "项目编1码", "projectName": "项目名1称", "buOrgId": 58934, "description": "描述描述描述描述", "contract": "合同号合同号", "customerId": 62865, "supplierId": "71589", "projectManagerId": "122929", "projectStatusCode": "release", "startDate": "2021-03-17", "endDate": "2021-03-17", "buOrgName": "中国", "customerOrgCode": "81482", }
  • 请求参数 参数 类型 是否必填 描述 projectCode string 必填 项目编码,如:项目编1码 projectName string 必填 项目名称,如:项目名1称 projectStatusCode string 必填 项目状态,如:release buOrgId int 必填 组织ID,如:58934 description string 否 描述,如:描述描述描述描述 contract string 否 合同号,如:合同号合同号 customerId int 否 客户id,如:62865 supplierId int 否 供应商id,如:71589 projectManagerId int 否 项目经理id,如:122929 startDate string 否 开始时间,如:2021-03-17 endDate string 否 结束时间,如:2021-03-17 buOrgName string 否 行政区域名称,如:中国 customerOrgCode string 否 项目经理,如:81482 projectId string 必填 项目id,如:61627
  • 响应示例 { "status": "success", "msg": "success", "data": { "projectCode": "项目编1码", "projectName": "项目名1称", "buOrgId": 58934, "description": "描述描述描述描述", "contract": "合同号合同号", "customerId": 62865, "supplierId": "71589", "projectManagerId": "122929", "projectStatusCode": "release", "startDate": "2021-03-17", "endDate": "2021-03-17", "buOrgName": "中国", "customerOrgCode": "81482", "udfExtend1": null, "udfExtend2": null, "udfExtend3": null, "udfExtend4": null, "udfExtend5": null, "udfExtend6": null, "deleteFlag": 0, "entityName": "project", "projectId": 61630, "createdBy": 132218, "creationDate": "2021-03-17T04:48:49.519+00:00", "lastUpdatedBy": 132218, "lastUpdateDate": "2021-03-17T04:48:49.519+00:00", "tenantId": 50251, "appName": "pub-server", "affectedRows": 1, } }
  • 响应示例 { "status": 1, "message": "SUCCESS", "error": null, "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": "XXXXXXXX基站", "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": 1609298831000, "lastUpdatedBy": null, "deviceAlarmStatus": "pulse", "autoJoin": null, "battery": null, "ownnerId": null, "longitude": null, "latitude": null, "chatJid": null, "chatId": null, "liveChannelId": null, "userName": null, "ownnerName": null }, "timestamp": "2020-12-30T11:28:27.182+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播放地址
  • 相关API 接口名称 调用说明 获取Token 调用该接口获取到Token,再调用其他接口时,需要在请求消息头中添加“Authorization”,其值即为Token。 获取设备列表 调用该接口获取到isdp唯一设备ID。 获取设备信息时,需要输入isdp唯一设备ID。 添加设备 调用该接口添加设备。 修改设备 调用该接口修改设备。 删除设备 调用该接口删除设备。 保存设备模板 调用该接口保存设备模板。
  • 请求示例 {"issueId":"306847","remark":"12dddd3","attachmentList":[ { "fileId": 6610277, "fileName": "2020-08-21-09-24-39-613.png", "fileType": "png" } ],"issueInstance":"1", "operUserId": 467848,"operUserName":"呵呵"}
  • 请求示例 { "sceneId": 107996, "reviewProcessId": 34909, "sceneStatus": 1, "sceneRemark": "场景描述", "reviewProcessName": "yytest-二级审批", "sceneName": "场景名称openAPI014修改1", "sceneCode": "TS20220719154907686", "sceneMode": 2, "sceneType": 0, "sceneLicense": null, "sourceSceneId": 107993, "version": "1.2", "isNewVersion": 0, "createdBy": 699960, "createName": "星星有泪", "lastUpdatedBy": 699960, "lastUpdateName": "星星有泪", "creationTimestamp": 1658216947686, "lastUpdateTimestamp": 1658218002722, "deleteFlag": "0", "signInConfig": "1", "coverId": null, "category": "", "id": null, "parentCategory": "", "parentId": null, "adminOrganizationCode": "830", "adminOrganizationName": "张三作业系统测试1", "dataSource": "appcube", "isApplyApprove": 1, "headerInfo": { "sceneName": "场景名称openAPI014修改1", "sceneRemark": "场景描述", "adminOrganizationCode": "830", "adminOrganizationName": "张三作业系统测试1", "coverId": null, "category": "", "id": null, "sceneCode": "TS20220719154907686", "sceneId": 107996, "parentId": null }, "taskSceneBaseFieldList": [ { "fieldCode": "executor", "fieldDefaultValue": [], "fieldIsNecessary": 1, "fieldName": "执行人", "fieldOrder": 1, "fieldStatus": 1, "sceneBaseFieldId": 1224580, "sceneId": 107996, "_RID": "row_1" }, { "itemId": "374104", "fieldName": "作业对象修11", "fieldStatus": 2, "itemAttr1": "2", "fieldCode": "location", "itemAttr3": "", "itemAttr2": "2", "itemAttr5": "", "itemAttr4": "", "fieldOrder": 2, "itemDesc": "ATTR1:状态(1-可用, 2-停用),ATTR2是否必填(1-必填, 2-不必填),ATTR3不可修改字段", "classifyCode": "QC_TASK_BASE_FIELD", "_RID": "row_2", "fieldIsNecessary": 2 }, { "itemId": "374072", "fieldName": "行政区域修改11", "fieldStatus": 2, "itemAttr1": "", "fieldCode": "administrativeDivision", "itemAttr3": "", "itemAttr2": "2", "itemAttr5": "", "itemAttr4": "", "fieldOrder": 3, "itemDesc": "ATTR1:状态(1-可用, 2-停用),ATTR2是否必填(1-必填, 2-不必填),ATTR3不可修改字段", "classifyCode": "QC_TASK_BASE_FIELD", "_RID": "row_3", "fieldIsNecessary": 2 }, { "itemId": "375299", "fieldName": "计划开始时间1", "fieldStatus": 2, "itemAttr1": "2", "fieldCode": "planBeginDate", "itemAttr3": "", "itemAttr2": "2", "itemAttr5": "", "itemAttr4": "", "fieldOrder": 4, "itemDesc": "ATTR1:状态(1-可用, 2-停用),ATTR2是否必填(1-必填, 2-不必填),ATTR3不可修改字段", "classifyCode": "QC_TASK_BASE_FIELD", "_RID": "row_10", "fieldIsNecessary": 2 }, { "itemId": "375300", "fieldName": "计划完成时间1", "fieldStatus": 2, "itemAttr1": "2", "fieldCode": "planEndDate", "itemAttr3": "", "itemAttr2": "2", "itemAttr5": "", "itemAttr4": "", "fieldOrder": 5, "itemDesc": "ATTR1:状态(1-可用, 2-停用),ATTR2是否必填(1-必填, 2-不必填),ATTR3不可修改字段", "classifyCode": "QC_TASK_BASE_FIELD", "_RID": "row_11", "fieldIsNecessary": 2 }, { "fieldCode": "signInConfig", "fieldDefaultValue": null, "fieldIsNecessary": 2, "fieldName": "打卡配置", "fieldOrder": 6, "fieldStatus": 2, "sceneBaseFieldId": 1224581, "sceneId": 107996 }, { "fieldCode": "reviewRuleConfig", "fieldDefaultValue": null, "fieldIsNecessary": 2, "fieldName": "任务申请审批流配置", "fieldOrder": 7, "fieldStatus": 2, "sceneBaseFieldId": 1224582, "sceneId": 107996 } ], "taskSceneExtendFieldList": [ { "sceneExtendFieldId": 73602, "sceneId": 107996, "fieldName": "长文本有值", "fieldCode": "UDF15", "parentExtendFieldId": 0, "fieldType": "1", "fieldStatus": 1, "fieldIsNecessary": 1, "fieldOrder": 1, "fieldValue": null, "fieldDefaultValue": "12345678902345678901234567890123456789012123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012312345678901234567890123456789012345678901212345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890345678901456789034567890", "isNewWay": 1, "_RID": "row_24" }, { "id": 2248, "category": 1, "parentExtendId": 0, "fieldName": "时间有值", "fieldStatus": 1, "fieldIsNecessary": 2, "fieldOrder": 2, "fieldValue": "", "fieldDefaultValue": "1657003231000", "scopeList": [ 2, 1 ], "fieldCode": "UDF9", "fieldType": 5, "enumList": [], "_RID": "row_29", "sceneExtendEnumFieldList": [] } ], "taskSceneModeList": [ { "sceneModeId": 205721, "sceneId": 107996, "issueId": null, "parentSceneModeId": 0, "templateType": "1", "templateId": "263489", "templateName": "模板名称023", "sceneMode": 2, "taskTypeTag": 1, "modeLevel": 1, "modeOrder": 1, "templateCode": "QC2022XXXXXXXXXXXXX", "sceneModeName": "场景名称openAPI014修改1", "templateVersion": "1.0", "deleteFlag": 0, "tenantId": 886, "licenseSwitch": 0, "licenseTag": null, "lastUpdatedBy": 699960, "lastUpdateName": "星星有泪", "isAppraisal": 0, "collectionReviewId": null, "collectionReviewName": "", "signSiteId": null, "signSiteCode": null, "signSiteName": null, "regionId": null, "regionPath": null, "regionName": null, "description": null, "beginTimestamp": null, "endTimestamp": null, "priority": null, "jobDuration": null, "projectDuration": null, "administrativeDivision": null, "administrativeDivisionName": null, "address": null, "requiredStartTime": null, "requiredEndTime": null, "skill": null, "templateExistFlag": "Y", "assignedUserId": "", "assignedUserName": "", "userGroup": "", "userGroupName": "", "ccPerson": "", "ccPersonName": "", "owner": "", "ownerName": "", "ccPersonGroup": "", "ccPersonGroupName": "", "ownerGroup": "", "ownerGroupName": "", "subTaskExtendFieldList": [] } ], "baseSubTaskFieldList": [], "subTaskExtendFieldList": [], "taskSceneFileList": [], "operationFlag": "Y" }
  • 请求参数 参数 类型 是否必填 描述 dataSource String 是 创建来源标识。 submitterAccount String 是 提交人账号。 taskSceneBaseFieldList Object 是 基础字段。 taskSceneExtendFieldList Object 否 扩展字段。 sceneMode Integer 否 任务场景模式。 1:简单任务 2:关联作业检查清单 3:任务启用工序 4:父子任务 sceneStatus Integer 否 任务场景状态。 0:草稿 1:可用 2:停用 operationFlag String 是 是否是提交或者保存草稿。 Y:提交 N:保存草稿 taskSceneModeList Object 是 任务场景配置模板信息。 headerInfo Object 是 任务场景配置场景信息。 isApplyApprove Integer 否 是否需要申请审批。 0:否 1:是 reviewProcessId Long 否 评审流ID。 reviewProcessName String 否 评审流名称。 adminOrganizationCode String 是 组织单元ID。 adminOrganizationName String 是 组织单元名称。 signInConfig Integer 否 是否启用打卡配置。 1:启用 0:不启用 null:该场景没有引入打卡配置 sceneId Long 是 任务场景ID。 Version String 否 版本号。 taskSceneExtendFieldList扩展字段Object说明 参数 类型 是否必填 描述 fieldName String 是 自定义字段名称。 fieldType Integer 是 扩展字段类型。1:文本 2:枚举 3:多枚举 4:日期 5:时间 6:整数;7:小数;20:短文本 0:无意义,字段默认值。 fieldStatus Integer 是 字段状态。 fieldCode String 是 字段编码。 scopeList Object 是 适用范围。1:标准任务 2:临时任务 fieldOrder Integer 是 字段排序序号,从0开始。 fieldValue String 否 字段枚举值。 fieldDefaultValue String 否 字段默认值。 fieldIsNecessary Integer 否 是否必填。1:必填 2:其它 enumList Object 否 枚举值列表。 sceneExtendEnumFieldList Object 否 枚举值列表。 id Long 是 主键ID(引入时)。 category Integer 是 分属类别。1:任务 2:子任务 stage Integer 否 任务场景扩展属性阶段 1:创建阶段 2:执行阶段,默认为创建阶段 unitName String 否 单位 其中对象信息对照创建任务场景。
  • 相关接口 接口名称 调用说明 获取Token 调用该接口获取到Token,再调用其他接口时,需要在请求消息头中添加“Authorization”,其值即为Token。 查询父任务 调用该接口获取到父任务ID。 查询任务操作指导、附件列表时,如果查询父任务的操作指导、附件列表,需要输入父任务ID。 查询子任务 调用该接口获取到子任务ID。 查询任务操作指导、附件列表时,如果查询子任务的操作指导、附件列表,需要输入子任务ID。 查询工序 调用该接口获取到工序ID。 查询任务操作指导、附件列表时,如果查询工序的操作指导、附件列表,需要输入工序ID。
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": { "data": [ { "sceneTaskId": 10009, "taskType": 2, "fileId": 512705, "fileName": "20210123生产上线脚本 - 副本.txt", "fileType": "txt", "createdBy": 25804, "createName": "张三" } ], "pos": 0, "total_count": 1, "entityName": null } }
  • 请求示例 新增权限点入参案例 { "operateType":"add", "addList":[ {"funcPrivNo":"test.test.test.test1","funcPrivDesc":"自定义权限测试1"}, {"funcPrivNo":"test.test.test.test2","funcPrivDesc":"自定义权限测试2"}, {"funcPrivNo":"test.test.test.test3","funcPrivDesc":"自定义权限测试3"}, {"funcPrivNo":"test.test.test.test4","funcPrivDesc":"自定义权限测试4"} ] } 删除权限点入参案例 { "operateType":"delete", "deleteList":[ "test.test.test.test1" ] }
  • 请求示例 { "issueInstance":"1", "isFilterReceiveStatus":1, "code":"11111", "riskList":[{"riskId":11111,"issueItemId":"11144444","issueRiskMeasuresId":12121,"issueRiskMeasures":"dfdfdfdd"}], "issueTypeFather":"", "issueType":"", "signSiteId":"98908817", "issueHandlerId":"467848", "issueHandlerName":"呵呵", "department":"833", "issueLevel": 4, "issueAttachmentList": [ { "fileId": 6610277, "fileName": "2020-08-21-09-24-39-613.png", "fileType": "png" } ], "udf17": "", "udf14": "", "udf13": "12345689012345678901234567890123456789012345617890", "udf5": "", "udf6": "1650816000000", "udf10": "测试", "udf3": "12345678011234567890123456789012345678901234567123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890890", "udf20": "", "udf4": "1650852785000", "udf1": "", "udf2": "", "checkUserList":[{"userId":467848,"userName":"呵呵","userType":"1","orgId":833,"orgName":"23232","orgPath":"中国区11112223333"}], "acceptanceUserList":[{"userId":467848,"userName":"呵呵","userType":"1","orgId":833,"orgName":"23232","orgPath":"中国区11112223333"}], "supervisedUserList":[{"userId":467848,"userName":"呵呵","userType":"1","orgId":833,"orgName":"23232","orgPath":"中国区11112223333"}], "creatorDescribe": "嘿嘿dddd${number}", "dueTimestamp": "", "issueRemark": "ddddddddd", "action": 1, "issueSource": 5, "issueId": 306843, "submitterAccount":"18829266100" }
  • 请求参数 参数 类型 是否必填 描述 issueInstance String 是 问题实例,1 隐患,0 问题 issueId Long 是 问题ID code String 否 问题编码,可以传值,如果不传值则创建后,根据后台默认规则生成 riskList List 否 问题风险 issueTypeFather String 否 问题大类 issueType String 否 问题小类 issueLevel String 否 问题级别,传枚举代码:0 ,1,2 issueSource String 否 问题来源 issueRemark String 否 问题备注 issueAttachmentList List 否 附件 先调“附件上传”接口上传后,获取到附件ID作为入参。 action Integer 是 0:保存草稿 1:提交 creatorDescribe String 是 问题描述 adminOrganization String 是 创建人对应组织ID adminOrganizationName String 是 创建人对应组织名称 signSiteId Long 否 作业对象ID signSiteName String 否 作业对象名称 issueHandlerId String 否 执行人 issueHandlerName String 否 执行人名称 department String 否 责任部门编码/ID departmentName String 否 责任部门名称 checkUserList List 否 检查人清单,多个人用逗号隔开 acceptanceUserList List 否 验收人,多个人用逗号隔开 supervisedUserList List 否 监督人,多个人用逗号隔开 thirdUrl String 否 待办跳转的第三方页面地址 dueTimestamp Long 否 计划完成时间戳 dealDate Long 否 自动上传的处理时间 submitterAccount String 是 提交人账号 isFilterReceiveStatus Integer 是 1是代表问题提交执行中,0是代表问题提交到待执行。处理人需要接受。 udf1—udf20 - - 问题扩展属性
  • 响应示例 { "data": [ { "id": 101795, "orgId": 101795, "orgNo": "asssssssssssssssssss", "value": "asssssssssssssssssss", "orgName": "asssssssssssssssssss", "orgLevel": 4 } ], "pos": 0, "totalCount": 1, "entityName": "org" }
  • 响应参数 参数 类型 描述 stateCode int 返回状态,0-正常;其他-异常 errorMessage String 错误消息描述 result Object 列表详细数据 result出参: 参数 类型 描述 kcpList List kcp 列表 kcpList出参: 参数 类型 描述 name String kcp名称 kcpId Long kcp id kcpIndex Int kcp 下标 itemList List Item 列表 itemList出参: 参数 类型 描述 fieldCode String 字段编码 fieldDefaultValue String 字段默认值 fieldIsNecessary Int 是否必填(1-必填;2-不必填) fieldName String 字段名称 fieldOrder Int 字段排序 fieldStatus Int 字段状态(1-可用, 2-停用) sceneBaseFieldId Long 任务场景基础字段主键ID sceneId Long 场景id
  • 请求示例 { "filter": {}, "page": { "start": 0, "count": 1 }, "taskReport": { "reportName": "", "reportCode": "", "locationId": "", "locationName": "", "countryId": "", "provinceId": "", "cityId": "", "adminOrganizationCodeList": [], "administrativeRegion": "", "sceneTaskId": "3240932" } }
  • 响应示例 { "data": [ { "reportDoneDate": "2023-03-16T15:05:32", "tempVersion": null, "tempName": null, "reportName": "级联输出项1_报告test_0077.xlsx", "taskStatus": null, "reportTemplateName": "0318", "reportVersion": "1.0", "locationId": null, "locationName": null, "errorMessage": "success", "reportProgress": "100", "reportCode": "REPORT-202303160263", "serviceType": null, "deliveryScene": null, "productType": null, "locationType": null, "administrativeRegion": null, "createName": "lyl10改", "lastUpdateName": "lyl10改", "appName": "isdp-qc-report-server", "entityName": "taskReport", "projectNo": "", "city": null, "country": null, "province": null, "id": 126967, "taskId": null, "qcTaskName": null, "fileId": 7488130, "tenantId": 886, "createdBy": 153169, "lastUpdatedBy": 153169, "templateId": 117045417795, "lastUpdateTimestamp": 1678950331891, "creationTimestamp": 1678950330263, "reportDoneTimestamp": 1678950330263, "cityId": null, "countryId": null, "provinceId": null, "status": 2, "isAuto": 1, "deleteFlag": 0, "isNew": 0, "creationDate": "2023-03-16T07:05:30.000+00:00", "lastUpdateDate": "2023-03-16T07:05:32.000+00:00", "qcSceneTaskId": null, "sceneTaskName": "级联输出项1", "ticketId": 0, "ticketCode": null, "ticketName": null, "sceneName": null, "projectName": "", "sceneTaskId": 3240932, "taskName": null, "templateType": 4, "adminOrganizationCode": "833", "adminOrganizationName": "中国区11112223333" } ] }
  • 响应参数 参数 类型 描述 stateCode String 响应编码。 errorMessage String 错误信息。 result Object[] 响应数据。 result中data对象参数说明: 参数 类型 描述 id Long 报告id adminOrganizationCode String 组织编码 adminOrganizationName String 组织名称 administrativeRegion String 行政区域 city String 城市 cityId Long 城市id country String 国家 countryId Long 国家id province String 省 provinceId Long 省id fileId Long 文件id deliveryScene String 交付场景 isAuto int 是否自动生成 1-是,0为否 isNew int 是否最新 locationId String 作业对象id locationName String 作业对象名称 locationType String 作业对象类型 productType String 产品类别 projectName String 项目名称 projectNo String 项目编码 qcSceneTaskId Long 任务id qcTaskName String 检查单名称 reportCode String 报告编码 reportDoneDate Datetime 报告生成日期 reportDoneTimestamp Long 报告生成时间戳 reportName String 报告名称 reportProgress String 报告生成进度 reportTemplateName String 报告模板名称 reportVersion String 版本号 sceneName String 场景名称 sceneTaskId Long 任务id sceneTaskName String 任务名称 serviceType String 业务类型 status int 报告状态 taskId Long 检查单id taskName String 检查单名称 taskStatus int 任务审批状态 tempName String 采集模板名称 tempVersion String 报告版本号 templateId Long 采集模板id templateType int 业务单类型 ticketCode String 许可拜纳姆 ticketId Long 许可id ticketName String 许可名称
  • 请求参数 参数 类型 是否必填 描述 page Object 否 分页信息 page.start int 否 起始位置 page.count int 否 条数 taskReport Object 否 报告信息 taskReport .reportName String 否 报告名称 taskReport .reportCode String 否 报告编号 taskReport .locationId long 否 区域id taskReport .locationName String 否 区域名称 taskReport .countryId long 否 国家id taskReport .provinceId long 否 省份id taskReport .cityId long 否 城市id taskReport .sceneTaskId long 否 任务id taskReport .adminOrganizationCodeList list 否 组织单元编码集合 taskReport .administrativeRegion String 否 行政区域 filter Object 否 过滤条件 filter中object对象参数说明 参数 类型 是否必填 描述 status Object 否 报告生成状态 status.type String 否 enum(固定值) status.value list 否 状态值 示例[0] 0:待创建 1:创建中 2:创建成功 3: 创建失败
  • 请求示例 { "submitterAccount": "fc0001", "sceneTaskId": 5064801, "processFeedback": "", "completeTimestamp": "", "saveDraft": "0", "taskExtendField": {}, "subTaskList": [ { "sceneTaskId": 5010371, "processFeedback": "123", "completeTimestamp": "", "taskExtendField": { "sceneTaskId": 5010371, "taskType": 2, "parentTaskId": 5064801, "stage": 2, "udf12": 11, "udf13": 22 } } ] }
  • 请求参数 参数 类型 是否必填 描述 submitterAccount String 是 提交人。 sceneTaskId Long 是 任务ID。 processFeedback String 否 反馈进展。 completeTimestamp String 否 完成时间。 saveDraft String 是 保存/提交。 1:保存 2:提交 taskExtendField Object 否 父任务扩展属性。 没有扩展属性时填写空对象 subTaskList List 否 子任务信息。 subTaskList字段说明: 参数 类型 描述 sceneTaskId Long 子任务ID。 processFeedback String 子任务进展反馈信息。 completeTimestamp String 子任务实际完成时间。 taskExtendField Object 子任务扩展信息。 taskExtendField字段说明: 参数 类型 描述 sceneTaskId Long 任务/子任务id。 stage Integer 子任务扩展属性所属阶段。 1:创建 2:执行 parentTaskId Long 父任务id。 udf1-udf40 String 扩展属性信息(扩展属性信息是从对应的场景中获取的)。 taskType Integer 任务类型。 1:父任务 2:子任务
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": { "data": [ { "signSiteId": 9911276271, "customerName": null, "tenantId": 100846, "tenantName": null, "projectNo": "", "projectName": null, "signSiteCode": "作业对象编码", "signSiteName": "作业对象名称", "signSiteSource": "1", "signSiteType": "屋顶站", "longitude": "0.0", "latitude": "0.0", "country": "中国", "province": "XX省", "city": "XX市", "district": null, "town": null, "signSiteAddress": "详细地址", "contactPerson": null, "contactNumber": null, "status": null, "deleteFlag": 0, "createdBy": 223394, "creationDate": "2022-04-18T05:27:45.000+00:00", "lastUpdatedBy": 223394, "lastUpdateDate": "2022-04-18T05:42:15.000+00:00", "appName": "basedata-server", "entityName": "taskObject", "creationTimestamp": 1650259665322, "lastUpdateTimestamp": 1650260534803, "countryId": 1349762, "provinceId": 1349768, "cityId": 1349870, "createName": "133XXXX1010", "lastUpdateName": "133XXXX1010", "udfExtend1": null, "udfExtend2": null, "udfExtend3": null, "udfExtend4": null, "udfExtend7": null, "udfExtend8": null, "udfExtend9": null, "udfExtend10": null, "secret": "0", "geoHash": "7zzzzzzz", "customerId": null, "supplierId": null, "supplierName": null, "ownerIds": "", "ownerNames": null, "ownerGroupId": null, "ownerGroupName": null, "orgId": 112645, "orgName": "133XXXX1010" } ], "pos": 0, "total_count": 1, "entityName": null, "totalCount": 1 } }
共100000条