文档首页/ ISDP/ API参考/ API接口/ 问题管理/ 查询问题列表(API名称:queryIssueByPage)
更新时间:2024-01-18 GMT+08:00
分享

查询问题列表(API名称:queryIssueByPage)

功能介绍

问题查询需要用到的接口

相关接口

接口名称

调用说明

获取Token

调用该接口获取到Token,再调用其他接口时,需要在请求消息头中添加“Authorization”,其值即为Token。

新增问题单

需要有问题单才可以进行问题查询

URL

请求方式

HTTPS地址

服务架构

消息体类型

POST

https://isdp+域名/openapi/v1/openIssue/queryIssueByPage

OpenAPI

application/json

请求头

KEY

VALUE

是否必填

描述

Content-Type

application/json

Authorization

bearer ${access_token}

bearer +“ ”+5.2.1中获取的access_token的值

请求参数

参数

类型

是否必填

描述

issueInstance

String

问题实例,如:0 问题,1 隐患

page

Object

分页数据

page.start

int

分页起始行

page.count

int

分页大小

code

String

问题编码

queryType

String

查询类型(0:全部;1:草稿;2:处理中;3:待关闭;4:已关闭;5:待处理),多个类型用英文逗号分隔

issueTypeFather

String

问题大类

issueType

String

问题小类

issueLevel

int

问题级别

issueSource

String

问题来源

issueHandlerName

String

处理人名称

createdBy

String

创建人ID

adminOrganization

List<Object>

组织ID

signSiteId

String

作业对象ID

creatorDescribe

String

问题描述

sourceObjectIdList

List<String>

设备ID集合(单次查询最多支持100个设备ID);

响应参数

参数

类型

描述

stateCode

String

响应状态码:0-成功;其他-失败

errorMessage

String

响应描述,错误提示

result

Object

问题列表信息

result出参:

参数

类型

描述

data

List

问题列表

issueId

Long

问题ID

templateId

Long

模板ID

signSiteId

Long

作业对象ID

signSiteCode

String

作业对象编码

signSiteName

String

作业对象名称

code

String

编码

status

Integer

状态

issueLevel

Integer

问题级别

issueSource

Integer

数据源

issueHandlerId

String

问题处理人UserID

issueHandlerName

String

问题处理人名称

dueTimestamp

Long

问题计划完成时间

creatorDescribe

String

问题描述

creationTimestamp

Long

创建时间戳

issueType

String

问题类型

issueRemark

String

问题备注

issueTypeFather

String

问题大类

createdBy

Long

创建人ID

createName

String

创建人名称

region

String

行政区划

dealDate

Date

处理时间

dealTimestamp

Long

处理时间戳

closeDate

Date

关闭时间

closeTimestamp

Long

关闭时间搓

closeBy

Long

关闭人ID

closeName

Long

关闭人名称

adminOrganization

String

组织管理单元

adminOrganizationName

String

组织管理单元名称

sceneTaskId

Long

任务ID

taskType

Integer

任务类型

regionName

String

行政区划名称

issueInstance

String

实例对象

udf1- udf20

String

问题扩展属性

udf1Close—udf20Close

String

问题关闭阶段扩展属性

udf1Deal- udf20Deal

String

问题处理阶段扩展属性

taskId

Long

检查id

taskName

Long

检查单名称

sceneTaskName

String

任务名称

regionPath

String

行政区划路径

regionPathName

String

行政区划路径名称

country

String

国家

province

String

身份

city

String

城市

projectNo

String

项目编码

issueAttachmentList

List

附件

tenantId

Long

租户ID

请求示例

{
"page":{
                 "start":0,
                 "count":10
        },
        "queryType":"1,2",
        "sourceObjectIdList":["cXTM000000wRJDG3bVui"]
}

响应示例

{
    "stateCode": "0",
    "errorMessage": null,
    "result": {
        "data": [
            {
                "issueId": 325270,
                "templateId": null,
                "kcpId": null,
                "kcpName": null,
                "itemId": null,
                "itemName": null,
                "signSiteId": 98993634,
                "signSiteCode": "同步测试3",
                "signSiteName": "同步测试35",
                "accountableParty": null,
                "ehsViolatorId": null,
                "code": "Issue20220913167910",
                "status": 1,
                "issueLevel": 0,
                "ehsViolatorName": null,
                "issueSource": "5",
                "creatorWorkUnit": null,
                "issueHandlerId": null,
                "issueHandlerName": null,
                "dueTimestamp": 1665648668944,
                "creatorDescribe": "测试类别yqq",
                "handlerFeedback": null,
                "creatorResult": null,
                "creationTimestamp": 1663056749300,
                "issueType": "ssss11111",
                "issueTypeCode": "UDF8",
                "issueKind": null,
                "issueRemark": "",
                "tenantId": 886,
                "issueTypeFather": "ssss11111",
                "createdBy": 25804,
                "createName": "张三",
                "region": null,
                "dealDate": null,
                "dealTimestamp": null,
                "closeDate": null,
                "closeTimestamp": null,
                "closeBy": null,
                "closeName": null,
                "createSupplierName": null,
                "issueHandlerSupplierName": "--;--",
                "lastUpdatedBy": 25804,
                "lastUpdateName": "张三",
                "lastUpdateDate": "2022-09-13 16:12:30",
                "liveId": null,
                "deleteFlag": 0,
                "adminOrganization": "830",
                "adminOrganizationName": "xx作业系统测试",
                "sceneTaskId": null,
                "taskType": null,
                "slaStatus": 1,
                "userGroup": null,
                "userGroupName": null,
                "department": "830",
                "departmentName": "xx作业系统测试",
                "regionName": "纽约",
                "submitPending": 0,
                "regionId": 898021,
                "regionPath": "898017,898019,898021",
                "issueInstance": "0",
                "issueItemId": null,
                "udf1": "",
                "udf2": "",
                "udf4": "1650852785000",
                "udf5": "55511111",
                "udf6": "1650816000000",
                "udf7": null,
                "udf8": null,
                "udf9": null,
                "udf10": "建档立卡福建高考发多久",
                "udf11": "",
                "udf12": null,
                "udf13": "12345689012345678901234567890123456789012345617890",
                "udf14": "",
                "udf15": null,
                "udf16": null,
                "udf17": "789",
                "udf18": "",
                "udf19": null,
                "udf20": "",
                "udf1Close": null,
                "udf2Close": null,
                "udf3Close": null,
                "udf4Close": null,
                "udf5Close": null,
                "udf6Close": null,
                "udf7Close": null,
                "udf8Close": null,
                "udf9Close": null,
                "udf10Close": null,
                "udf11Close": null,
                "udf12Close": null,
                "udf13Close": null,
                "udf14Close": null,
                "udf15Close": null,
                "udf16Close": null,
                "udf17Close": null,
                "udf18Close": null,
                "udf19Close": null,
                "udf20Close": null,
                "udf1Deal": null,
                "udf2Deal": null,
                "udf3Deal": null,
                "udf4Deal": null,
                "udf5Deal": null,
                "udf6Deal": null,
                "udf7Deal": null,
                "udf8Deal": null,
                "udf9Deal": null,
                "udf10Deal": null,
                "udf11Deal": null,
                "udf12Deal": null,
                "udf13Deal": null,
                "udf14Deal": null,
                "udf15Deal": null,
                "udf16Deal": null,
                "udf17Deal": null,
                "udf18Deal": null,
                "udf19Deal": null,
                "udf20Deal": null,
                "taskId": null,
                "taskName": null,
                "city": null,
                "country": null,
                "province": null,
                "projectNo": null,
                "taskSheetType": null,
                "taskBusiType": null,
                "adminRegion": null,
                "adminRegionName": null,
                "sceneTaskName": null,
                "checkSceneTaskId": null,
                "sourceType": null,
                "regionPathName": "地球村>美国>纽约",
                "issueHandlerUserInfo": "",
                "lastUpdateTimestamp": 1663056750000,
                "issueAttachmentList": [],
                "relationSceneTaskName": ""
            },
            {
                "issueId": 324625,
                "templateId": null,
                "kcpId": null,
                "kcpName": null,
                "itemId": null,
                "itemName": null,
                "signSiteId": 98993634,
                "signSiteCode": "同步测试3",
                "signSiteName": "同步测试35",
                "accountableParty": null,
                "ehsViolatorId": null,
                "code": "Issue20220901094014",
                "status": 1,
                "issueLevel": 0,
                "ehsViolatorName": null,
                "issueSource": "5",
                "creatorWorkUnit": null,
                "issueHandlerId": "25804;",
                "issueHandlerName": "张三;",
                "dueTimestamp": 1664588341307,
                "creatorDescribe": "测试类别yqq",
                "handlerFeedback": null,
                "creatorResult": null,
                "creationTimestamp": 1661996379198,
                "issueType": "",
                "issueTypeCode": "UDF8",
                "issueKind": null,
                "issueRemark": "",
                "tenantId": 886,
                "issueTypeFather": "",
                "createdBy": 25804,
                "createName": "张三",
                "region": null,
                "dealDate": null,
                "dealTimestamp": null,
                "closeDate": null,
                "closeTimestamp": null,
                "closeBy": null,
                "closeName": null,
                "createSupplierName": null,
                "issueHandlerSupplierName": "--",
                "lastUpdatedBy": 25804,
                "lastUpdateName": "张三",
                "lastUpdateDate": "2022-09-01 09:40:39",
                "liveId": null,
                "deleteFlag": 0,
                "adminOrganization": "830",
                "adminOrganizationName": "xx作业系统测试",
                "sceneTaskId": null,
                "taskType": null,
                "slaStatus": 1,
                "userGroup": null,
                "userGroupName": null,
                "department": "",
                "departmentName": "",
                "regionName": "纽约",
                "submitPending": 0,
                "regionId": 898021,
                "regionPath": "898017,898019,898021",
                "issueInstance": "0",
                "issueItemId": null,
                "udf1": "",
                "udf2": "",
                "udf4": "1650852785000",
                "udf5": "",
                "udf6": "1650816000000",
                "udf7": null,
                "udf8": null,
                "udf9": null,
                "udf10": "建档立卡福建高考发多久",
                "udf11": "",
                "udf12": null,
                "udf13": "12345689012345678901234567890123456789012345617890",
                "udf14": "",
                "udf15": null,
                "udf16": null,
                "udf17": "789",
                "udf18": "",
                "udf19": null,
                "udf20": "",
                "udf1Close": null,
                "udf2Close": null,
                "udf3Close": null,
                "udf4Close": null,
                "udf5Close": null,
                "udf6Close": null,
                "udf7Close": null,
                "udf8Close": null,
                "udf9Close": null,
                "udf10Close": null,
                "udf11Close": null,
                "udf12Close": null,
                "udf13Close": null,
                "udf14Close": null,
                "udf15Close": null,
                "udf16Close": null,
                "udf17Close": null,
                "udf18Close": null,
                "udf19Close": null,
                "udf20Close": null,
                "udf1Deal": null,
                "udf2Deal": null,
                "udf3Deal": null,
                "udf4Deal": null,
                "udf5Deal": null,
                "udf6Deal": null,
                "udf7Deal": null,
                "udf8Deal": null,
                "udf9Deal": null,
                "udf10Deal": null,
                "udf11Deal": null,
                "udf12Deal": null,
                "udf13Deal": null,
                "udf14Deal": null,
                "udf15Deal": null,
                "udf16Deal": null,
                "udf17Deal": null,
                "udf18Deal": null,
                "udf19Deal": null,
                "udf20Deal": null,
                "taskId": null,
                "taskName": null,
                "city": null,
                "country": null,
                "province": null,
                "projectNo": null,
                "taskSheetType": null,
                "taskBusiType": null,
                "adminRegion": null,
                "adminRegionName": null,
                "sceneTaskName": null,
                "checkSceneTaskId": null,
                "sourceType": null,
                "regionPathName": "地球村>美国>纽约",
                "lastUpdateTimestamp": 1661996439000,
                "issueAttachmentList": [],
                "relationSceneTaskName": ""
            }
        ],
        "pos": 0,
        "total_count": 2,
        "entityName": null,
        "totalCount": 2
    }
}

状态码

状态码请参见状态码

错误码

错误码请参见错误码

相关文档