查询问题详情(API名称:getModelByIssueId)
功能介绍
用于查询问题详细内容的接口,可查询到问题日志,问题风险列表,问题检查人/监督人/验收人列表
相关接口
URL
请求方式 |
HTTPS地址 |
服务架构 |
消息体类型 |
---|---|---|---|
POST |
https://isdp+域名/openapi/v1/openIssue/getModelByIssueId |
OpenAPI |
application/json |
请求头
KEY |
VALUE |
是否必填 |
描述 |
---|---|---|---|
Content-Type |
application/json |
是 |
无 |
Authorization |
bearer ${access_token} |
是 |
bearer +“ ”+5.2.1中获取的access_token的值 |
请求参数
参数 |
类型 |
是否必填 |
描述 |
---|---|---|---|
issueInstance |
String |
是 |
问题实例,1 隐患,0 问题 |
issueId |
Long |
是 |
问题ID |
响应参数
参数 |
类型 |
描述 |
---|---|---|
stateCode |
String |
响应状态码:0-成功;其他-失败 |
errorMessage |
String |
响应描述,错误提示 |
result |
Object |
问题类型 |
issueId |
Long |
问题ID |
udf1-udf20 |
- |
问题创建扩展属性 |
handlingAttachmentList |
List |
问题处理附件 |
basicAttachmentList |
List |
问题创建附件 |
issueLogList |
List |
问题日志 |
riskList |
List |
问题风险列表 |
checkUserList |
List |
问题检查人列表 |
supervisedUserList |
List |
问题监督人列表 |
acceptanceUserList |
List |
问题验收人列表 |
请求示例
{"issueId":306189,"issueInstance":"1"}
响应示例
{ "stateCode": "0", "errorMessage": null, "result": { "issueId": 306189, "templateId": null, "kcpId": null, "kcpName": null, "itemId": null, "itemName": null, "signSiteId": 98908817, "signSiteCode": "jmeter440225166+1", "signSiteName": "jmeter440225166+1", "code": "Issue20220614157690", "status": 2, "issueLevel": 0, "accountableParty": null, "ehsViolatorId": null, "ehsViolatorName": null, "issueSource": "5", "creatorWorkUnit": null, "issueHandlerId": "467848;", "issueHandlerName": "呵呵;", "dueTimestamp": null, "creatorDescribe": "嘿嘿dddd${number}", "handlerFeedback": null, "issueRemark": "ddddddddd", "creatorResult": null, "creationTimestamp": 1655190872659, "issueType": "dfdfdfdererere", "issueTypeCode": "UDF8", "issueKind": null, "taskType": null, "tenantId": 886, "createdBy": 25773, "createName": "霍XX原lichao", "region": "中国->XX省->XX市", "dealDate": null, "dealTimestamp": null, "closeDate": null, "closeTimestamp": null, "closeBy": null, "closeName": null, "createSupplierName": "XX供应商", "issueHandlerSupplierName": "--", "lastUpdatedBy": 25773, "lastUpdateName": "霍XX原lichao", "lastUpdateDate": null, "liveId": null, "customerTaskId": null, "isdpDeviceId": null, "deviceName": null, "deviceType": null, "deviceNo": null, "deviceUserName": null, "adminOrganization": "830", "adminOrganizationName": "XX作业系统测试❤", "sceneTaskId": null, "deleteFlag": 0, "userGroup": null, "userGroupName": null, "userInfoId": null, "department": "833", "departmentName": null, "regionName": "XX市", "regionId": 151881, "regionPath": "58982,126553,151881", "issueInstance": "1", "udf1": "", "udf2": "", "udf3": "12345678011234567890123456789012345678901234567123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890890", "udf4": "1650852785000", "udf5": "", "udf6": "1650816000000", "udf7": null, "udf8": null, "udf9": null, "udf10": "测试 "udf11": null, "udf12": null, "udf13": "12345689012345678901234567890123456789012345617890", "udf14": "", "udf15": null, "udf16": null, "udf17": "", "udf18": null, "udf19": null, "udf20": "", "city": null, "province": null, "country": null, "projectNo": null, "adminRegion": null, "adminRegionName": null, "taskSheetType": null, "taskId": null, "taskName": null, "sourceType": null, "sceneTaskName": null, "checkSceneTaskId": null, "assignedUserName": null, "slaStatus": 1, "taskBusiType": null, "assists": [], "handleList": [], "handleMeasure": [], "createdByUserInfo": "[{\"personName\":\"霍XX原lichao\",\"supplierName\":\"XX供应商\",\"phone\":\"188******00\"}]", "handlerUserInfo": "[{\"personName\":\"霍XX原lichao\",\"supplierName\":\"XX供应商\",\"phone\":\"188******00\"}]", "notCloseUserInfo": "", "closeUserInfo": "", "lastUpdatedUserInfo": "[{\"personName\":\"霍XX原lichao\",\"supplierName\":\"XX供应商\",\"phone\":\"188******00\"}]", "issueHandlerUserInfo": "[{\"personName\":\"呵呵\",\"supplierName\":null,\"phone\":\"156******80\"}]", "basicAttachmentList": [ { "appName": "isdp-qc-server", "conferenceId": null, "createdBy": 25773, "createName": "霍XX原lichao", "creationDate": null, "creationTimestamp": 1655190873037, "deleteFlag": 0, "entityName": "IssueAttachment", "feedBackId": null, "fileId": 6525907, "fileName": "变更日志.xlsx", "fileSource": 1, "fileType": "xlsx", "id": 40498, "issueId": 306189, "lastUpdateDate": null, "lastUpdatedBy": 25773, "lastUpdateName": "霍XX原lichao", "lastUpdateTimestamp": 1655190873037, "tenantId": 886, "thumbnailsId": null, "waterMarkId": null, "waterMarkInfo": null } ], "handlingAttachmentList": [], "sceneTaskList": [], "sceneTaskMap": {}, "issueLogList": [ { "issueLogId": 566787, "issueId": 306189, "operateStatus": 0, "remark": "嘿嘿dddd${number}", "issueHandlerId": "467848;", "issueHandlerName": "呵呵;", "creationDate": "2022-06-14 15:14:33", "creationTimestamp": 1655190873227, "createdBy": 25773, "createName": "霍XX原lichao", "lastUpdateDate": "2022-06-14 15:14:33", "lastUpdatedBy": 25773 }, { "issueLogId": 566788, "issueId": 306189, "operateStatus": 1, "remark": null, "issueHandlerId": "467848;", "issueHandlerName": "呵呵;", "creationDate": "2022-06-14 15:14:33", "creationTimestamp": 1655190873227, "createdBy": 25773, "createName": "霍XX原lichao", "lastUpdateDate": "2022-06-14 15:14:33", "lastUpdatedBy": 25773 } ], "regionPathName": "中国>XX省>XX市" } } }
状态码
状态码请参见状态码。
错误码
错误码请参见错误码。