文档首页/ ISDP/ API参考/ API接口/ 问题管理/ 查询问题类别列表(API名称:getPageIssueConfig)
更新时间:2025-02-11 GMT+08:00
分享

查询问题类别列表(API名称:getPageIssueConfig)

功能介绍

可以用于查询问题类型,以列表内容的形式展示出来。

相关接口

接口名称

调用说明

获取Token

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

新增问题

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

URL

请求方式

HTTPS地址

服务架构

消息体类型

POST

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

OpenAPI

application/json

请求头

KEY

VALUE

是否必填

描述

Content-Type

application/json

是

无

Authorization

bearer ${access_token}

是

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

请求参数

参数

类型

是否必填

描述

issueInstance

String

是

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

page

Page

是

分页

page. start

Integer

是

分页页码

Page. count

Integer

是

每页多少条数据

configId

Long

否

问题类别ID

searchName

String

否

问题名称

响应参数

参数

类型

描述

stateCode

String

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

errorMessage

String

响应描述,错误提示

result

Object

问题类型列表

请求示例

{"page":{"start":0,"count":15},"configId":null,"searchName":"","issueInstance":"1"}

响应示例

{
 "stateCode": "0",
    "errorMessage": null,
    "result": {
        "data": [
            {
                "configId": 18330,
                "kindLevel": 1,
                "kindScene": "UDF8",
                "checkBusiType": "",
                "parentConfigId": 18330,
                "parentKindName": "测试类别000",
                "adminOrganization": null,
                "adminOrganizationName": null,
                "adminOrganizationPath": null,
                "orgIncludeChild": false
            },
            {
                "configId": 18331,
                "kindLevel": 2,
                "kindName": "测试类别111",
                "kindScene": "UDF8",
                "checkBusiType": "",
                "parentConfigId": 18330,
                "parentKindName": "测试类别000"
            },
            {
                "configId": 18333,
                "kindLevel": 2,
                "kindName": "测试类别111www",
                "kindScene": "UDF8",
                "checkBusiType": "",
                "parentConfigId": 18330,
                "parentKindName": "测试类别000"
            }
        ],
        "pos": 0,
        "total_count": 3,
        "entityName": null,
        "totalCount": 3
    }
}

状态码

状态码请参见状态码。

错误码

错误码请参见错误码。

相关文档