华为云用户手册

  • 响应参数 参数 类型 描述 aiAddress String AI服务地址 aiSupplier String AI服务供应商 exampleImage String 样例图 identifiedMessage Integer 是否能够识别关键信息 identifiedNumber Integer 是否能够识别数量 identifyingObjects String 图片文本识别对象 imageIdentify Integer 是否支持图片文本识别 industryId Long 行业ID intelligentObjectCode String 智能对象ID/编码 intelligentObjectGroupId Long 对象分组ID intelligentObjectId Long 智能对象主键ID intelligentObjectName String 智能对象名称 intelligentObjectNameEnUs String 智能对象名称-英文 intelligentObjectTypeId Long 对象分类ID reviewDescription String 审核说明 reviewDescriptionEnUs String 审核说明-英文 rulesType Integer 是否默认反向规则 0:否 1:是 scenario String 场景 setAlarmsBorder Integer 是否能够设置告警边界 setAlarmsDuration Integer 是否能够设置告警时长 supportEHSVideo Integer 是否支持EHS视频 supportSafetySupervision Integer 是否支持安监
  • 请求示例 大类:{"parentIssue":{"kindName":"ssss11111"},"childrenIssueList":[],"issueInstance":"1"} 小类:{"parentIssue":{"kindName":"ssss111112232","configId": 19122},"childrenIssueList":[{"kindName":"隐患类型1--01"},{"kindName":"隐患类型1--02"}],"issueInstance":"1"}
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": { "adminOrganization": null, "adminOrganizationName": null, "adminOrganizationPath": null, "appName": "isdp-qc-server", "checkBusiType": "", "configId": 18343, "createdBy": 390841, "createName": "zdrun-test", "creationDate": "2022-06-17T09:26:06.000+00:00", "creationTimestamp": 1655457966925, "dataSource": 0, "deleteFlag": 0, "entityName": "issueConfig", "issueInstance": "1", "kindLevel": 1, "kindName": "隐患类型1", "kindScene": "UDF8", "lastUpdateDate": "2022-06-17T09:26:06.000+00:00", "lastUpdatedBy": 390841, "lastUpdateName": "zdrun-test", "lastUpdateTimestamp": 1655457966925, "parentConfigId": 18343, "tenantId": 886, "childrenList": [ { "dataSource": 0, "parentConfigId": 18343, "kindName": "隐患类型1--01", "kindLevel": 2, "issueConfigOrder": null, "kindScene": "UDF8", "checkBusiType": "", "deleteFlag": 0, "tenantId": 886, "createdBy": 390841, "createName": "zdrun-test", "creationDate": "2022-06-17T09:28:04.464+00:00", "lastUpdatedBy": 390841, "creationTimestamp": 1655458084446, "lastUpdateDate": "2022-06-17T09:28:04.464+00:00", "lastUpdateName": "zdrun-test", "lastUpdateTimestamp": 1655458084446, "issueInstance": "1", "checkIssueTag": null, "entityName": "issueConfig", "configId": 18344, "appName": "isdp-qc-server", "affectedRows": 1 } ] } }
  • 请求示例 { "deviceId" : "rerererr", "deviceName" : "rerererr", "deviceAddress" : "", "projectName" : null, "model" : "", "deviceType" : "INTELLIGENT_SAFETY_HELMET", "deviceManageState" : "ACTIVATION", "deviceSubType" : "其他", "manufacture" : "", "description" : "", "deviceAddressNumber" : "", "projectNumber" : null, "isdpDeviceId" : "rerererr--1", "ownnerId" : null, "deviceUserId" : null, "buOrgName" : "杨凌作业系统测试", "buOrgId" : 830, "customerOrgName" : "", "customerOrgCode" : "", "autoJoin" : "Y", "enableEndSide" : "Y", "enableVideoRecording" : "Y" }
  • 响应示例 { "status" : 1, "message" : "SUCCESS", "error" : null, "data" : { "deviceId" : "rerererr", "deviceName" : "rerererr", "publicKey" : null, "deviceState" : null, "deviceType" : null, "description" : "", "createTime" : null, "updateTime" : null, "accessProtocol" : null, "manufacture" : "", "channelTotal" : 0, "streamTotal" : 0, "deviceSystemState" : null, "model" : "", "firmware" : null, "deviceAbility" : null, "mac" : null, "protocolVersion" : null, "deviceIp" : null, "devicePort" : null, "tenantId" : 0, "lastUpdatedBy" : 0, "createdBy" : 0, "projectNumber" : "", "projectName" : "", "deviceAddress" : "", "deviceAddressNumber" : "", "fileId" : null, "sysType" : null, "fileSize" : null, "fileName" : null, "fileExt" : null, "webPlayUrl" : null, "verificationCode" : null, "password" : null, "isdpDeviceId" : "rerererr--1", "channelId" : null, "deviceAlarmStatus" : null, "deviceManageState" : "", "deviceSubType" : null, "sort" : null, "sortBy" : null, "autoJoin" : "Y", "battery" : null, "ownnerName" : null, "ownnerId" : null, "deviceGbUsername" : null, "deviceGbPassword" : null, "buOrgId" : 830, "deviceUserId" : null, "deviceUserName" : null, "longitude" : null, "latitude" : null, "coordType" : null, "buOrgName" : "杨凌作业系统测试", "storageTotal" : null, "storageRemain" : null, "onlineDuration" : null, "groupName" : null, "enableEndSide" : "Y", "updateDeviceType" : true, "networkType" : null, "systemVersion" : null, "applicationVersionName" : null, "applicationVersionCode" : null, "enableVideoRecording" : "Y", "deleteFlag" : 0, "functionCode" : null, "functionAutho" : null, "ivsLoginAccount" : null, "ivsLoginPsw" : null, "isPlayNode" : 0, "ivsLoginUrl" : null, "parentDeviceId" : null, "integrationPlatform" : null, "subDeviceTotal" : 0, "activeType" : false, "orgId" : null, "orgPath" : "-1.830", "userId" : null, "searchType" : 0, "domainCode" : null, "stateChangeReason" : null, "stateChangeReasonCode" : null, "deviceStateBefore" : null, "cloudRecords" : null, "chatJid" : null, "chatId" : null, "liveChannelId" : null, "startTime" : null, "endTime" : null, "status" : 0, "exportExcel" : null, "customerOrgName" : "", "customerOrgCode" : "", "orgIdList" : null, "groupId" : null, "lastReportTime" : null, "reportTime" : null, "reportType" : false, "createState" : null, "filter" : null, "helmetFilter" : null, "platFilter" : null, "webcam" : false }, "timestamp" : "2022-09-06T18:10:18.883+0800" }
  • 请求参数 参数 类型 是否必填 描述 deviceId String 是 设备编号,请输入数字、英文、_、#等字符 获取设备编号API请参见:摄像头列表查询(好望云平台)(API名称:getDeviceList) isdpDeviceId String 是 isdp唯一设备ID 获取isdp唯一设备ID API请参见:摄像头列表查询(好望云平台)(API名称:getDeviceList) deviceName String 是 设备名称,请输入数字、中文、英文、_、-等字符 deviceAddress String 否 设备位置信息 projectName String 否 项目名称 projectNumber String 否 项目编码 model String 否 model deviceType Long 是 设备类型 可选值WEBCAM/MONITOR_BALL/BODY_WORN_CAMERA/INTELLIGENT_SAFETY_HELMET/INTELLIGENT_MINER_L IGHT/MOBILE/IVS1800/IVS3800 多个以英文逗号分隔,不传默认查询所有 deviceManageState String 否 设备管理状态 可选值NoActivation/ ACTIVATION,不传默认空 deviceSubType String 否 设备子类型 manufacture String 否 制造商 description String 否 描述 deviceAddressNumber String 否 设备位置编码 autoJoin String 是 是否主动接入视频 可选值Y或者N,Y标识开启,N标识不开启 enableEndSide String 是 是否开启边缘AI 可选值Y或者N,Y标识开启,N标识不开启 enableVideoRecording String 是 是否开启视频录制 可选值Y或者N,Y标识开启,N标识不开启 ownnerId Long 否 设备责任人Id deviceUserId Long 否 设备使用人Id customerOrgName String 否 使用区域名称 customerOrgCode String 否 使用区域编码 buOrgId Long 是 组织Id buOrgName String 是 组织名称
  • 响应参数 参数 类型 描述 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 存储总计 deviceTypeName String 设备类型名称 tenantId Long 租户Id
  • 相关API 接口名称 调用说明 获取Token 调用该接口获取到Token,再调用其他接口时,需要在请求消息头中添加“Authorization”,其值即为Token。 获取设备列表 调用该接口获取设备编号和isdp唯一设备ID。 修改设备时,需要输入设备编号和isdp唯一设备ID。 获取设备信息 调用该接口查询设备信息。 添加设备 调用该接口添加设备。 删除设备 调用该接口删除设备。 保存设备模板 调用该接口保存设备模板。
  • 请求示例 { "paramList": [ { "bonusVal": "3", "userId": 153169, "adminOrganization":25245, "bonusTermId":5243, "bonusTimestamp":1694170922000 } ], "submitterAccount": "12312341234" }
  • 响应示例 { "status": "success", "msg": null, "data": [ { "appName": "basedata-server", "createdBy": 1, "creationDate": "2021-01-16T03:16:54.000+00:00", "deleteFlag": 0, "entityName": "indelligentGroup", "groupPath": null, "lastUpdateDate": "2021-01-16T03:16:54.000+00:00", "lastUpdatedBy": 1, "level": 1, "objectGroupId": 1, "objectGroupName": "通用", "objectGroupNameEnUs": "Universals", "sort": 1, "tenantId": 1 }, { "appName": null, "createdBy": -1, "creationDate": "2021-02-27T08:24:52.000+00:00", "deleteFlag": 0, "entityName": "intelligentGroup", "groupPath": null, "lastUpdateDate": "2021-02-27T08:24:52.000+00:00", "lastUpdatedBy": -1, "level": 1, "objectGroupId": 50313, "objectGroupName": "电力行业", "objectGroupNameEnUs": "ElectricPower", "sort": 2 }, { "appName": null, "createdBy": -1, "creationDate": "2023-02-09T03:44:17.000+00:00", "deleteFlag": 0, "entityName": "intelligentGroup", "groupPath": null, "lastUpdateDate": "2023-02-09T03:44:17.000+00:00", "lastUpdatedBy": -1, "level": 1, "objectGroupId": 51568, "objectGroupName": "个体消费者", "objectGroupNameEnUs": null, "sort": 3 } ], "success": true, "failed": false }
  • 响应示例 { "stateCode": "0", "errorMessage": "success", "result": { "pos": 0, "totalCount": 2, "data": [ { "majorRatio": "18%", "importantRatio": "22%", "minorRatio": "28%", "detail": [ { "orgId": "123", "orgName": "org123", "ratio": "90%" }, { "orgId": "124", "orgName": "org124", "ratio": "80%" } ] } ] } }
  • 请求示例 { "date": "2022-06-11", "dateType": "week", "period": 7, "sceneName": "巡检", "orgIdList": ["123", "124"], "queryType": 0, "pageStart": 0, "pageSize": 15 }
  • 响应示例 { "stateCode": "0", "errorMessage": "success", "result": { "pos": 0, "totalCount": 7, "data": [ { "index": 0, "startDate": "2022-06-06", "endDate": "2022-06-11", "taskNum": 10 }, { "index": 1, "startDate": "2022-05-30", "endDate": "2022-06-05", "taskNum": 20 } ] } }
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": { "customerTaskId": "1667986503488", "subTaskOrNot": 0, "procedureOrNot": 1, "ticketId": 0, "tenantId": 1463, "sceneMode": 3, "reviewRuleId": null, "isApplyApprove": 0, "reviewRuleName": "", "licenseSwitch": null, "status": 1, "deleteFlag": 0, "submitBy": 1823, "submitName": "superman", "submitDate": 1667986531707, "creationDate": 1667986531987, "creationTimestamp": 1667986531707, "createName": "张三", "createdBy": 1957, "lastUpdateTimestamp": 1667986531707, "lastUpdateDate": 1667986531987, "lastUpdateName": "张三", "lastUpdatedBy": 1957, "schedulerTimestamp": 1667986531707, "schedulerDate": 1667986531707, "operationTimestamp": 1667986531707, "signInConfig": null, "schedulerName": "OpenApi", "schedulerBy": -1, "entityName": "SceneTask", "sceneTaskId": 5005759, "appName": "isdp-task-server", "affectedRows": 1 } }
  • 请求示例 { "customerTaskId": 1667986503488, "taskName": "1667986503734lwc测试", "signSiteName": "", "creatorAccount": "17791717398", "sceneName": "新建工序-测试", "projectNo": "", "assignedUserType": 1, "assignedUser": "13229474258", "reviewRuleName": "", "beginTimestamp": "", "endTimestamp": "", "requiredStartTime": "", "requiredEndTime": "", "taskRemark": "", "priority": "", "jobDuration": "", "projectDuration": "", "schedulingMode": "", "administrativeDivisionName": "1508098844233300", "address": "", "skill": "", "customerName": "", "supplierName": "", "taskExtendList": [], "toolSet": [ { "toolNo": "T003", "toolName": "子任务2-工序1", "toolLocation": { "x": 100, "y": 200 } } ], "procedureList": [ { "modeOrder": "1", "collectionReviewName": "", "toolSet": [ { "toolNo": "T003", "toolName": "子任务2-工序1", "toolLocation": { "x": 100, "y": 200 } } ] } ] }
  • 相关接口 接口名称 调用说明 获取Token 调用该接口获取到Token,再调用其他接口时,需要在请求消息头中添加“Authorization”,其值即为Token。 查询任务场景 调用该接口获取到任务场景的场景名称。 创建任务时,需要输入获取到的场景名称。 查询租户下用户信息(API名称:getPersonListByTenant) 调用该接口获取执行人。 创建任务时,任务模式为“启用子任务”时,需要输入获取到执行人;其他任务模式“执行人”为空则提交后为“待调度”状态,“执行人”填写后提交为“待执行”或“任务申请待审批”状态。 查询父任务 创建任务后,可以调用该接口查询创建的任务。
  • 响应参数 参数 类型 描述 stateCode String 响应状态码:0-成功;其他-失败 errorMessage String 响应描述 result Object 响应结果内容data、分页数据 data出参: 参数 类型 描述 customerTaskId String 客户任务ID taskId Long 创建成功的任务id status Integer 返回状态:0-成功;1-失败 message String 返回的失败消息。
  • 响应示例 { "data":[ { "customerCode":"AAA1", "customerName":"AAAAA2", "tenantId":1008611, " customerId ":1008611, "customerGroupName":"TEST", "customerGroupCode":"TX" }, { "customerCode":"AAAAA", "customerName":"AAAAAB", "tenantId":1008611, "customerId":1008611, "customerGroupName":"TEST", "customerGroupCode":"TX" } ], "pos":0, "total_count":2, "entityName":null, "totalCount":2 }
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": { "data": [ { "sceneTaskId": 1836272, "taskName": "openapi_批量创建zhang4个子任务_有一个无配置关系修改", "sceneName": "zhang4个子任务_有一个无配置关系", "adminOrganization": "52479", "adminOrganizationName": "新版本测试租户1029", "signSiteId": null, "signSiteCode": null, "signSiteName": null, "beginTimestamp": null, "endTimestamp": null, "jobDuration": null, "status": 0, "customerTaskId": "20qe333", "isApplyApprove": 0, "actualBeginTime": null, "actualEndTime": null, "processFeedback": null, "reviewRuleName": "", "reviewRuleId": null, "isAppraisal": null, "excutor": [ { "sceneTaskId": 1836272, "taskType": 1, "userId": 101277, "userInfoId": 3875284, "userName": "改名张小玲", "userType": 1 } ], "subTaskList": [ { "sceneTaskId": 363088, "taskName": "子任务11", "taskId": 1836272, "status": 0, "signSiteId": null, "signSiteCode": null, "signSiteName": "", "beginTimestamp": null, "endTimestamp": null, "actualBeginTime": null, "actualEndTime": null, "processFeedback": null, "jobDuration": null, "excutor": [ { "sceneTaskId": 363088, "taskType": 2, "userId": 101277, "userInfoId": 3875294, "userName": "改名张小玲", "userType": 1 } ], "taskExtend": null, "preModeNames": null }, { "sceneTaskId": 363089, "taskName": "子任务22", "taskId": 1836272, "status": 0, "signSiteId": null, "signSiteCode": null, "signSiteName": "", "beginTimestamp": null, "endTimestamp": null, "actualBeginTime": null, "actualEndTime": null, "processFeedback": null, "jobDuration": null, "excutor": [ { "sceneTaskId": 363089, "taskType": 2, "userId": 101277, "userInfoId": 3875295, "userName": "改名张小玲", "userType": 1 } ], "taskExtend": null, "preModeNames": "子任务11,子任务44" }, { "sceneTaskId": 363090, "taskName": "子任务33", "taskId": 1836272, "status": 0, "signSiteId": null, "signSiteCode": null, "signSiteName": "", "beginTimestamp": null, "endTimestamp": null, "actualBeginTime": null, "actualEndTime": null, "processFeedback": null, "jobDuration": null, "excutor": [ { "sceneTaskId": 363090, "taskType": 2, "userId": 101277, "userInfoId": 3875296, "userName": "改名张小玲", "userType": 1 } ], "taskExtend": null, "preModeNames": "子任务11" }, { "sceneTaskId": 363091, "taskName": "子任务44", "taskId": 1836272, "status": 0, "signSiteId": null, "signSiteCode": null, "signSiteName": "", "beginTimestamp": null, "endTimestamp": null, "actualBeginTime": null, "actualEndTime": null, "processFeedback": null, "jobDuration": null, "excutor": [ { "sceneTaskId": 363091, "taskType": 2, "userId": 101277, "userInfoId": 3875297, "userName": "改名张小玲", "userType": 1 } ], "taskExtend": null, "preModeNames": null } ], "taskExtend": null } ], "pos": 0, "total_count": 1, "entityName": null, "totalCount": 1 } }
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": [ { "id": 2709, "category": 1, "parentExtendId": 0, "fieldName": "长文本有值", "fieldStatus": 1, "fieldIsNecessary": 1, "fieldOrder": 1, "fieldValue": "", "fieldDefaultValue": "12345678902345678901234567890123456789012123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012312345678901234567890123456789012345678901212345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890345678901456789034567890", "scopeList": [ 1, 2 ], "fieldCode": "UDF15", "fieldType": 1, "enumList": [ ] }, { "id": 247643, "category": 1, "parentExtendId": 0, "fieldName": "短文本", "fieldStatus": 1, "fieldIsNecessary": 2, "fieldOrder": 40, "fieldValue": "", "fieldDefaultValue": "12345678901234567890123456789012345678901234567890", "scopeList": [ 2, 1 ], "fieldCode": "UDF40", "fieldType": 20, "enumList": [ ] } ] }
  • 响应参数 参数 类型 描述 stateCode String 响应状态码:0-成功;其他-失败。 errorMessage String 响应描述,错误提示。 result Object 响应数据,任务、子任务执行阶段的扩展属性信息。 result字段说明: 参数 类型 描述 sceneTaskId Long 任务ID。 taskName String 任务名称。 signSiteId Long 任务作业对象ID。 signSiteCode String 任务作业对象编码。 signSiteName String 任务作业对象名称。 taskExtend List 任务扩展属性。 adminOrganizationName String 组织单元名称。 adminOrganization String 组织单元ID。
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": { "subTaskList": [ { "sceneTaskId": 5010371, "taskName": "1_20230202_114945", "taskId": 5064801, "signSiteId": null, "signSiteCode": "", "signSiteName": "", "sceneModeCode": "5000995", "actualBeginTime": 1675310951240, "actualEndTime": null, "taskExtend": [ { "sceneTaskId": 5010371, "minValue": "1", "extendName": "子任务测试属性4", "stage": "2", "unitName": null, "maxValue": "50", "precision": null, "extendValue": null, "fieldOrder": "13", "udfName": "UDF13", "extendType": "7", "isNecessary": "2" }, { "sceneTaskId": 5010371, "minValue": "1", "extendName": "子任务测试属性4", "stage": "2", "unitName": null, "maxValue": "50", "precision": null, "extendValue": null, "fieldOrder": "13", "udfName": "UDF13", "extendType": "7", "isNecessary": "2" } ] } ], "sceneTaskId": 5064801, "signSiteCode": null, "adminOrganizationName": "1508098844233300", "sceneId": 5001917, "taskExtend": [], "signSiteName": null, "taskName": "测试父子任务执行扩展属性_20230202_114945", "adminOrganization": "1543" } }
  • 请求参数 参数 类型 是否必填 描述 sceneTaskId Long 是 父任务ID。 subTaskIdList Object 否 子任务ID集合。 subTaskList中Object对象字段说明: 参数 类型 描述 sceneTaskId Long 子任务ID。 taskName String 子任务名称。 actualBeginTime Long 子任务实际开始时间。 actualEndTime Long 子任务实际完成时间。 signSiteId Long 子任务作业对象ID。 signSiteCode String 子任务作业对象编码。 signSiteName String 子任务作业对象名称。 taskExtend List 任务/子任务扩展属性。 sceneModeCode String 任务场景子任务关联标识。 taskExtend字段说明: 参数 类型 描述 sceneTaskId Long 任务/子任务id。 extendName String 子任务扩展属性名称。 stage Integer 子任务扩展属性所属阶段1:创建;2:执行。 unitName String 单位。 maxValue String 最大值(示例:“99”表示最大值允许为99)。 minValue String 最小值(示例:“1”表示最小值允许为1)。 precision String 精度(示例:“2”表示小数点后保留几位有效数据)。 fieldOrder Integer 子任务扩展属性顺序。 extendValue String 扩展属性值。 udfName String 扩展属性编码。 extendType Integer 扩展属性类型(1:长文本;2:枚举;3:多枚举;4:日期;5:时间;6:整数;7:小数;20:短文本)。 isNecessary Integer 扩展属性是否必填(1:必填;2:不必填)。 备注:最大值maxValue、最小值minValue、精度precision是只有在extendType是6/7(整数或小数类型)中使用。
  • 请求示例 { "date": "2022-06-11", "dateType": "week", "period": 7, "sceneName": "巡检", "orgIdList": ["123", "124"], "queryType": 0, "sortBy": 0, "pageStart": 0, "pageSize": 15 }
  • 响应示例 { "stateCode": "0", "errorMessage": "success", "result": { "pos": 0, "totalCount": 2, "data": [ { "orgId": "123", "orgName": "org123", "taskNum": 100 }, { "orgId": "124", "orgName": "org124", "taskNum": 80 } ] } }
  • 响应示例 { "status": "success", "msg": null, "data": { "data": [{ "customerGroupId": -1, "lastUpdatedBy": 1, "supplierId": -1, "address": "******", "appName": "pub-cs", "lastUpdateDate": "2020-04-24 15:23:23", "customerClassify": null, "description": null, "customerCode": "tes1t", "telephone": "******", "creationDate": "2020-04-24 15:23:20", "customerName": "-1", "deleteFlag": null, "buOrgId": null, "customerOrgCode": "1", "createdBy": 1, "entityName": "customer", "contact": null, "tenantId": 1, "customerId": -1 }, { "customerGroupId": null, "lastUpdatedBy": -1, "supplierId": null, "address": "******", "appName": "pub-server", "lastUpdateDate": "2021-02-22 23:01:16", "customerClassify": "", "description": "API Testing", "customerCode": "1013.1844785653699", "telephone": "******", "creationDate": "2021-01-21 16:13:21", "customerName": "1013.1844785653699", "deleteFlag": null, "buOrgId": null, "customerOrgCode": "", "createdBy": -1, "entityName": "customer", "contact": "", "tenantId": 1, "customerId": 31062 } , {"customerGroupId": null, "lastUpdatedBy": -1, "supplierId": null, "address": "******",…}, {"customerGroupId": null, "lastUpdatedBy": -1, "supplierId": null, "address": "******",…}, {"customerGroupId": null, "lastUpdatedBy": -1, "supplierId": null, "address": "******",…} ], "pos": 0, "total_count": 238, "entityName": null } }
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": [ { "configId": 19578, "parentConfigId": 19578, "checkBusiType": "", "kindLevel": 1, "kindName": "ssss22222jmeter86330818", "kindScene": "UDF8" }, { "configId": 19575, "parentConfigId": 19575, "checkBusiType": "", "kindLevel": 1, "kindName": "zhangsan1", "kindScene": "UDF8" }, { "configId": 19472, "parentConfigId": 19472, "checkBusiType": "", "kindLevel": 1, "kindName": "测试类别314343", "kindScene": "UDF8" }, { "configId": 19481, "parentConfigId": 19481, "checkBusiType": "", "kindLevel": 1, "kindName": "ceshi23232", "kindScene": "UDF8" }, { "configId": 19471, "parentConfigId": 19471, "checkBusiType": "", "kindLevel": 1, "kindName": "ssss3333", "kindScene": "UDF8" }, { "configId": 19468, "parentConfigId": 19468, "checkBusiType": "", "kindLevel": 1, "kindName": "测试类别3343dd", "kindScene": "UDF8" }, { "configId": 19467, "parentConfigId": 19467, "checkBusiType": "", "kindLevel": 1, "kindName": "ssss11111111111", "kindScene": "UDF8" }, { "configId": 18674, "parentConfigId": 18674, "checkBusiType": "", "kindLevel": 1, "kindName": "隐患类型1--01", "kindScene": "UDF8" }, { "configId": 18385, "parentConfigId": 18385, "checkBusiType": "", "kindLevel": 1, "kindName": "123123", "kindScene": "UDF8" }, { "configId": 18383, "parentConfigId": 18383, "checkBusiType": "", "kindLevel": 1, "kindName": "123123", "kindScene": "UDF8" }, { "configId": 18380, "parentConfigId": 18380, "checkBusiType": "", "kindLevel": 1, "kindName": "问题123", "kindScene": "UDF8" }, { "configId": 18369, "parentConfigId": 18369, "checkBusiType": "", "kindLevel": 1, "kindName": "测试接口的jmeter370753989", "kindScene": "UDF8" }, { "configId": 18367, "parentConfigId": 18367, "checkBusiType": "", "kindLevel": 1, "kindName": "测试接口的jmeter316262594", "kindScene": "UDF8" }, { "configId": 18366, "parentConfigId": 18366, "checkBusiType": "", "kindLevel": 1, "kindName": "测试接口的jmeter324417380", "kindScene": "UDF8" }, { "configId": 18363, "parentConfigId": 18363, "checkBusiType": "", "kindLevel": 1, "kindName": "测试接口的jmeter517694229", "kindScene": "UDF8" }, { "configId": 18356, "parentConfigId": 18356, "checkBusiType": "", "kindLevel": 1, "kindName": "测试接口的", "kindScene": "UDF8" }, { "configId": 18343, "parentConfigId": 18343, "checkBusiType": "", "kindLevel": 1, "kindName": "隐患类型1", "kindScene": "UDF8" }, { "configId": 18330, "parentConfigId": 18330, "checkBusiType": "", "kindLevel": 1, "kindName": "测试类别000", "kindScene": "UDF8" } ] }
  • 请求示例 { "taskList": [ { "taskId": 3248221, "taskType": 1, "planBeginTimestamp": 1680552244000, "planEndTimestamp": 1682787661000 }, { "taskId": 1973411, "taskType": 2, "planBeginTimestamp": 1680552244000, "planEndTimestamp": 1681063322000 }, { "taskId": 1973412, "taskType": 2, "planBeginTimestamp": 1680552244000, "planEndTimestamp": 1681063322000 } ] }
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": [ { "taskId": 3248221, "taskType": 1, "planBeginTimestamp": 1680552244000, "planEndTimestamp": 1682787661000 }, { "taskId": 1973411, "taskType": 2, "planBeginTimestamp": 1680552244000, "planEndTimestamp": 1681063322000 }, { "taskId": 1973412, "taskType": 2, "planBeginTimestamp": 1680552244000, "planEndTimestamp": 1681063322000 } ] }
  • 请求示例 { "deviceType" : "主设备1231312312313", "deviceInfo" : [{ "fieldName" : "设备类型", "fieldType" : 1, "fieldValue" : "123" },{ "fieldName" : "设备编码", "fieldType" : 1, "fieldValue" : "0909test1" }, { "fieldName" : "设备名称", "fieldType" : 1, "fieldValue" : "0909test1" },{ "fieldName" : "设备状态", "fieldType" : 1, "fieldValue" : "正常" }, { "fieldName" : "设备品牌2222", "fieldType" : 1, "fieldValue" : "123" }, { "fieldName" : "资产编号", "fieldType" : 1, "fieldValue" : "123" }, { "fieldName" : "工作状态", "fieldType" : 1, "fieldValue" : "运行" }, { "fieldName" : "责任人", "fieldType" : 1, "fieldValue" : "圈圈" }, { "fieldName" : "启用日期", "fieldType" : 4, "fieldValue" : "2022-09-09" }, { "fieldName" : "出厂日期", "fieldType" : 4, "fieldValue" : "2022-09-09" }, { "fieldName" : "供应商名称", "fieldType" : 1, "fieldValue" : "0816test" }, { "fieldName" : "客户名称", "fieldType" : 1, "fieldValue" : "" }, { "fieldName" : "设备数量", "fieldType" : 8, "fieldValue" : 13 },{ "fieldName" : "计量单位", "fieldType" : 1, "fieldValue" : "台" }, { "fieldName" : "采购单价", "fieldType" : 8, "fieldValue" : 1 }, { "fieldName" : "货币", "fieldType" : 1, "fieldValue" : "元" },{ "fieldName" : "技术参数", "fieldType" : 7, "fieldValue" : "123" }, { "fieldName" : "图片", "fieldType" : 1, "fieldValue" : "123" }, { "fieldName" : "技术资料1", "fieldType" : 1, "fieldValue" : "123" }, { "fieldName" : "水电费232232", "fieldType" : 1, "fieldValue" : "123" }, { "fieldName" : "234234", "fieldType" : 3, "fieldValue" : "枚举值01" }, { "fieldName" : "区域位置", "fieldType" : 1, "fieldValue" : "" }, { "fieldName" : "文本666", "fieldType" : 1, "fieldValue" : "123" },{ "fieldName" : "测试", "fieldType" : 1, "fieldValue" : "123" },{ "fieldName" : "测试123123", "fieldType" : 7, "fieldValue" : "123" } ] }
共100000条