首页 帮助中心 API

查询组长列表

说明: 查询组长列表

请求参数说明:

参数 说明 是否必填 类型

current

当前页码,1-N

Integer

size

每页显示数,1-100

Integer

params

分页参数

JSONObject

enable

启用禁用0启用,1禁用

Integer

name

名称

String

voiceGroupIdList

坐席组(坐席组查询返回voiceGroupId)

List<Integer>

请求URL:

                      
                        https://api.onbuka.com/v3/cc/teamleader/query
                      
                    

请求示例:

                    
                        Request URL:
                            https://api.onbuka.com/v3/cc/teamleader/query
                        Request Method:
                            POST
                        Request Headers:
                            Content-Type: application/json;charset=UTF-8
                            Sign: 05d7a50893e22a5c4bb3216ae3396c7c
                            Timestamp: 1630468800
                            Api-Key: bDqJFiq9
                        Request Body:
                        {
                            "current":1,
                            "size":10,
                            "params":{
                                "enable": 0,
                                "name":"12",
                                "voiceGroupIdList": [12,13]
                            }
                        }
                    

                    

响应参数说明:

参数 说明 类型

status

状态码,0成功,其他失败参见响应状态码说明

String

reason

失败原因说明

String

data

对象集合

JSONArray

total

总记录条数

Integer

size

每页显示数

Integer

current

当前页码

Integer

pages

总页码

Integer

records

数据集合

JSONArray

keyId

主键id

Integer

empNo

工号

String

petName

组长昵称

String

name

组长名称

String

enable

启用禁用0启用,1禁用

Integer

voiceGroupIdList

坐席组Id

List<Integer>

voiceGroupNameList

坐席组名称

List<String>

account

账号

String

password

密码

String

createTime

创建时间

LocalDateTime

updateTime

修改时间

LocalDateTime

响应示例:

                
                {
                    "status":"0",
                    "reason":"success",
                    "data": {
                        "total": 5,
                        "size": 20,
                        "current": 1,
                        "pages": 1,
                        "records": [
                            {
                                "keyId": 5000013,
                                "empNo": "003",
                                "petName": "",
                                "name": "创建5.19",
                                "enable": 0,
                                "voiceGroupIdList": [
                                    12,14
                                ],
                                "voiceGroupNameList": [
                                    "坐席组-研发使用", "测试5.19"
                                ],
                                "account": "tao_003",
                                "password": "EJfyqwEi",
                                "createTime": "2024-05-19 16:33:58",
                                "updateTime": "2024-07-12 19:39:19",
                                "customerId": 396,
                                "customerName": "szwutao"
                            }
                        ]
                    }
                }
            

                  
 

下一篇: BUKA SDK

意见反馈

0/500