获取窗口浏览器分组
请求方法以及路径
html
POST http://localhost:[端口号]/openapi/window/group/lists?ticket=[OpenApi票据]
接口功能描述
用于获取窗口浏览器分组 。
请求参数
Header 请求参数
参数名 | 参数值 | 必填 | 类型 | 描述 |
---|---|---|---|---|
Content-Type | application/json | 是 | String | application/json |
返回数据
成功响应示例
json
{
"code": "00000",
"message": "Success",
"data": {
"status": "success",
"errorCode": "",
"errorMsg": "",
"result": []
}
}
json
{
"code": "00000",
"message": "Success",
"data": {
"status": "success",
"errorCode": "",
"errorMsg": "",
"result": [
{
"index": 1,
"templateName": "113",
"isDefault": false,
"enable": true,
"createdAt": "2024/3/22 10:40:14",
"updatedAt": "2024/3/22 10:40:14"
},
{
"index": 2,
"templateName": "114",
"isDefault": true,
"enable": false,
"createdAt": "2024/3/22 10:40:14",
"updatedAt": "2024/3/22 10:40:14"
}
]
}
}
失败响应示例
调用接口失败
接口响应状态码,不为00000
时,接口调用失败。
具体接口调用错误原因可查看接口响应状态码信息对照表进行查询 。
json
{
"code": "00001",
"message": "产生未知错误,请反馈给官方客服!",
"data": {}
}