參數 | 說明 | 是否必填 | 類型 |
---|---|---|---|
current | 當前頁碼,1-N | 是 | Integer |
size | 每頁顯示數,1-100 | 是 | Integer |
params | 分頁參數 | 是 | JSONObject |
enable | 啟用禁用0啟用,1禁用 | 否 | Integer |
name | 坐席名稱,模糊匹配 | 否 | String |
voiceGroupId | 坐席組(坐席組查詢返回voiceGroupId) | 否 | Integer |
status | 坐席狀態:1-離線,2-空閒,3-繁忙,4-話後整理,5-小休 | 否 | Integer |
strTime | 坐席呼記統計-開始時間,與結束時間相差32天 | 是 | DateTime |
endTime | 坐席呼記統計-結束時間 | 是 | DateTime |
Request URL:
https://api.laaffic.com/v3/cc/seat/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":15,
"params":{
"enable": 0,
"name":"12",
"voiceGroupId": 12,
"strTime":"2025-01-01 00:00:00",
"endTime":"2025-02-01 12:12:12"
}
}
參數 | 說明 | 類型 |
---|---|---|
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 |
appId | 應用appid | String |
deleteFlag | 邏輯刪除標誌,1已刪除,0未刪除 | Integer |
enable | 啟用禁用0啟用,1禁用 | Integer |
priority | 優先順序默認1 | Integer |
voiceGroupId | 坐席組Id | Integer |
groupName | 坐席組名稱 | String |
account | 帳號 | String |
password | 密碼 | String |
createTime | 創建時間 | DateTime |
updateTime | 修改時間 | DateTime |
displayNum | 顯示號碼 | String |
ccode | 國家碼 | String |
status | 坐席狀態:1-離線,2-空閒,3-繁忙 | Integer |
num | 呼叫總數 | Integer |
connectNum | 接通數 | Integer |
connectRate | 接通率 | String |
validConnectNum | 有效通話數 | Integer |
validConnectRate | 有效通話率 | String |
validConnectConfig | 有效通話定義 | Integer |
{
"status":"0",
"reason":"success",
"data": {
"total": 5,
"size": 20,
"current": 1,
"pages": 1,
"records": [
{
"keyId": 681,
"empNo": "003",
"petName": "12345678901234567890",
"name": "0705C999_001",
"appId": "1000009",
"deleteFlag": 0,
"createTime": "2023-09-07 11:44:37",
"updateTime": "2024-10-29 17:33:02",
"enable": 0,
"priority": 1,
"sipGroupId": 1000006,
"account": "0705C559_003",
"password": "452061e7b50b70001c1e2168632ea56d",
"displayNum": "12802112125",
"ccode": null,
"appName": null,
"groupName": "測試基礎設置(話機)",
"status": "1",
"num": 0,
"connectNum": 0,
"connectRate": "0%",
"validConnectNum": 0,
"validConnectRate": "0%",
"validConnectConfig": null
}
]
}
}
status | 狀態說明 |
---|---|
0 | 成功 |
-1 | 帳號認證異常 |
-2 | ip限制 |
-16 | 時間戳過期 |
-18 | 系統異常 |
-20 | 數據已存在 |
-22 | 參數異常 |
-23 | 數據上限 |
-35 | 搜索時間區間不能大於32天 |
點擊此處開啟人工服務