华为云用户手册

  • 请求参数 参数 类型 是否必填 描述 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": "SUC CES S", "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" }
  • 请求示例 { "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" }
  • 请求示例 { "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, }, }
  • 页面集成方案 第三方系统获取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
  • 请求示例 {"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 否 单位 其中对象信息对照创建任务场景。
  • 请求示例 新增权限点入参案例 { "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 - - 问题扩展属性
  • 响应参数 参数 类型 描述 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" } ] }
共100000条