华为云用户手册

  • 响应示例 { "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(整数或小数类型)中使用。
  • 请求参数 参数 类型 是否必填 描述 issueInstance String 是 问题实例,1 隐患,0 问题 issueIdList List 是 问题id List issueHandlerId String 否 转派后执行人 issueHandlerName String 否 转派后执行名称 userGroup String 否 群组 remark String 是 转派原因 operUserId Long 是 操作人userId operUserName String 是 操作人userName thirdUrl String 否 待办URL
  • 请求示例 {"issueIdList":[306848],"remark":"ssss","issueHandlerId":"467848","issueHandlerName":"呵呵","userGroup":"","thirdUrl":"https://isdp-saas-sit.test.huawei.com/auth/#/login" , "operUserId": 467848,"operUserName":"呵呵"}
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": [ { "issueId": 306340, "issueHandlerId": "", "issueHandlerName": "", "issueHandlerSupplierName": "", "slaStatus": 1, "status": 2, "lastUpdateBy": 390841, "lastUpdateName": "zdrun-test", "lastUpdateDate": "2022-06-17 18:59:53", "userGroup": "", "userGroupName": "", "lastUpdatedBy": 390841, "entityName": "taskIssue", "affectedRows": 1 } ] }
  • 请求示例 { "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" } ] }
  • 相关接口 接口名称 调用说明 获取Token 调用该接口获取到Token,再调用其他接口时,需要在请求消息头中添加“Authorization”,其值即为Token。 鉴权方式创建oauth客户端认证凭据参考: https://support.huaweicloud.com/api-astrozero/astrozero_api_0010.html#section0 获取access_token参考 https://support.huaweicloud.com/api-astrozero/astrozero_api_0009.html 发送请求是需要添加header请求头(access-token) access-token: xxxxxxxxxxxxxxxxxxx
  • 响应参数 参数 类型 描述 result Object 响应消息体 errorMessage String 错误信息,接口错误时有值,正常调用时为空 stateCode String 响应状态 "0"成功 其他值失败 "100":接口参数为空 "101":设备Id为空 "102":指令类型不存在 "103":指令内容为空 "104":设备Id个数不能超过50 "105":设备Id:xx不正确 "106":指令内容长度超过255 result模板头信息Object对象说明 参数 类型 描述 instructionId Long 指令ID,一次只允许创建一个指令,指令会按照创建顺序依次执行。
  • 响应参数 参数 类型 描述 taskId int 任务Id taskCode String 任务编码 taskName String 任务名称 type int 业务类型 taskSheetType int 任务表单类型 status int 任务状态 statusCollection int 采集状态 reviewStatus int 审核状态 statusApprove int 评审状态 templateId int 模板Id templateCode String 模板编码 templateName String 模板名称 agentId int 坐席账号 agentName String 坐席名称 customerName String 客户名称 projectNo String 项目编码 projectName String 项目名称 signSiteId int 作业对象ID signSiteCode String 作业对象编码 signSiteName String 作业对象名称 signSiteType varchar(20) 作业对象类型 adminRegion String 行政区域 adminRegionName String 行政区域名字 adminOrganization String 行政组织 adminOrganizationName String 行政组织名字 reviewUserIdLevelOne int(2) 一级审批人ID reviewDateLevelOne bigint(20) 一级审批时间戳 reviewUserNameLevelOne varchar(200) 一级审批人名字 reviewStatusLevelOne int(2) 一级审批状态 reviewDescLevelOne longtext 一级审核意见 reviewUserIdLevelTwo int(2) 二级审批人ID reviewDateLevelTwo bigint(20) 二级审批时间戳 reviewUserNameLevelTwo varchar(200) 二级审批人名字 reviewStatusLevelTwo int(2) 二级审批状态 reviewDescLevelTwo longtext 二级审核意见 planBeginDate Date 计划开始时间 planEndDate Date 计划完成时间 assignedUserId varchar(1000) 执行人ID workType String 工作类型 partner String 合作单位 deleteFlag String 0有效的,1无效的 creationDate Date 创建时间 lastUpdateDate Date 最后更新时间 completesDate Date 完成时间 cancelsDate Date 取消时间 udf1 varchar(500) 产品类型 udf2 varchar(500) 业务场景 udf3 varchar(500) 作业类型 udf4 varchar(500) 作业内容 udf5 varchar(500) 工程服务方式 udf6 varchar(500) 作业备案 firstMatchAgentTimetamp bigint(20) 第一次匹配坐席时间 remarks varchar(100) 备注 supervisorInfo varchar(4000) 督导人员信息 towermanInfo varchar(4000) 塔工人员信息
  • 响应示例 { "stateCode":"0", "errorMessage":null, "result":{ "data":[{ "taskId":583755, "taskCode":"0ee33628-3a1e-43c2-9e4c-bc573e51297b", "taskName":"XX-XXXX;-SCT-XX站点", "type":"EHS", "taskSheetType":0, "status":2, "statusCollection":null, "reviewStatus":null, "statusApprove":null, "templateId":21135, "templateCode":"EHS20200827143227621", "templateName":"082701hhh", "agentId":7521, "agentName":"lichao", "customerName":"XXXX;", "projectNo":"SCT-01", "projectName":"SCT", "signSiteId":421051, "signSiteCode":"作业对象1234", "signSiteName":"XX作业对象", "adminRegion":null, "adminRegionName":null, "adminOrganization":null, "adminOrganizationName":null, "workType":null, "partner":null, "deleteFlag":0, "lastUpdateDate":"2020-09-11T04:24:21.000+0000", "udf1":null, "udf2":null, "udf3":null, "itemId":10, "objectId":"General EHS", "aiResult":1, "aiPhotoId":"76268", "manualResult":0, "remarks":null, "reviewDate":"2020-09-11T04:24:12.000+0000" }], "pos":0, "total_count":1920 } }
  • 请求参数 参数 类型 是否必填 描述 page.start int 必填 开始行数 page.count int 必填 每页总数 taskId int 否 任务ID pageTypeFlag String 否 区分分页方式 startTime String 否 开始时间 endTime String 否 结束时间 udf1 String 否 产品类型 udf3 String 否 作业类型 deleteFlag int 否 有效状态 dataFlag String 否 查询标识
  • 请求示例 {"image_base64": str(b64), "startFlag": "false", "object_list": [ {"object_id": "Tesla_intrusion_detection", "tenantId": 152454541, "deviceId": "hbgygtyfybg", "alarmsDuration": 10, "captureInterval": 5, "alarmsBorder": {"p1": [10, 10], "p2":[10, 200], "p3":[200, 200], "p4":[200, 20]}} ]}}
  • 响应示例 [{'result': 'Y', 'object_list': [{'object_id': 'Tesla_intrusion_detection', 'result': 'Y', 'num': None, 'remark_no': '', 'remark_en': '[reason0]检测到人员入侵。', 'remark_cn': '', 'detect_list': [{'similarity': '0.5614089965820312', 'category_name': 'person', 'category_type': '', 'lt_x': '0.0', 'lt_y': '35.0', 'rb_x': '175.0', 'rb_y': '232.0'}]}]}]
  • 请求参数 参数 类型 是否必填 描述 image_base64 String 是 待识别的图片转成的base64串。 object_list List 是 智能对象列表,以及智能对象的入参。 startFlag integer 否 是否从本张图片开始计时。 min integer 否 检测目标最小数量。 object_list说明: 参数 类型 是否必填 描述 object_id string 是 智能对象ID。详情请参见智能对象标识。 tenantId Long 否 租户ID。 captureInterval int 否 截帧频率(秒为单位)。 deviceId String 否 设备ID。 alarmsBorder dict 否 边框坐标。 alarmsDuration int 否 时长(分钟为单位)。
  • 响应参数 参数 类型 描述 result String 响应结果。图片是否通过。 Y:通过 N:不通过 object_list Object 响应数据。 object_list说明: 参数 类型 描述 object_id String 条目ID。 result String 条目是否通过。 Y:通过 N:不通过 num String 检测到的目标数量。 remark_no String 备注编号。 remark_en String 评审通过/不通过时对应说明。 remark_cn String 备注信息。 detect_list List 条目检测结果信息。 detect_list属性列表: 参数 类型 描述 similarity String 置信度。 lt_x String 左上角点横坐标。 lt_y String 左上角点纵坐标。 rb_x String 右下角点横坐标。 rb_y String 右下角点纵坐标。 category_name String 条目名称。
  • 响应示例 [ { "personId" : 183663, "personGroupId" : null, "blackList" : 0, "reason" : null, "profilePictureStatus" : "CollectionSucceeded", "profilePictureId" : "1325041", "personCode" : "test", "firstName" : null, "lastName" : null, "personName" : "test", "qualificationCode" : null, "personType" : "Admin", "tenantId" : 1, "description" : "", "phone" : "137****4826", "adminOrgId" : 502, "orgName" : "超级租户", "customerId" : null, "customerName" : null, "supplierId" : null, "supplierName" : null, "openAccount" : null, "account" : "", "headFileId" : null, "faceFileId" : null, "integrationAccount" : "jczh123", "status" : 0, "lastUpdatedBy" : -1, "lastUpdateDate" : 1631861495000, "personStatus" : "OpenAccount", "udfExtend1" : "1", "udfExtend2" : null, "udfExtend3" : null, "udfExtend4" : null, "udfExtend5" : null, "udfExtend6" : null, "isSmartDevice" : null, "userId" : 1859, "personPositionList" : [], "PersonPositionNameStr" : null, "personPositionCodeStr" : null } ]
共100000条