文档
测试

问题分类-查询问题分类

POST
http://192.168.0.7:8086/supervision/type/list

接口描述

查询问题大类时,level = 1,parentCode缺省; 查询问题小类时,level = 2,parentCode必填; 查询具体问题时,level = 3,parentCode必填;

请求参数

参数名
类型
描述
必填
level
int
示例:2
必填
parentCode
string
示例:2c224c65b9194c81b8d914feeabf9933
必填

响应参数

参数名
类型
描述
必填
code
string
示例:0
必填
result
array
数据列表
必填
createdTime
string
示例:2020-09-29T16:34:49.000+08:00
必填
createdBy
object
示例:null
必填
updatedTime
string
示例:2020-09-29T16:34:49.000+08:00
必填
updatedBy
object
示例:null
必填
version
int
示例:0
必填
status
boolean
示例:true
必填
id
int
示例:3
必填
code
string
示例:ed4727a1f40441ba983c62c3b23bae61
必填
level
int
示例:2
必填
typeCode
string
示例:83cf4534dc4149978fc4c888f4ebc620
必填
typeName
string
示例:二级问题1
必填
parentCode
string
示例:2c224c65b9194c81b8d914feeabf9933
必填
score
object
示例:null
必填
status
int
示例:200
必填
timestamp
int
示例:1601368944832
必填

说明 / 示例

{ "code": "0", "result": [ { "createdTime": "2020-09-29T16:34:49.000+08:00", "createdBy": null, "updatedTime": "2020-09-29T16:34:49.000+08:00", "updatedBy": null, "version": 0, "status": true, "id": 3, "code": "ed4727a1f40441ba983c62c3b23bae61", "level": 2, "typeCode": "83cf4534dc4149978fc4c888f4ebc620", "typeName": "二级问题1", "parentCode": "2c224c65b9194c81b8d914feeabf9933", "score": null } ], "status": 200, "timestamp": 1601368944832 }