华为云用户手册

  • 请求示例 { "submitterAccount": "fc0001", "sceneTaskId": 5064801, "processFeedback": "", "completeTimestamp": "", "saveDraft": "0", "taskExtendField": {}, "subTaskList": [ { "sceneTaskId": 5010371, "processFeedback": "123", "completeTimestamp": "", "taskExtendField": { "sceneTaskId": 5010371, "taskType": 2, "parentTaskId": 5064801, "stage": 2, "udf12": 11, "udf13": 22 } } ] }
  • 请求参数 参数 类型 是否必填 描述 submitterAccount String 是 提交人。 sceneTaskId Long 是 任务ID。 processFeedback String 否 反馈进展。 completeTimestamp String 否 完成时间。 saveDraft String 是 保存/提交。 1:保存 2:提交 taskExtendField Object 否 父任务扩展属性。 没有扩展属性时填写空对象 subTaskList List 否 子任务信息。 subTaskList字段说明: 参数 类型 描述 sceneTaskId Long 子任务ID。 processFeedback String 子任务进展反馈信息。 completeTimestamp String 子任务实际完成时间。 taskExtendField Object 子任务扩展信息。 taskExtendField字段说明: 参数 类型 描述 sceneTaskId Long 任务/子任务id。 stage Integer 子任务扩展属性所属阶段。 1:创建 2:执行 parentTaskId Long 父任务id。 udf1-udf40 String 扩展属性信息(扩展属性信息是从对应的场景中获取的)。 taskType Integer 任务类型。 1:父任务 2:子任务
  • 响应示例 { "data":[ { "supplierCode":"AAA1", "supplierName":"AAAAA2", "tenantId":1008611, "supplierId":1008611, "supplierGroupName":"TEST", "supplierGroupCode":"TX" }, { "supplierCode":"AAAAA", "supplierName":"AAAAAB", "tenantId":1008611, "supplierId":1008612, "supplierGroupName":"TEST", "supplierGroupCode":"TX" } ], "pos":0, "total_count":2, "entityName":null, "totalCount":2 }
  • 请求参数 参数 类型 是否必填 描述 po.supplierCode String 否 供应商编码,支持右模糊查询。 po.supplierName String 否 供应商名称,支持右模糊查询。 po.supplierGroupName String 否 供应商分组名称,支持右模糊。 isMatch Boolean 否 是否模糊搜索。 page.start Integer 是 分页起始下标。 page.count Integer 是 每页数。
  • 请求参数 参数 类型 是否必填 描述 personList Array 是 人员列表 personList字段说明 参数 类型 是否必填 描述 personCode String 是 人员编码 personName String 是 人员名称 personType String 是 人员类型 personStatus String 是 人员状态 orgNo Long 是 组织编码 phone String 否 手机号码 customerCode String 否 客户编码 supplierCode String 否 供应商编码 positionCode String 否 岗位编码 roleNo String 否 角色编码
  • 请求示例 { "personList": [ { "orgNo": "robin_test", "personCode": "testAAACC", "personName": "test AAA CC", "personStatus": "NoAccountOpened", "personType": "Employee", "roleNo": "test Role1,robin_test_func", "positionCode": "test012,robin_test_postion_01", "udfExtend1": "AAA" } ] }
  • 响应参数 参数 类型 描述 stateCode String 响应编码:0-成功;其他-失败 errorMessage String 错误信息 result Object 响应数据 taskId Long 检查单ID taskName String 检查单名称 taskSheetType Integer 检查单类型 adminOrganization String 组织管理单元 adminOrganizationName String 组织管理单元 adminRegion String 行政区划 adminRegionName String 行政区划名称 agentName String 坐席名称 agentId Long 坐席ID assignedUserId String 执行人 assignedUserName String 执行人名称 chatJID Long 视频通道ID city String 城市 cityId Long 城市Id collectionReviewName String 采集审批人 country String 国家 countryId Long 国家Id createdBy Long 创建人 createdName String 创建人名称 creationDate Date 创建时间 creationTimestamp Long 创建时间戳 currentReviewerId Long 检查单审批人 currentReviewerName String 简单审批人名称 deletionReason String 删除原因 deleteFlag Integer 删除标志 deliveryScene String 交付场景 endTimestamp Long 结束时间戳 firstCollectionTime Long 首次采集时间 firstCommitter String 首次采集人 firstMatchAgentTimetamp Long 首次匹配坐席时间戳 firstSubmitTime Long 首次提交时间 invitedUserId String 邀请人员 isAppraisal Integer 检查单是否需要评审 isVideoAcceptance Integer 是否视频验收(1:是;0:否) lastCollectionTime Long 最后采集时间 lastSubmitTime Long 最后提交时间 planEndDate Date 计划开始时间 productType String 产品类型 projectName String 项目名称 projectNo String 项目编码 province String 省份 provinceId Long 省份Id sceneTaskId Long 任务id sceneTaskName String 任务名称 sourceType Integer 源类型 signSiteId Long 作业对象ID signSiteName String 作业对象名称 signSiteCode String 作业对象编码 status Integer 检查单状态 statusApprove Integer 审批状态 statusCollection Integer 采集状态 supplierName String 供应商名称 templateCode String 模板编码 templateId Long 模板ID templateName String 模板名称 udf1- udf1 String 扩展属性 userGroup Long 执行人群主 userGroupName String 执行人群组名称
  • 相关接口 接口名称 调用说明 获取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
  • 请求示例 { "dataSource": 3, "createList": [ { "fieldName": "新增文本", "fieldType": "20", "fieldValue": "", "fieldDefaultValue": "", "fieldStatus": 1, "fieldIsNecessary": 2, "childModelList": [ ], "fieldOrder": 5, "dataSource": 3 } ], "updateList": [ { "attributeId": 5497, "fieldLevel": 1, "fieldName": "问题实例1修改", "fieldCode": "udf4", "fieldType": 3, "fieldStatus": 1, "fieldIsNecessary": 2, "fieldOrder": 4, "fieldValue": "枚举值一;枚举值二", "dataSourceInstance": "0", "fieldDefaultValue": "枚举值一", "issueInstance": "1", "childModelList": [ { "attributeId": 5779, "parentAttributeId": 5497, "fieldCode": null, "fieldValue": "枚举值一", "fieldOrder": 1 }, { "attributeId": 5780, "parentAttributeId": 5497, "fieldCode": null, "fieldValue": "枚举值二", "fieldOrder": 2 } ] } ], "issueInstance": "1" }
  • 请求参数 参数 类型 是否必填 描述 dataSource Interger 是 数据来源(1-问题创建扩展配置,2-问题处理扩展配置 3-问题关闭属性) issueInstance String 是 问题实例,1 隐患,0 问题 createList Object 否 新增属性 updateList Object 否 修改属性 createList和updateList对象属性: 参数 类型 是否必填 描述 attributeId Long 是 扩展属性的主键ID(修改时使用) dataSource Integer 是 1-问题创建扩展配置,2-问题处理扩展配置 3-关闭属性 fieldLevel Integer 是 字段层级 fieldName String 否 自定义字段名称长度不能超过50个字符 fieldType Integer 是 字段类型 1-长文本;2-枚举;3-多枚举;4-日期;5-时间 20-文本 fieldStatus Integer 是 1-可用, 2-停用 fieldIsNecessary Integer 是 是否必填(1-必填, 2-其它) fieldOrder Integer 是 序号 fieldValue String 是 属性值 fieldCode String 是 字段编码 fieldDefaultValue String 否 默认值 issueInstance String 否 问题实例 childModelList Object 否 多枚举的枚举值(子级) fieldValue 检举值 fieldOrder 序号
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": { "createList": [ { "dataSource": 3, "parentAttributeId": 0, "fieldLevel": 1, "fieldName": "新增文本", "fieldType": 20, "fieldStatus": 1, "fieldIsNecessary": 2, "fieldOrder": 5, "fieldDefaultValue": "", "fieldCode": "udf5", "dataSourceInstance": "0", "deleteFlag": 0, "tenantId": 1463, "createName": "1", "creationDate": "2022-06-18T13:00:34.508+00:00", "creationTimestamp": 1655557234494, "createdBy": 1953, "lastUpdatedBy": 1953, "lastUpdateName": " 1", "lastUpdateDate": "2022-06-18T13:00:34.508+00:00", "lastUpdateTimestamp": 1655557234494, "entityName": "attributeConf", "attributeId": 5781, "appName": "isdp-qc-server", "affectedRows": 1, "childModelList": [] } ], "updateList": [ { "attributeId": 5497, "fieldName": "问题实例1修改", "fieldType": 3, "fieldStatus": 1, "fieldIsNecessary": 2, "fieldOrder": 4, "fieldDefaultValue": "枚举值一", "dataSource": 3, "lastUpdatedBy": 1953, "lastUpdateDate": "2022-06-18T13:00:34.485+00:00", "lastUpdateTimestamp": 1655557234485, "lastUpdateName": " 1", "entityName": "attributeConf", "affectedRows": 1 } ] } }
  • 请求示例 { "ticketId": "", "baseWorkTicketModel": { "sceneId": 99124, "sceneCode": "周XX-0302", "adminOrganization": "830", "adminOrganizationName": "XX作业系统测试", "ticketName": "周XX-0302", "ticketCode": "", "beginTimestamp": "", "endTimestamp": 1647273599000, "ticketRemark": "任务描述", "workUserPICList": [ { "userId": 25773, "userName": "霍XX原lichao", "userType": 1 } ], "reviewList": [ { "reviewerId": 378817, "reviewerName": "周XX", "reviewLevel": 1, "isOnlineReview": 0, "reviewerType": "Admin", "id": 74758, "revieweMode": 0, "isEleSign": 0, "remark": "" }, { "reviewerId": 25804, "reviewerName": "刘XX", "reviewLevel": 2, "isOnlineReview": 0, "reviewerType": "Admin", "id": 74759, "revieweMode": 0, "isEleSign": 0, "remark": "" } ], "reviewRuleId": 35676, "reviewRuleName": "周XX-测试审批流", "processType": 0 }, "attributeWorkTicketList": [ { "id": "", "extendName": "文本", "udfName": "UDF1", "isNecessary": 1, "fieldOrder": 1, "extendType": 1, "extendValue": "文本" }, { "id": "", "extendName": "枚举必填", "udfName": "UDF2", "isNecessary": 1, "fieldOrder": 2, "extendType": 2, "extendValue": "222" }, { "id": "", "extendName": "多枚举", "udfName": "UDF3", "isNecessary": 1, "fieldOrder": 3, "extendType": 3, "extendValue": "aaa;bbb" } ], "submitForReview": "Y" }
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": { "sceneId": 99124, "sceneCode": "PS20220302113005046", "ticketName": "周XX-0302", "ticketCode": "SaasTenant886_20220314_031964", "adminOrganization": "830", "adminOrganizationName": "XX作业系统测试", "ticketRemark": "任务描述", "beginTimestamp": null, "endTimestamp": 1647273599000, "ticketPhaseCount": 3, "ticketCurrentPhaseOrder": 1, "deleteFlag": 0, "tenantId": 886, "createdBy": 390841, "createName": "zdrun-test", "creationDate": "2022-03-14T02:30:39.892+00:00", "creationTimestamp": 1647225039861, "lastUpdatedBy": 390841, "lastUpdateName": "zdrun-test", "lastUpdateDate": "2022-03-14T02:30:39.892+00:00", "lastUpdateTimestamp": 1647225039861, "entityName": "workTicket", "ticketId": 88671, "appName": "isdp-task-server", "affectedRows": 1, "assignedUserId": "25773", "assignedUserName": "霍XX原lichao", "attributeModelList": [ { "ticketId": 88671, "sceneTaskId": 0, "extendName": "文本", "extendType": 1, "extendValue": "文本", "udfName": "UDF1", "fieldOrder": 1, "isNecessary": 1, "dataSource": 1, "deleteFlag": 0, "tenantId": 886, "lastUpdateDate": "2022-03-14T02:30:39.953+00:00", "lastUpdateTimestamp": 1647225039925, "lastUpdatedBy": 390841, "lastUpdateName": "zdrun-test", "creationDate": "2022-03-14T02:30:39.953+00:00", "creationTimestamp": 1647225039925, "createdBy": 390841, "createName": "zdrun-test", "entityName": "TaskAttribute", "id": 324680, "appName": "isdp-task-server", "affectedRows": -2 }, { "ticketId": 88671, "sceneTaskId": 0, "extendName": "枚举必填", "extendType": 2, "extendValue": "222", "udfName": "UDF2", "fieldOrder": 2, "isNecessary": 1, "dataSource": 1, "deleteFlag": 0, "tenantId": 886, "lastUpdateDate": "2022-03-14T02:30:39.954+00:00", "lastUpdateTimestamp": 1647225039925, "lastUpdatedBy": 390841, "lastUpdateName": "zdrun-test", "creationDate": "2022-03-14T02:30:39.954+00:00", "creationTimestamp": 1647225039925, "createdBy": 390841, "createName": "zdrun-test", "entityName": "TaskAttribute", "id": 324681, "appName": "isdp-task-server", "affectedRows": -2 }, { "ticketId": 88671, "sceneTaskId": 0, "extendName": "多枚举", "extendType": 3, "extendValue": "aaa;bbb", "udfName": "UDF3", "fieldOrder": 3, "isNecessary": 1, "dataSource": 1, "deleteFlag": 0, "tenantId": 886, "lastUpdateDate": "2022-03-14T02:30:39.954+00:00", "lastUpdateTimestamp": 1647225039925, "lastUpdatedBy": 390841, "lastUpdateName": "zdrun-test", "creationDate": "2022-03-14T02:30:39.954+00:00", "creationTimestamp": 1647225039925, "createdBy": 390841, "createName": "zdrun-test", "entityName": "TaskAttribute", "id": 324682, "appName": "isdp-task-server", "affectedRows": -2 } ], "ticketPhaseList": [ { "ticketId": 88671, "ticketPhaseName": "阶段1", "ticketPhaseOrder": 1, "ticketPhaseStatus": 1, "isRejected": 0, "templateCode": "QC2022XXXXXXXXXXXXX", "templateId": 221760, "reviewSwitch": 1, "reviewRuleId": 35676, "sceneInitialStatus": 1084, "sceneReviewStatus": 1170, "sceneSumbmitStatus": 1085, "ticketPhaseCode": "50412", "deleteFlag": 0, "tenantId": 886, "createdBy": 390841, "createName": "zdrun-test", "creationDate": "2022-03-14T02:30:39.980+00:00", "creationTimestamp": 1647225039959, "lastUpdatedBy": 390841, "lastUpdateName": "zdrun-test", "lastUpdateDate": "2022-03-14T02:30:39.980+00:00", "lastUpdateTimestamp": 1647225039959, "initialSystemStatusCode": "1", "initialStatus": 1084, "entityName": "workTicketPhase", "ticketPhaseId": 239405, "appName": "isdp-task-server", "affectedRows": 1, "checkOrderId": 5762624, "checkOrderType": 1, "checkBusiType": "许可01" }, { "ticketId": 88671, "ticketPhaseName": "阶段2", "ticketPhaseOrder": 2, "ticketPhaseStatus": 1, "isRejected": 0, "templateCode": "QC2022XXXXXXXXXXXXX", "templateId": 221760, "reviewSwitch": 0, "reviewRuleId": null, "sceneInitialStatus": 1170, "sceneReviewStatus": null, "sceneSumbmitStatus": 1086, "ticketPhaseCode": "50413", "deleteFlag": 0, "tenantId": 886, "createdBy": 390841, "createName": "zdrun-test", "creationDate": "2022-03-14T02:30:39.980+00:00", "creationTimestamp": 1647225039959, "lastUpdatedBy": 390841, "lastUpdateName": "zdrun-test", "lastUpdateDate": "2022-03-14T02:30:39.980+00:00", "lastUpdateTimestamp": 1647225039959, "initialSystemStatusCode": "1", "initialStatus": 1170, "entityName": "workTicketPhase", "ticketPhaseId": 239406, "appName": "isdp-task-server", "affectedRows": -2, "checkOrderId": 5762625, "checkOrderType": 1, "checkBusiType": "许可01" }, { "ticketId": 88671, "ticketPhaseName": "阶段3", "ticketPhaseOrder": 3, "ticketPhaseStatus": 1, "isRejected": 0, "templateCode": "QC2022XXXXXXXXXXXXX", "templateId": 221760, "reviewSwitch": 0, "reviewRuleId": null, "sceneInitialStatus": 1086, "sceneReviewStatus": null, "sceneSumbmitStatus": 1088, "ticketPhaseCode": "50414", "deleteFlag": 0, "tenantId": 886, "createdBy": 390841, "createName": "zdrun-test", "creationDate": "2022-03-14T02:30:39.980+00:00", "creationTimestamp": 1647225039959, "lastUpdatedBy": 390841, "lastUpdateName": "zdrun-test", "lastUpdateDate": "2022-03-14T02:30:39.980+00:00", "lastUpdateTimestamp": 1647225039959, "initialSystemStatusCode": "2", "initialStatus": 1086, "entityName": "workTicketPhase", "ticketPhaseId": 239407, "appName": "isdp-task-server", "affectedRows": -2, "checkOrderId": 5762626, "checkOrderType": 1, "checkBusiType": "许可01" } ], "currentPhase": { "ticketId": 88671, "ticketPhaseName": "阶段1", "ticketPhaseOrder": 1, "ticketPhaseStatus": 1, "isRejected": 0, "templateCode": "QC2022XXXXXXXXXXXXX", "templateId": 221760, "reviewSwitch": 1, "reviewRuleId": 35676, "sceneInitialStatus": 1084, "sceneReviewStatus": 1170, "sceneSumbmitStatus": 1085, "ticketPhaseCode": "50412", "deleteFlag": 0, "tenantId": 886, "createdBy": 390841, "createName": "zdrun-test", "creationDate": "2022-03-14T02:30:39.980+00:00", "creationTimestamp": 1647225039959, "lastUpdatedBy": 390841, "lastUpdateName": "zdrun-test", "lastUpdateDate": "2022-03-14T02:30:39.980+00:00", "lastUpdateTimestamp": 1647225039959, "initialSystemStatusCode": "1", "initialStatus": 1084, "entityName": "workTicketPhase", "ticketPhaseId": 239405, "appName": "isdp-task-server", "affectedRows": 1, "checkOrderId": 5762624, "checkOrderType": 1, "checkBusiType": "许可01" }, "ticketCurrentPhaseId": 239405, "licenseSysStatus": "1", "licenseBusiStatus": 1084, "reviewRuleResult": { "reviewList": [ { "reviewerId": 378817, "reviewerName": "周??", "reviewLevel": 1, "reviewerType": "Admin", "revieweMode": 0, "isEleSign": 0, "remark": "", "isOnlineReview": 0, "deleteFlag": null }, { "reviewerId": 25804, "reviewerName": "刘XX", "reviewLevel": 2, "reviewerType": "Admin", "revieweMode": 0, "isEleSign": 0, "remark": "", "isOnlineReview": 0, "deleteFlag": null } ], "reviewRuleId": 35676 } } }
  • 响应参数 参数 类型 描述 stateCode int 返回状态,0-正常;其他-异常 errorMessage String 错误消息描述 result Object 列表详细数据 result出参: 参数 类型 描述 adminOrganizationName String 组织单元名名称 ticketRemark String 许可备注 deleteFlag Int 删除标识:0-否;1-是 ticketPhaseCount Int 许可阶段数量 sceneCode String 场景编码 sceneId Long 场景id ticketCurrentPhaseOrder Int 当前阶段序号 licenseSysStatus Long 系统阶段id ticketCode String 许可编码 ticketCurrentPhaseId Long 当前阶段id licenseBusiStatus Long 许可业务状态id adminOrganization Long 组织单元id ticketId Long 许可id ticketName String 许可名称 beginTimestamp Long 计划开始时间戳 endTimestamp Long 计划结束时间戳 assignedUserId Long 执行人id assignedUserName String 执行人姓名 ticketPhaseList List 许可阶段列表 currentPhase Object 当前阶段 attributeModelList List 拓展属性列表 reviewRuleResult Object 审批列表对象 ticketPhaseList、currentPhase出参: 参数 类型 描述 checkBusiType Int 检查单业务类型 checkOrderId Long 检查单id checkOrderType Int 工作票阶段生成的检查单类型(0:EHS;1:质量检查;2:巡检) isRejected Int 是否已驳回(0-否;1-是) reviewSwitch Int 是否启用审批开关(1-是 0-否) sceneInitialStatus Long 初始状态 sceneSumbmitStatus Long 提交状态 submitUserName String 提交人姓名 templateCode String 模板编码 templateId Long 模板id ticketId Long 许可id ticketPhaseCode String 阶段编码 ticketPhaseId Long 阶段id ticketPhaseName String 阶段名称 ticketPhaseOrder Int 阶段修好 ticketPhaseStatus Int 许可单阶段状态(1-初始状态,待执行 2-阶段执行中(审批翻转)3-待评审 4-阶段完成) attributeModelList出参: 参数 类型 描述 ticketId Long 许可单主键id sceneTaskId Long 任务ID,没有则为0 fieldOrder Int 字段排序 extendName String 拓展属性名称 extendType Int 拓展属性类型 extendValue String 拓展属性的值 fieldOrder Int 拓展属性序号 udfName String Udf的名称 isNecessary Int 是否必填:0-否;1-是 dataSource Int 采集数来源(1:SYS 2:APP) reviewRuleResult出参: 参数 类型 描述 reviewList List 审批列表 reviewRuleId Long 审批流id reviewList出参: 参数 类型 描述 reviewerId Long 审批人员id reviewerName String 审批人姓名 reviewLevel Int 审批层级 reviewerType Int 审批人类型 revieweMode Int 审批模式(0-单签,1-会签)
  • 请求参数 参数 类型 是否必填 描述 ticketId Long 否 许可单id(修改时必填) submitForReview String 是 是否提交(Y-是;N-否) baseWorkTicketModel Object 是 许可基础数据 attributeWorkTicketList List 否 拓展字段列表 baseWorkTicketModel入参: 参数 类型 是否必填 描述 sceneId Long 是 场景id sceneCode String 否 场景编码 adminOrganization Long 否 组织单元id adminOrganizationName String 否 组织单元名称 ticketName String 是 许可单名称 ticketCode String 否 许可单编码,可按规则生成 beginTimestamp Long 否 计划开始时间(时间戳) endTimestamp Long 否 计划结束时间(时间戳) ticketRemark String 否 许可单备注信息 workUserPICList List 是 工作负责人列表 reviewRuleId Long 否 审批流id reviewRuleName String 否 审批流名称 reviewList List 否 审批流列表 workUserPICList入参: 参数 类型 是否必填 描述 userId Long 否 用户id userName String 否 用户名称 userType Int 否 用户类型:1-个人;2-群组 reviewList入参: 参数 类型 是否必填 描述 reviewerId Long 否 审批人id reviewerName String 否 审批人姓名 reviewLevel Int 否 审批人层级 isOnlineReview Int 否 是否抽样审批:0-否;1-是 attributeWorkTicketList入参: 参数 类型 是否必填 描述 extendName String 否 拓展属性名称 udfName String 否 Udf名称 fieldOrder Int 否 字段排序 extendType Int 否 扩展字段类型(1:文本;2:枚举;3:多枚举;4:日期;5:时间) extendValue String 否 拓展属性值
  • 响应参数 参数 类型 描述 deviceId String 设备ID deviceName String 设备名称 deviceType String 设备类型 ivsLoginUrl String 设备登陆URl ivsLoginAccount String 设备登陆账号 buOrgId Long 组织Id buOrgName String 组织名称 projectNumber String 项目编码 projectNanme String 项目名称
  • 响应示例 { "status": 1, "message": "SUC CES S", "error": null, "data":{ "data":[ { "deviceId": "IVS20220520185125035", "deviceType": "IVS1800", "deviceName": "dianli0615", "ivsLoginUrl": "10.91.172.64:18531", "ivsLoginAccount": "{saas-cipher-1}jhPFxPJVukMOn9sADorF3r4/sgpDRs8togMLe5LpAeM2bGDn4wU=", "subDeviceTotal": 2, "buOrgId": 830, "buOrgName": "杨凌作业系统测试", "projectNumber": "defaultProject", "projectName": "默认项目" } ], "pos": 0, "total_count": 1, "entityName": null, "totalCount": 1 }, "timestamp": "2022-05-20T20:39:57.306+0800" }
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": { "data": [ { "agentCode": "0e626733-07d8-45af-af23-aff287b118b8", "productType": null, "deliveryScene": null, "businessType": null, "agentAccount": "111111111", "agentName": "111111111", "type": "0", "areaName": "", "appName": "isdp-qc-server", "entityName": "agent", "cityId": null, "createName": "小七", "lastUpdateName": "小七", "agentId": 17813, "tenantId": 886, "userId": 307457, "createdBy": 277881, "lastUpdatedBy": 277881, "creationTimestamp": 1616486693402, "lastUpdateTimestamp": 1616486693402, "onlineStatus": 1, "isArea": 0, "deleteFlag": 0, "capacity": 1, "creationDate": "2021-03-23T08:04:54.000+00:00", "lastUpdateDate": "2021-03-23T08:05:32.000+00:00", } ], "pos": 0, "total_count": 340, "entityName": null, }, }
  • 响应示例 { "stateCode": "100", "errorMessage": "调用成功,正常返回数据", "result": { "adminOrganizationName": "XX作业系统测试", "lastUpdateDate": "2022-03-09T09:05:12.000+00:00", "taskList": [], "ticketRemark": "", "deleteFlag": 0, "lastUpdateTimestamp": 1646816704963, "ticketPhaseCount": 3, "sceneCode": "PS20220302113005046", "entityName": "workTicket", "ticketPhaseList": [ { "appName": "isdp-task-server", "checkBusiType": "许可01", "checkOrderId": 5734515, "checkOrderType": 1, "createdBy": 519119, "createName": "wsd", "creationDate": "2022-03-09T09:05:06.000+00:00", "creationTimestamp": 1646816706941, "deleteFlag": 0, "entityName": "workTicketPhase", "isRejected": 0, "lastUpdateDate": "2022-03-09T09:05:10.000+00:00", "lastUpdatedBy": 519119, "lastUpdateName": "wsd", "lastUpdateTimestamp": 1646816706941, "reviewSwitch": 0, "sceneInitialStatus": 1084, "sceneSumbmitStatus": 1085, "submitUserName": null, "templateCode": "QC2022XXXXXXXXXXXXX", "templateId": 221760, "tenantId": 886, "ticketId": 79462, "ticketPhaseCode": "50399", "ticketPhaseId": 211778, "ticketPhaseName": "阶段1", " ": 1, "ticketPhaseStatus": 1 } ], "creationTimestamp": 1646816704963, "sceneId": 99028, "ticketCurrentPhaseOrder": 1, "licenseSysStatus": "1", "executorList": [ { "appName": "isdp-task-server", "createdBy": 519119, "createName": "wsd", "creationDate": "2022-03-09T09:05:06.000+00:00", "creationTimestamp": 1646816705993, "deleteFlag": 0, "entityName": "IsdpTaskUserInfo", "id": 2044825, "lastUpdateDate": "2022-03-09T09:05:06.000+00:00", "lastUpdatedBy": 519119, "lastUpdateName": "wsd", "lastUpdateTimestamp": 1646816705993, "remark": null, "sceneTaskId": 0, "tenantId": 886, "ticketId": 79462, "ticketPhaseId": 0, "userId": 25804, "userName": "刘XX", "userType": 1 } ], "ticketCode": "SaasTenant886_20220309_022989", "lastUpdatedBy": 519119, "appName": "isdp-task-server", "taskAttributeList": [ { "id": 296999, "extendName": "文本", "extendType": 1, "extendValue": "1212", "fieldOrder": 1, "udfName": "UDF1", "isNecessary": 1 } ], "creationDate": "2022-03-09T09:05:05.000+00:00", "deleteReason": null, "createdBy": 519119, "ticketCurrentPhaseId": 211778, "licenseBusiStatus": 1084, "tenantId": 886, "adminOrganization": "830", "lastUpdateName": "wsd", "approverList": [], "createName": "wsd", "ticketId": 79462, "ticketName": "周XX-0302" } }
  • 响应参数 参数 类型 描述 stateCode int 返回状态,0-正常;其他-异常 errorMessage String 错误消息描述 result Object 列表详细数据 result出参: 参数 类型 描述 adminOrganizationName String 组织单元名名称 ticketRemark String 许可备注 deleteFlag Int 删除标识:0-否;1-是 ticketPhaseCount Int 许可阶段数量 sceneCode String 场景编码 sceneId Long 场景id ticketCurrentPhaseOrder Int 当前阶段序号 licenseSysStatus Long 系统阶段id ticketCode String 许可编码 ticketCurrentPhaseId Long 当前阶段id licenseBusiStatus Long 许可业务状态id adminOrganization Long 组织单元id ticketId Long 许可id ticketName String 许可名称 ticketPhaseList List 许可阶段列表 executorList List 执行人列表 taskAttributeList List 拓展属性列表 ticketPhaseList出参: 参数 类型 描述 checkBusiType Int 检查单业务类型 checkOrderId Long 检查单id checkOrderType Int 工作票阶段生成的检查单类型(0:EHS;1:质量检查;2:巡检) isRejected Int 是否已驳回(0-否;1-是) reviewSwitch Int 是否启用审批开关(1-是 0-否) sceneInitialStatus Long 初始状态 sceneSumbmitStatus Long 提交状态 submitUserName String 提交人姓名 templateCode String 模板编码 templateId Long 模板id ticketId Long 许可id ticketPhaseCode String 阶段编码 ticketPhaseId Long 阶段id ticketPhaseName String 阶段名称 ticketPhaseOrder Int 阶段修好 ticketPhaseStatus Int 许可单阶段状态(1-初始状态,待执行 2-阶段执行中(审批翻转)3-待评审 4-阶段完成) executorList出参: 参数 类型 描述 ticketId Long 许可id userId Long 用户id userName String 用户名称 userType Int 用户类型 taskAttributeList出参: 参数 类型 描述 id Long 拓展属性id extendName String 拓展属性名称 extendType Int 拓展属性类型 extendValue String 拓展属性的值 fieldOrder Int 拓展属性序号 udfName String Udf的名称 isNecessary Int 是否必填(0-否;1-是)
  • 响应示例 { "stateCode": "0", "errorMessage": "query success", "result": { "data": [ { "taskId": 123456, "projectCode": "123-my project", "customerTaskId": 23456, "businessType": "巡检1", "code": "ISSUE-2141", "signSiteCode": "作业对象编码", "signSiteName": "作业对象名称", "adminRegionName": "中国-XX-XX", "issueType": "质检任务", "creatorDescribe": "问题描述", "issueLevel": 1, "accountableParty": "0", "kcpName": "KCP1", "itemName": "ITEM1", "issueSource": "1", "createdBy": "liuyue", "creatorWorkUnit": "供应商单位", "issueHandler": "张三;李四", "confirmedBy": "王五", "creationDate": "2020-09-01 10:00:00", "dealDate": "2020-09-01 10:00:00", "closedTime": "2020-09-01 10:00:00", "handlerFeedback": "进展反馈内容", "outPutMessages": [ { "outPutName": "输出项名称1", "outPutId": 123456789, "outPutType": "文本", "isNecessary": 1, "outputValue": "输出项文本内容", } ], } ], "pos": 0, "total_count": 1, }, }
  • 请求示例 { "issueId": 71551, "handlerFeedback": "dddddddddd", "issueInstance": "0", "thirdUrl": "http://www.baidu.com", "operUserId": 46633, "operUserName": "ttest", "issueAttachmentList": [ { "fileId": 7491600, "fileName": "122223.png" } ] }
  • 请求参数 参数 类型 是否必填 描述 issueInstance String 是 问题实例,1 隐患,0 问题 issueId Long 是 问题id handlerFeedback String 是 原因 operUserId Long 是 操作人UserID operUserName String 是 操作人UserName thirdUrl String 是 待办地址 issueAttachmentList List 否 问题附件 issueAttachmentList 中object对象字段说明 参数 类型 是否必填 描述 fileId Long 是 文件id fileName String 是 文件名称
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": { "issueId": 71551, "lastUpdateBy": 516892, "lastUpdateName": "fc-test", "lastUpdateDate": "2023-03-24 10:49:27", "status": 3, "slaStatus": 1, "dealDate": "2023-03-24 10:49:27", "dealTimestamp": 1679626167469, "issueInstance": "0", "lastUpdatedBy": 516892, "entityName": "taskIssue", "affectedRows": 1, "url": null, "thirdUrl": "http://www.baidu.com", "operUserId": 46633, "operUserName": "ttest", "handlerFeedback": "申请关闭" } }
  • 响应参数 参数 类型 描述 stateCode String 响应状态码:0-成功;其他-失败 errorMessage String 响应描述,错误提示 result Object 响应数据 issueId String 问题ID operateStatus String 操作类型(0-创建问题,1-转移处理人,2-问题反馈,3-关闭问题,4-删除问题,5-问题驳回,6-指派协同人,7处理人接受,8处理人驳回,9协同人接受,10协同人驳回,11协同人关闭,12创建人撤回,13处理人撤回,14,创建人反馈) remark String 操作备注 issueHandlerId String 处理人ID issueHandlerName String 处理人名称 creationDate Date 创建时间 creationTimestamp Date 创建时间戳 createdBy String 创建人ID createName String 创建人名称
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": [ { "issueLogId": 1525, "issueId": 1201, "operateStatus": 0, "remark": "fsadf", "issueHandlerId": "1823", "issueHandlerName": "龙XX", "creationDate": "2020-08-15T17:11:35.000+00:00", "creationTimestamp": 1597511495676, "createdBy": 1823, "createName": "龙XX", "lastUpdateDate": "2020-08-15T17:11:35.000+00:00", "lastUpdatedBy": 1823 } ] }
  • 响应示例 { "data":[ { "supplierCode":"AAA1", "supplierName":"AAAAA2", "tenantId":1008611, "supplierGroupName":"TEST", "supplierGroupCode":"TX" }, { "supplierCode":"AAAAA", "supplierName":"AAAAAB", "tenantId":1008611, "supplierGroupName":"TEST", "supplierGroupCode":"TX" } ], "pos":0, "total_count":2, "entityName":null, "totalCount":2 }
  • 请求示例 { "deviceId": "device1230", "isdpDeviceId":"device1230--1", "deviceName": "1231234", "deviceAddress": "", "projectName": "发放", "model": "v2", "deviceType": "WEBCAM", "deviceManageState": "ACTIVATION", "manufacture": "hw", "description": "asdsad", "deviceAddressNumber": "", "projectNumber": "354653", "autoJoin": "Y" }
  • 响应示例 { "status": 1, "message": "SUCCESS", "error": null, "data":{ "deviceId": "device1230", "deviceName": "1231234", "deviceState": null, "deviceType": null, "description": "asdsad", "createTime": null, "updateTime": null, "accessProtocol": null, "manufacture": "hw", "channelTotal": 0, "streamTotal": 0, "deviceSystemState": null, "model": "v2", "firmware": null, "deviceAbility": null, "mac": null, "protocolVersion": null, "deviceIp": null, "devicePort": null, "tenantId": 0, "lastUpdatedBy": 0, "createdBy": 0, "projectNumber": "354653", "projectName": "发放", "deviceAddress": "", "deviceAddressNumber": "", "fileId": null, "sysType": null, "fileSize": null, "fileName": null, "fileExt": null, "webPlayUrl": null, "verificationCode": null, "password": null, "isdpDeviceId": "device1230--1", "channelId": null, "deviceAlarmStatus": null, "deviceManageState": "ACTIVATION", "deviceSubType": null, "sort": null, "sortBy": null, "autoJoin": "Y", "battery": null, "ownnerName": null, "ownnerId": null, "longitude": null, "latitude": null, "chatJid": null, "chatId": null, "liveChannelId": null, "createState": null, "filter": null, "helmetFilter": null, "platFilter": null }, "timestamp": "2020-12-30T13:51:57.316+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播放地址
共100000条