参数 | 说明 | 是否必填 | 类型 |
---|---|---|---|
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.itniotech.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天 |