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

查询问题大类(API名称:getRootIssueConfig)

功能介绍

在问题处理中,如需要查询问题的大类即可使用该接口

相关接口

接口名称

调用说明

获取Token

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

新增问题

需要有已新建的问题单才会出现查询问题大类的场景

新增问题类别

需要有已新建的问题类别才会出现查询问题大类的场景

URL

请求方式

HTTPS地址

服务架构

消息体类型

POST

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

OpenAPI

application/json

请求头

KEY

VALUE

是否必填

描述

Content-Type

application/json

Authorization

bearer ${access_token}

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

请求参数

参数

类型

是否必填

描述

issueInstance

String

问题实例1 隐患,0 问题

响应参数

参数

类型

描述

stateCode

String

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

errorMessage

String

响应描述,错误提示

result

Object

响应结果内容

请求示例

{
 "issueInstance": "1"
}

响应示例

{
"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"
        }
    ]
}

状态码

状态码请参见状态码

错误码

错误码请参见错误码

分享:

    相关文档

    相关产品