华为云用户手册

  • 响应示例 { "stateCode" : "0", "errorMessage" : null, "result" : { "data" : [{ "categoryId" : 1005, "categoryName" : "语言类", "categoryCode" : null, "courseId" : 1076, "courseName" : "测试更新yqq", "coverFileId" : 1315754, "lastUpdateTimestamp" : 1626494052484, "courseRemark" : "sfds", "courseDuration" : 35, "learnStatus" : 1, "learnProgress" : 0, "userStartTimestamp" : 1668387615190, "userEndTimestamp" : null, "learnType" : 1, "creationTimestamp" : 1668387615307, "learnDay" : 1, "learnValidTimestamp" : 1668474015190, "createdBy" : 1823, "createName" : "张三", "courseCount" : 0 } ], "pos" : 0, "total_count" : 1, "entityName" : null, "totalCount" : 1 } }
  • 请求参数 参数 类型 是否必填 描述 courseName String 是 课程名称,支持模糊搜索 learnStatus String 是 课程状态,课程状态(默认0 -1-删除 0-草稿、1-已发布、2-取消发布) learnType String 是 课程类型,1-必修 2-选修 page入参: 参数 类型 是否必填 描述 start String 是 起始 count String 是 容量
  • 响应示例 { "status": 1, "message": "SUCCESS", "error": "string", "data": { "data": [ { "streamTotal": 0, "firmware": "string", "deviceAbility": "string", "mac": "string", "createTime": "string", "updateTime": "string", "protocolVersion": "string", "deviceIp": "string", "devicePort": "string", "enableVideoRecording": "Y", "enableEndSide": "N", "tenantId": 886, "createdBy": 379459, "creationDate": 1635215873000, "lastUpdatedBy": 379459, "lastUpdateDate": 1636539175000, "fileId": "string", "fileExt": "string", "fileName": "string", "fileSize": "string", "sysType": "string", "webPlayUrl": "string", "isdpDeviceId": "00001--1", "deviceAlarmStatus": "string", "deviceSubType": "其他", "deviceManageState": "ACTIVATION", "deleteFlag": "0", "autoJoin": "N", "battery": "string", "longitude": "string", "latitude": "string", "coordType": "string", "chatJid": "595XXX@saasgroupchat.isdp-saas-sit.test.huawei.com", "liveChannelId": "217413515034693", "create_state": "SUCCESS", "chatId": "519XXX@isdp-saas-sit.test.huawei.com", "deviceUserId": "string", "buOrgId": 831, "buOrgName": "111修改后", "appName": "holosens-server", "entityName": "device", "ownnerName": "string", "deviceUserName": "string", "storageRemain": "string", "customerOrgCode": "string", "customerOrgName": "string", "deviceState": "OFFLINE", "deviceId": "00001", "channelId": "-1", "deviceName": "ddd", "deviceType": "MONITOR_BALL", "projectName": "string", "projectNumber": "string" } ], "pos": 0, "total_count": 598, "entityName": "string" }, "timestamp": "2021-11-19T09:21:24.131+0800" }
  • 响应参数 参数 类型 描述 status int 状态 message String 返回的接口状态描述 error String 错误 data Object 数据 data出参: 参数 类型 描述 streamTotal int 每个通道码流数量 firmware String 摄像头固件版本号 deviceAbility String 能力集 mac String mac地址 createTime String 创建时间 updateTime String 更新时间 protocolVersion String 协议版本 deviceIp String 设备ip devicePort String 设备端口 enableVideoRecording String 是否关闭视频录制 enableEndSide String 是否启用边缘AI tenantId int 租户ID createdBy int 设备创建人 creationDate int 设备创建时间 lastUpdatedBy int 设备更新人 lastUpdateDate int 最后更新时间 fileId String 图片编号 fileExt String 文件扩展名 fileName String 文件名称 fileSize String 文件大小 sysType String 系统类型 webPlayUrl String web播放地址 isdpDeviceId String isdp唯一设备ID deviceAlarmStatus String 设备告警状态 deviceSubType String 子设备类型 deviceManageState String 设备管理状态 deleteFlag String 删除标识 autoJoin String 是否主动入会 battery String 电量 longitude String 经度 latitude String 纬度 coordType String 坐标类型 chatJid String IM群组ID liveChannelId String 频道播放ID create_state String 创建状态 chatId String IM聊天ID deviceUserId String 设备使用人ID buOrgId String 组织id buOrgName String 组织名称 appName String 应用名称 entityName String 实体名称 ownnerName String 设备责任人名称 deviceUserName String 设备使用人名称 storageRemain String 存储保留 customerOrgCode String 供应商ID customerOrgName String 供应商名称 deviceState String 设备状态 deviceId String 设备ID channelId String 通道ID deviceName String 设备名称 deviceType String 设备类型 projectName String 项目名称 projectNumber String 项目编码
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": { "data": [ { "sceneId": -17046, "reviewProcessId": null, "reviewProcessName": "", "sceneName": "更换减速机检修作业-PDD-JX-001", "sceneCode": "TS20220901120117662", "sceneStatus": 1, "sourceSceneId": -17036, "sceneRemark": "更换减速机", "sceneMode": 2, "sceneType": 0, "sceneLicense": null, "version": "1.1", "isNewVersion": 0, "createdBy": -151168, "createName": "张三", "signInConfig": null, "creationDate": 1662014686000, "lastUpdatedBy": -151169, "lastUpdateName": "李四", "lastUpdateDate": 1664345792000, "creationTimestamp": 1662004877662, "lastUpdateTimestamp": 1664345792431, "adminOrganizationCode": "-977556", "adminOrganizationName": "皮带运输队", "isApplyApprove": null, "parentCategory": null, "category": null, "coverId": null, "deleteFlag": 0 }, { "sceneId": -17047, "reviewProcessId": null, "reviewProcessName": "", "sceneName": "更换电机检修作业-PDD-JX-002", "sceneCode": "TS20220901141801858", "sceneStatus": 1, "sourceSceneId": -17038, "sceneRemark": "更换电机", "sceneMode": 2, "sceneType": 0, "sceneLicense": null, "version": "1.1", "isNewVersion": 0, "createdBy": -151168, "createName": "张三", "signInConfig": null, "creationDate": 1662014746000, "lastUpdatedBy": -151169, "lastUpdateName": "李四", "lastUpdateDate": 1664345769000, "creationTimestamp": 1662013081858, "lastUpdateTimestamp": 1664345769506, "adminOrganizationCode": "-977556", "adminOrganizationName": "皮带运输队", "isApplyApprove": null, "parentCategory": null, "category": null, "coverId": null, "deleteFlag": 0, "UDF1": null, "UDF2": null, "UDF3": null, "UDF4": "车型型号A", "UDF5": null, "UDF6": null, "UDF7": null, "UDF8": null, "UDF9": null, "UDF10": null, "UDF11": null, "UDF12": null, "UDF13": null, "UDF14": null, "UDF15": null, "UDF16": null, "UDF17": null, "UDF18": null, "UDF19": null, "UDF20": null, "UDF21": null, "UDF22": null, "UDF23": null, "UDF24": null, "UDF25": null, "UDF26": null, "UDF27": null, "UDF28": null, "UDF29": null, "UDF31": null, "UDF32": null, "UDF33": null, "UDF34": null, "UDF35": null, "UDF36": null, "UDF37": null, "UDF38": null, "UDF39": null, "UDF40": null }, { "sceneId": -17048, "reviewProcessId": null, "reviewProcessName": "", "sceneName": "更换滚筒检修作业-PDD-JX-003", "sceneCode": "TS20220901142416480", "sceneStatus": 1, "sourceSceneId": -17039, "sceneRemark": "更换滚筒", "sceneMode": 2, "sceneType": 0, "sceneLicense": null, "version": "1.1", "isNewVersion": 0, "createdBy": -151168, "createName": "张三", "signInConfig": null, "creationDate": 1662014760000, "lastUpdatedBy": -151169, "lastUpdateName": "李四", "lastUpdateDate": 1664345749000, "creationTimestamp": 1662013456480, "lastUpdateTimestamp": 1664345749300, "adminOrganizationCode": "-977556", "adminOrganizationName": "皮带运输队", "isApplyApprove": null, "parentCategory": null, "category": null, "coverId": null, "deleteFlag": 0, "UDF1": null, "UDF2": null, "UDF3": null, "UDF4": "车型型号A", "UDF5": null, "UDF6": null, "UDF7": null, "UDF8": null, "UDF9": null, "UDF10": null, "UDF11": null, "UDF12": null, "UDF13": null, "UDF14": null, "UDF15": null, "UDF16": null, "UDF17": null, "UDF18": null, "UDF19": null, "UDF20": null, "UDF21": null, "UDF22": null, "UDF23": null, "UDF24": null, "UDF25": null, "UDF26": null, "UDF27": null, "UDF28": null, "UDF29": null, "UDF31": null, "UDF32": null, "UDF33": null, "UDF34": null, "UDF35": null, "UDF36": null, "UDF37": null, "UDF38": null, "UDF39": null, "UDF40": null } ], "pos": 0, "total_count": 3, "entityName": null, "totalCount": 3 } }
  • 请求参数 参数 类型 是否必填 描述 page Object 否 分页参数 dataSource String 是 数据来源 (只支持 appcube 入参) sceneName Long 否 一级工艺名称 右模糊 UDF1 String 否 (扩展属性1) 顺序 UDF2 String 否 (扩展属性2) 文档编号 右模糊 UDF3 String 否 (扩展属性3) 版本号 UDF4 String 否 (扩展属性4) 车型key UDF5 String 否 (扩展属性5) 检修工艺模板key UDF6 String 否 (扩展属性6) 部件key UDF7 String 否 (扩展属性7) 型号key UDF8 String 否 (扩展属性8) 加改 UDF9 String 否 (扩展属性9) 注意事项 UDF10 String 否 (扩展属性10) 作业条件 page入参 参数 类型 是否必填 描述 start Integer 否 开始行 默认0 count Integer 否 总行数 默认15
  • 响应参数 参数 类型 描述 stateCode String 响应状态码:0-成功;其他-失败 errorMessage String 响应描述,错误提示 result Object 响应消息体 data Object 告警列表信息 deviceName String 设备名称 deviceUserName String 设备使用人名称 alarmType Int 告警类型(1:举手 2:AI评审告警 3:SOS) alarmSubType String 告警子类型,只有告警类型是2的时候有值 status Int 告警状态 1:告警中 0:已取消 alarmAppearTimestamp Long 告警出现时间对应的毫秒数 cancelName String 取消人 projectName String 项目名称 projectNo String 项目编码 alarmCancelTimestamp Long 告警取消时间对应的毫秒数
  • 响应示例 { "stateCode": "0", "errorMessage": "success", "result": { "data": [{ "deviceName": "HoloSens SDC-0", "deviceUserName": null, "alarmType": 2, "alarmSubType": "人脸", "status": 1, "alarmAppearTimestamp": 1610611678883, "alarmCancelTimestamp": 1612340631996, "cancelName": "test1", "projectName": "20201109", "projectNo": "20201109" }], "pos": 0, "total_count": 1, "entityName": null, "totalCount": 1 } }
  • 响应示例 { "stateCode": "0", "errorMessage": "成功", "result": { "pos": 0, "totalCount": 5, "data": [ { "sceneId": 22191, "sceneName": "维护作业test", "collectionId": 198313, "collectionBy": 201585, "colectionByName": "XXXX", "fileId": 4420241, "fileType": "普通图片", "collectTime": "2022-10-13T16:36:14", "likesCount": 0, "thumbnailsId": null, "sceneTaskId": 185976, "taskName": "维护作业test" }, { "sceneId": 22191, "sceneName": "维护作业test", "collectionId": 198315, "collectionBy": 201585, "colectionByName": "XXXX", "fileId": 4420245, "fileType": "普通图片", "collectTime": "2022-10-13T16:37:04", "likesCount": 0, "thumbnailsId": null, "sceneTaskId": 185978, "taskName": "维护作业test" }, { "sceneId": 22191, "sceneName": "维护作业test", "collectionId": 198303, "collectionBy": 201585, "colectionByName": "XXXX", "fileId": 4420221, "fileType": "普通图片", "collectTime": "2022-10-13T16:15:06", "likesCount": 0, "thumbnailsId": null, "sceneTaskId": 186023, "taskName": "维护作业test" }, { "sceneId": 22191, "sceneName": "维护作业test", "collectionId": 198304, "collectionBy": 201585, "colectionByName": "XXXX", "fileId": 4420223, "fileType": "普通图片", "collectTime": "2022-10-13T16:15:24", "likesCount": 0, "thumbnailsId": null, "sceneTaskId": 186023, "taskName": "维护作业test" }, { "sceneId": 22191, "sceneName": "维护作业test", "collectionId": 198301, "collectionBy": 201580, "colectionByName": "XXXX", "fileId": 4420214, "fileType": "普通图片", "collectTime": "2022-10-13T13:56:47", "likesCount": 0, "thumbnailsId": null, "sceneTaskId": 186025, "taskName": "维护作业test" } ], "header": null } }
  • 请求参数 参数 类型 是否必填 描述 sceneId Int 必填 任务场景ID taskId Int 否 任务ID subTaskId Int 否 子任务ID procedureId Int 否 工序ID likesFlag Int 必填 是否点赞: 0:查询所有 1:只查询点赞的,即点赞次数不为0的记录 signSiteId Int 否 作业对象ID signSiteName String 否 作业对象名称 signSiteCode String 否 设备对象编码 signSiteType String 否 设备类型 startDate String 否 采集开始时间,格式yyyy-MM-dd endDate String 否 采集结束时间,格式yyyy-MM-dd pageStart Int 否 当前页码,从0开始 pageSize Int 否 每页数量,默认15条,最多100条
  • 请求示例 { "docName": "jobRegulationsClauses", "jobRegulationsClausesList": [ { "jobRegulationsClausesId": "b测试b", "jobRegulationsClausesPart": "编", "jobRegulationsClausesChapter": "章", "jobRegulationsClausesSectioned": "节", "jobRegulationsClausesArticle": "条", "jobRegulationsClausesDesc": "b测试b" }, { "jobRegulationsClausesId": "a测试a", "jobRegulationsClausesPart": "编", "jobRegulationsClausesChapter": "章", "jobRegulationsClausesSectioned": "节", "jobRegulationsClausesArticle": "条", "jobRegulationsClausesDesc": "a测试a" } ] }
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": [ { "adminOrganizationCode": 830, "adminOrganizationName": "杨凌作业系统测试№", "ehsIndustryType": "11", "ehsIndustryTypeText": "通用/EHS", "isDefaultTemplate": 0, "otherRecognitionObjects": "对象2;对象1", "otherRecognitionObjectsStr": "对象2;对象1", "personQualification": "", "personQualificationStr": "", "ppeEquipsObject": "Tesla_03010101;Tesla_safety_suit", "ppeEquipsObjectList": [ { "alarmsDuration": "", "objectId": "Tesla_03010101", "rulesType": "", "setAlarmsBorder": 0, "setAlarmsDuration": 0 }, { "alarmsDuration": "", "objectId": "Tesla_safety_suit", "rulesType": "", "setAlarmsBorder": 0, "setAlarmsDuration": 0 } ], "ppeEquipsObjectStr": "佩戴安全帽,Tesla_03010101;安全服,Tesla_safety_suit", "quantityTestFlag": 0, "remarks": "明白明白明白", "templateChildType": 16, "templateName": "测试新增模版1", "type": 16, "templateCode": "EHS20230504110344390", "status": 1, "isCommandTemplate": 0, "tenantId": 886, "deleteFlag": 0, "isNewVersion": "Y", "version": "1.0", "templateParam": "[{\"kcpId\":3,\"kcpName\":\"PPE及装备\",\"itemId\":null,\"itemName\":null,\"objectId\":null,\"outputId\":null,\"outputName\":null,\"outputType\":null,\"rulesType\":null,\"setAlarmsBorder\":null,\"setAlarmsDuration\":null,\"alarmsDuration\":null,\"source\":null,\"aiPhotoId\":null,\"templateContents\":[{\"kcpId\":null,\"kcpName\":null,\"itemId\":30,\"itemName\":\"佩戴安全帽\",\"objectId\":\"Tesla_03010101\",\"outputId\":null,\"outputName\":null,\"outputType\":null,\"rulesType\":null,\"setAlarmsBorder\":0,\"setAlarmsDuration\":0,\"alarmsDuration\":null,\"source\":\"tesla\",\"aiPhotoId\":null,\"templateContents\":[{\"kcpId\":null,\"kcpName\":null,\"itemId\":null,\"itemName\":null,\"objectId\":null,\"outputId\":130,\"outputName\":\"佩戴安全帽\",\"outputType\":3,\"rulesType\":null,\"setAlarmsBorder\":null,\"setAlarmsDuration\":null,\"alarmsDuration\":null,\"source\":null,\"aiPhotoId\":null,\"templateContents\":null}]},{\"kcpId\":null,\"kcpName\":null,\"itemId\":31,\"itemName\":\"安全服\",\"objectId\":\"Tesla_safety_suit\",\"outputId\":null,\"outputName\":null,\"outputType\":null,\"rulesType\":null,\"setAlarmsBorder\":0,\"setAlarmsDuration\":0,\"alarmsDuration\":null,\"source\":\"tesla\",\"aiPhotoId\":null,\"templateContents\":[{\"kcpId\":null,\"kcpName\":null,\"itemId\":null,\"itemName\":null,\"objectId\":null,\"outputId\":131,\"outputName\":\"安全服\",\"outputType\":3,\"rulesType\":null,\"setAlarmsBorder\":null,\"setAlarmsDuration\":null,\"alarmsDuration\":null,\"source\":null,\"aiPhotoId\":null,\"templateContents\":null}]}]},{\"kcpId\":4,\"kcpName\":\"非智能识别对象\",\"itemId\":null,\"itemName\":null,\"objectId\":null,\"outputId\":null,\"outputName\":null,\"outputType\":null,\"rulesType\":null,\"setAlarmsBorder\":null,\"setAlarmsDuration\":null,\"alarmsDuration\":null,\"source\":null,\"aiPhotoId\":null,\"templateContents\":[{\"kcpId\":null,\"kcpName\":null,\"itemId\":40,\"itemName\":\"对象2\",\"objectId\":null,\"outputId\":null,\"outputName\":null,\"outputType\":null,\"rulesType\":null,\"setAlarmsBorder\":null,\"setAlarmsDuration\":null,\"alarmsDuration\":null,\"source\":null,\"aiPhotoId\":null,\"templateContents\":[{\"kcpId\":null,\"kcpName\":null,\"itemId\":null,\"itemName\":null,\"objectId\":null,\"outputId\":140,\"outputName\":\"对象2\",\"outputType\":3,\"rulesType\":null,\"setAlarmsBorder\":null,\"setAlarmsDuration\":null,\"alarmsDuration\":null,\"source\":null,\"aiPhotoId\":null,\"templateContents\":null}]},{\"kcpId\":null,\"kcpName\":null,\"itemId\":41,\"itemName\":\"对象1\",\"objectId\":null,\"outputId\":null,\"outputName\":null,\"outputType\":null,\"rulesType\":null,\"setAlarmsBorder\":null,\"setAlarmsDuration\":null,\"alarmsDuration\":null,\"source\":null,\"aiPhotoId\":null,\"templateContents\":[{\"kcpId\":null,\"kcpName\":null,\"itemId\":null,\"itemName\":null,\"objectId\":null,\"outputId\":141,\"outputName\":\"对象1\",\"outputType\":3,\"rulesType\":null,\"setAlarmsBorder\":null,\"setAlarmsDuration\":null,\"alarmsDuration\":null,\"source\":null,\"aiPhotoId\":null,\"templateContents\":null}]}]}]", "createName": "jf00002", "lastUpdateName": "jf00002", "creationTimestamp": 1683169424388, "lastUpdateTimestamp": 1683169424388, "entityName": "ehsTemplate", "templateId": 295036, "createdBy": 902785, "creationDate": "2023-05-04T03:03:45.673+00:00", "lastUpdatedBy": 902785, "lastUpdateDate": "2023-05-04T03:03:45.673+00:00", "appName": "isdp-qc-server", "affectedRows": 1, "originalTemplateId": 295036 } ] }
  • 响应参数 参数 类型 描述 stateCode String 响应编码:0-成功;其他-失败 errorMessage String 错误信息 result Object 响应数据 result中data对象参数说明: 参数 类型 描述 id Long 报告id adminOrganizationCode String 组织编码 adminOrganizationName String 组织名称 ehsIndustryType String ehs行业对象分类id,多个用";"分隔 ehsIndustryTypeText String ehs行业分类,多个用“;”分隔 isDefaultTemplate Int 是否为默认模板 otherRecognitionObjects String 其他识别对象(非智能识别对象) otherRecognitionObjectsStr String 非智能识别对象 personQualification String 资质选择 personQualificationStr String 资质选择名称 ppeEquipsObject String PPE及装备对象选择 ppeEquipsObjectList list PPE及装备对象选择 ppeEquipsObjectStr String PPE及装备对象选择 quantityTestFlag int 是否启用资质校验 remarks String 备注 templateChildType int 模板子类型 1表示质检; 2表示巡检; 3表示作业; 4表示许可 templateName String 模板名称 type String 模板类型, 16-ehs,1-质检,2-巡检 templateCode String 模板编码 status Int 模板状态 isCommandTemplate int 是否指令式采集模板 tenantId long 租户ID deleteFlag String 是否删除 isNewVersion String 最新版本注记(Y:最新;N:旧) version String 版本号 templateParam Text 模板结构数据 createName String 创建人名字 lastUpdateName String 最后更新人名字 creationTimestamp long 创建时间对应的毫秒数 lastUpdateTimestamp long 最后一次更新时间对应的毫秒数 entityName String 实体名称 templateId long 模板Id createdBy long 创建人 creationDate datetime 创建时间 lastUpdatedBy long 更新人 lastUpdateDate datetime 最后更新时间 appName String 应用名称 affectedRows Int 受影响的行数 originalTemplateId long 原始模板ID
  • 响应示例 { "status": 1, "message": "SUCCESS", "error": null, "data":{ "resultCode": 0, "rtspURL": "rtsp://10.91.172.64:1188/05238798089631890101?DstCode=01&ServiceType=1&ClientType=1&StreamID=1&SrcTP=2&DstTP=2&SrcPP=1&DstPP=1&MediaTransMode=0&BroadcastType=0&SV=1&Token=NEkwUZe3+FY/RoNLmJK/BIQS7WITUJIxWM8BDchDr3U=&DomainCode=9acedeced6794b468330d3c15ecb36b3&UserId=5&" }, "timestamp": "2022-06-21T16:14:25.497+0800" }
  • 请求参数 参数 类型 是否必填 描述 sceneId Int 必填 任务场景ID taskId Int 否 任务ID subTaskId Int 否 子任务ID procedureId Int 否 工序ID likesFlag Int 否,默认查所有 是否点赞: 0:查询所有 1:只查询点赞的,即点赞次数不为0的记录 pageStart Int 否 当前页码,从0开始 pageSize Int 否 每页数量,默认15条,最多100条
  • 响应示例 { "stateCode": "0", "errorMessage": "成功", "result": { "pos": 0, "totalCount": 1, "data": [ { "sceneId": 17522, "sceneName": "小智测试", "taskId": 265109, "taskCode": "77395e8d-1e54-4ade-b875-785b7e827028", "taskName": "1", "taskType": "通用(质量检查)", "sceneTaskId": 173746, "sceneTaskName": "小智测试_20220728_114539", "subTaskId": 241526, "subTaskName": "子任务1_20220728_114539", "procedureId": 241527, "procedureName": "1", "templateId": 38827, "templateCode": "QC2022XXXXXXXXXXXXX", "templateName": "小智2", "kcpId": 35531, "kcpName": "new kcp1", "itemId": 142315, "itemCode": null, "itemName": "Item1", "collectionId": 96189, "collectionBy": 131047, "collectionByName": "XXXX", "fileId": 4073275, "fileType": "采集图片", "thumbnailsId": null, "collectTime": "2022-07-28T11:46:22", "likesCount": 0, "labels": null } ], "header": null } }
  • 响应示例 { "stateCode": "0", "errorMessage": "success", "result": { "pos": 0, "totalCount": 2, "data": [ { "sceneName": "巡检abc", "avgExecuteTime": 11.2 }, { "sceneName": "巡检def", "avgExecuteTime": 7 } ] } }
  • 请求示例 { "date": "2022-06-11", "dateType": "day", "period": 7, "sceneName": "巡检", "orgIdList": ["123", "124"], "pageStart": 0, "pageSize": 15 }
  • 请求示例 { "page": { "count": 15, "start": 0 }, "siteName": "作业对象名", "siteCode": "作业对象", "siteType": "屋顶站", "addressIdList": [ 1349762, 13497681, 1349870 ], "startDate": "2022-01-18 00:00:00", "endDate": "2022-04-18 23:59:59" }
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": { "data": [ { "signSiteId": 9911276271, "customerName": null, "tenantId": 100846, "tenantName": null, "projectNo": "", "projectName": null, "signSiteCode": "作业对象编码", "signSiteName": "作业对象名称", "signSiteSource": "1", "signSiteType": "屋顶站", "longitude": "0**.**", "latitude": "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 } }
  • 请求参数 参数 类型 是否必填 描述 page. count Int 必填 每页条数 page. start Int 必填 起始条数 siteName String 否 作业对象名称(新增时必填) siteCode String 否 作业对象编码(新增时必填) siteType String 否 作业对象类型 addressIdList Array 否 行政区域 startDate data 否 开始时间 endDate data 否 结束时间 udfExtend[1-10] 除udfExtend5和 udfExtend6为date类型,其他为String类型 否 扩展字段1-10 ownerIds String 否 责任人ID,多个ID用英文逗号隔开
  • 响应参数 参数 类型 描述 status String 处理结果(0代表success) errorMessage String 错误消息 data Object 返回结果 data出参: 字段名 字段名称 示例 signSiteId 作业对象主键id 9911276271, customerName 客户名称 null, tenantId 租户id 100846, tenantName 租户名称 null, projectNo 项目编码 - projectName 项目名称 null, signSiteCode 作业对象编码 作业对象编码 signSiteName 作业对象名称 作业对象名称 signSiteSource 作业对象来源 1 signSiteType 作业对象类型 屋顶站 longitude 经度 0**.** latitude 纬度 0**.** country 国家 中国 province 省份 XX省 city 城市 XX市 district 区 null, town 镇 null, signSiteAddress 详细地址 ****** contactPerson 联系人 null, contactNumber 联系电话 null, status 状态(预留字段) null, deleteFlag 删除标识 0, createdBy 创建人id 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 国家id 1349762, provinceId 省份id 1349768, cityId 城市id 1349870, createName 创建人名称 133XXXX1010 lastUpdateName 更新人名称 133XXXX1010 udfExtend1 扩展字段 null, udfExtend2 扩展字段 null, udfExtend3 扩展字段 null, udfExtend4 扩展字段 null, udfExtend7 扩展字段 null, udfExtend8 扩展字段 null, udfExtend9 扩展字段 null, udfExtend10 扩展字段 null, secret 是否敏感 0 geoHash 经纬度对应geoHash 7zzzzzzz customerId 客户id null, supplierId 供应商id null, supplierName 供应商名称 null, ownerIds 责任人ID,多个用英文逗号隔开 ownerNames 责任人群组id null, ownerGroupId 责任人群组名称 null, ownerGroupName 责任人名称,多个用英文逗号隔开 null, orgId 所属行政组织 112645, orgName 行政组织名称 133XXXX1010"
  • 请求参数 参数 类型 是否必填 描述 taskScheduleName String 是 任务调度名称。 isEnable String 是 是否启用。 1:启用 0:不启用 taskBody String 是 任务详情。 taskBody参数 参数 类型 是否必填 描述 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 否 调度日期。 plannedBeginType Integer 否 计划开始时间类型。 1:当天 2:调度后 beginNumberOfHours Integer 否 计划开始时间多少小时后。 plannedCompletionType Integer 否 计划结束时间类型。 1:当天 2:调度后 endNumberOfHours Integer 否 计划完成时间多少小时后。 url String 否 待办地址。 thirdUrl String 否 第三方待办地址。 resource String 否 数据源。 operUserId Long 否 操作人ID。
  • 请求示例 { "docName": "jobRegulationsClauses", "jobRegulationsClausesList": [ { "jobRegulationsClausesId": "b测试b", "jobRegulationsClausesPart": "编", "jobRegulationsClausesChapter": "章", "jobRegulationsClausesSectioned": "节", "jobRegulationsClausesArticle": "条", "jobRegulationsClausesDesc": "b测试b" }, { "jobRegulationsClausesId": "a测试a", "jobRegulationsClausesPart": "编", "jobRegulationsClausesChapter": "章", "jobRegulationsClausesSectioned": "节", "jobRegulationsClausesArticle": "条", "jobRegulationsClausesDesc": "a测试a" } ] }
  • 响应示例 { "status": "success", "msg": "200", "data": [ { "jobRegulationsClausesId": "b测试b", "jobRegulationsClausesPart": "编", "jobRegulationsClausesChapter": "章", "jobRegulationsClausesSectioned": "节", "jobRegulationsClausesArticle": "条", "jobRegulationsClausesDesc": "b测试b" }, { "jobRegulationsClausesId": "a测试a", "jobRegulationsClausesPart": "编", "jobRegulationsClausesChapter": "章", "jobRegulationsClausesSectioned": "节", "jobRegulationsClausesArticle": "条", "jobRegulationsClausesDesc": "a测试a" } ], "failed": false, "success": true }
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": [ { "status": "1", "message": "检查单不存在!", "customerTaskId": 123456789123456789, "taskId": null }, { "status": "1", "message": "不是该检查单的创建人,不能删除!", "customerTaskId": 123456888, "taskId": null }, { "status": "0", "message": "删除成功!", "customerTaskId": 1234567894, "taskId": null }, { "status": "0", "message": "删除成功!", "customerTaskId": 1234567895, "taskId": null }, { "status": "0", "message": "删除成功!", "customerTaskId": 1234567896, "taskId": null } ] }
  • 请求参数 参数 类型 是否必填 描述 issueInstance String 是 问题实例,1 隐患,0 问题 issueId Long 是 问题id assistMark String 是 原因 thirdUrl String 是 待办地址 operUserId Long 是 操作人userId operUserName String 是 操作人userName assistantId List 是 协同人userid
  • 响应示例 { "status":"success", "msg":null, "data":{ "start":0, "count":200, "data":[ { "msgId":173656, "msgTitle":"任务待执行", "extParam":null, "msgType":5, "publishTime":"2022-09-22T19:36:29", "msgDescription":"任务【12324】需要执行", "subcategory":"05_06", "extended1":"183214", "extended2":"12324", "extended3":null, "extended4":null, "extended5":"#/task/operationTask/detail?parentTaskId=183214&sceneTaskId=183214&taskType=1", "extended6":"/one/#/task/operationTask/detail?parentTaskId={0}&sceneTaskId={1}&taskType=1", "readStatus":1, "noticeId":null } ], "totalCount":0, "unReadCount":0 } }
  • 响应参数 参数 类型 描述 msgId Long 消息ID msgTitle String 消息标题 msgDescription String 消息描述 subcategory String 二级消息分类 extended1 String 子任务Id(任务) extended2 String 待办任务标题 extended3 String 父任务Id(任务) extended4 String 无 extended5 String PC端地址 extended6 String 移动端地址 readStatus Integer 消息是否已读 0未读1已读
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": [ { "appName": "isdp-task-server", "checkBusiType": "许可01", "checkOrderId": 5743765, "checkOrderType": 1, "createdBy": 390841, "createName": "zdrun-test", "creationDate": "2022-03-11T08:35:54.000+00:00", "creationTimestamp": 1646987754674, "deleteFlag": 0, "entityName": "workTicketPhase", "isRejected": 0, "lastSubmitTimestamp": 1646987756994, "lastUpdateDate": "2022-03-11T08:35:57.000+00:00", "lastUpdatedBy": 390841, "lastUpdateName": "zdrun-test", "lastUpdateTimestamp": 1646987756994, "reviewRuleId": 35429, "reviewSwitch": 1, "sceneInitialStatus": 1084, "sceneReviewStatus": 1170, "sceneSumbmitStatus": 1085, "submitDate": "2022-03-11T08:35:57.000+00:00", "submitUserId": 390841, "submitUserName": "zdrun-test", "templateCode": "QC2022XXXXXXXXXXXXX", "templateId": 221760, "tenantId": 886, "ticketId": 82497, "ticketPhaseCode": "50412", "ticketPhaseId": 220883, "ticketPhaseName": "阶段1", "ticketPhaseOrder": 1, "ticketPhaseStatus": 3, "reviewProcessName": "筛XX", "kcpList": [ { "kcpId": 224710, "name": "new kcp1", "templateId": 221760, "children": [ { "collectNa": 0, "allowedNa": 1, "appName": "isdp-qc-server", "createdBy": 25804, "creationDate": "2022-02-16T03:31:06.000+00:00", "deleteFlag": 0, "entityName": "templateItem", "handlerNameInspection": null, "handlerNameQualityInspection": null, "identificationType": "", "intelligentReviewRules": "", "isExemption": 0, "issueHandlerInspection": null, "issueHandlerQualityInspection": null, "issueTypeInspection": "", "issueTypeQualityInspection": "", "itemCode": null, "itemId": 3398573, "itemIndex": 0, "itemType": 0, "kcpId": 224710, "kcpIndex": 0, "kcpName": null, "lastUpdateDate": "2022-02-16T03:31:06.000+00:00", "lastUpdatedBy": 25804, "name": "Item1", "operationGuide": "", "qualificationType": 1, "qualityStandard": "", "rejectionReason": null, "sceneTypeName": null, "severity": 1, "templateId": 221760, "tenantId": 886, "approveStatus": 1, "reviewStatus": 4, "collectStatus": 2, "aiResult": "wait", "colletData": { "itemId": 3398573, "itemName": "Item1", "itemType": 0, "itemRemark": null, "itemContent": null, "isOldDate": null, "kcpId": null, "children": [ { "itemId": 3398573, "outputId": 43632912, "outputName": "图片", "outputCode": null, "countPhoto": 0, "countVideo": 0, "outputType": 13, "collectScene": null, "qualificationType": null, "isNecessary": null, "compressionRatio": null, "demoPictureId": null, "maxPhoto": 0, "maxVideo": 0, "enablePhoto": null, "outputModel": { "itemId": 3398573, "templateId": 221760, "outputId": 43632912, "outputName": "图片", "outputType": 13, "maxPhoto": null, "maxVideo": null, "isNecessary": 0, "qualificationType": null, "enumValue": "", "maxValue": "", "minValue": "", "enablePhoto": null, "compressionRatio": null, "demoPictureId": null, "deleteFlag": 0, "accuracy": null, "cascadeOutputId": null, "collectScene": 0, "designValue": "", "deviationValue": null, "designValueOrder": "", "isSubOutput": null, "oldItemId": null, "itemType": 0, "isAudioIdentify": 0, "measurementOrder": 0, "defaultValue": "", "outputCode": null, "isStrongWeak": null, "intelligentObject": "" }, "itemName": null, "qcVideoModelList": [], "qcExampleVideoModelList": [], "qcPhotoModelList": [ { "tenantId": 886, "id": 205694, "kcpId": 224710, "photoId": "4980961", "templateId": 221760, "photoName": "1019.png", "itemId": 3398573, "picPassMk": null, "outputId": 43632912, "isExample": 1, "status": 0, "photoWatermarkId": null, "valid": null, "lastUpdateDate": "2022-02-16T03:31:06.000+00:00", "creationDate": "2022-02-16T03:31:06.000+00:00", "createdBy": 25804, "createName": null, "lastUpdatedBy": 25804, "lastUpdateName": null, "photoRemarksReview": null, "photoRemarks": null }, { "tenantId": 886, "id": 205695, "kcpId": 224710, "photoId": "4980962", "templateId": 221760, "photoName": "background.png", "itemId": 3398573, "picPassMk": null, "outputId": 43632912, "isExample": 1, "status": 0, "photoWatermarkId": null, "valid": null, "lastUpdateDate": "2022-02-16T03:31:06.000+00:00", "creationDate": "2022-02-16T03:31:06.000+00:00", "createdBy": 25804, "createName": null, "lastUpdatedBy": 25804, "lastUpdateName": null, "photoRemarksReview": null, "photoRemarks": null }, { "tenantId": 886, "id": 205696, "kcpId": 224710, "photoId": "4980964", "templateId": 221760, "photoName": "images.jpg", "itemId": 3398573, "picPassMk": null, "outputId": 43632912, "isExample": 1, "status": 0, "photoWatermarkId": null, "valid": null, "lastUpdateDate": "2022-02-16T03:31:06.000+00:00", "creationDate": "2022-02-16T03:31:06.000+00:00", "createdBy": 25804, "createName": null, "lastUpdatedBy": 25804, "lastUpdateName": null, "photoRemarksReview": null, "photoRemarks": null } ], "qcFileModelList": [], "qcExamplePhotoModelList": [], "qcCollectionDataModelList": [], "kcpName": null } ] } } ] } ] } ] }
共100000条