| 參數 | 說明 | 是否必填 | 類型 |
|---|---|---|---|
| current | 當前頁碼,1-N | 是 | Integer |
| size | 每頁顯示數,1-100 | 是 | Integer |
| params | 分頁參數 | 是 | JSONObject |
| enable | 啟用禁用0啟用,1禁用 | 否 | Integer |
| name | 名稱 | 否 | String |
| voiceGroupIdList | 坐席組(坐席組查詢返回voiceGroupId) | 否 | List<Integer> |
Request URL:
https://api.laaffic.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"
}
]
}
}
| status | 狀態說明 |
|---|---|
| 0 | 成功 |
| -1 | 帳號認證異常 |
| -2 | ip限制 |
| -16 | 時間戳過期 |
| -18 | 系統異常 |
| -20 | 數據已存在 |
| -22 | 參數異常 |
| -23 | 數據上限 |
點擊此處開啟人工服務