- 统一接口
- 分管控制台/客服坐席管理
- 客服坐席
- 主控
- 分管
- 菜单管理
- 管理员
- 首页
- IP管理
- 坐席主管
- 聊天通道
- 坐席统计
- 坐席转移配置
- 任务列表
- ip2world
- 拉群
- 消息回调POST
- 重新登录POST
- 协议回调更新手机号状态POST
- 物理IP获取POST
- 提供给协议做调用POST
查询坐席统计
开发中
开发环境
http://localhost:8080
开发环境
http://localhost:8080
POST
/xd/direct/fetchClientMetrics
请求参数
Header 参数
token
string
可选
示例值:
4cb1bc9d15ca43e2934a80b3ce0c25bf
Body 参数application/json
userName
string
必需
start
string
必需
end
string
必需
示例
{
"userName":"",
"start":"2023-02-24 00:00:00",
"end":"2023-02-24 23:59:59"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:8080/xd/direct/fetchClientMetrics' \
--header 'token: 4cb1bc9d15ca43e2934a80b3ce0c25bf' \
--header 'Content-Type: application/json' \
--data-raw '{
"userName":"",
"start":"2023-02-24 00:00:00",
"end":"2023-02-24 23:59:59"
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{
"total": 3,
"data": [
{
"userId": 1141,
"userName": "yueTest_k1",
"userType": "转移营销",
"transferCount": 0,
"receiverCount": 0,
"oneCollect": 0,
"twoCollect": 0,
"callNum": 0,
"successNum": 0,
"read": 0,
"delivery": 0,
"fanCount": 0
},
{
"userId": 1142,
"userName": "yueTest_k2",
"userType": "转移营销",
"transferCount": 0,
"receiverCount": 0,
"oneCollect": 0,
"twoCollect": 0,
"callNum": 0,
"successNum": 0,
"read": 0,
"delivery": 0,
"fanCount": 0
},
{
"userId": 1143,
"userName": "yueTest_k3",
"userType": "转移营销",
"transferCount": 0,
"receiverCount": 0,
"oneCollect": 0,
"twoCollect": 0,
"callNum": 0,
"successNum": 0,
"read": 0,
"delivery": 0,
"fanCount": 0
}
],
"code": 200,
"msg": "查询成功"
}
🟢200成功