- 统一接口
- 分管控制台/客服坐席管理
- 客服坐席
- 主控
- 分管
- 菜单管理
- 管理员
- 首页
- IP管理
- 坐席主管
- ip2world
- 拉群
- 消息回调POST
- 重新登录POST
- 协议回调更新手机号状态POST
- 物理IP获取POST
- 提供给协议做调用POST
分管查询主管任务列表
开发中
开发环境
开发环境
POST
/xd/direct/fetchTaskForSub
/xd/direct/fetchTaskForSub
请求参数
Header 参数
token
string
可选
Body 参数application/json
state
string
状态 0:等待中 1:执行中 2:执行完成
startDate
string
起始时间
endDate
string
截止时间
示例
{
"state": "",
"startDate": "",
"endDate": ""
}
示例代码
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/fetchTaskForSub' \
--header 'token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"state":"",
"startDate":"",
"endDate":""
}'
返回响应
🟢200成功
application/json
Body
total
integer
必需
data
array [object {7}]
必需
id
integer
必需
leadId
integer
主管Id
taskName
string
任务名称
contentUrl
string
整合文件路径
downloadCount
integer
下载次数
createTime
string
创建时间
state
string
状态 0:等待中 1:执行中 2:执行完成
code
integer
必需
msg
string
必需
示例
{
"total": 7,
"data": [
{
"id": 1,
"leadId": 1762,
"taskName": "1762_2014-11-09 12:00_5轮_60分钟_100条",
"contentUrl": "/profile/download/c894f23c-2f28-422c-9d35-1b521636ed7c_1762_2014-11-09 12:00_5轮_60分钟_100条.zip",
"downloadCount": 0,
"createTime": "2024-11-09T03:51:00.000+0800",
"state": "0"
},
{
"id": 2,
"leadId": 1762,
"taskName": "1762_2014-11-09 12:00_5轮_60分钟_100条",
"contentUrl": "/profile/download/c894f23c-2f28-422c-9d35-1b521636ed7c_1762_2014-11-09 12:00_5轮_60分钟_100条.zip",
"downloadCount": 0,
"createTime": "2024-11-09T03:51:00.000+0800",
"state": "0"
},
{
"id": 3,
"leadId": 1762,
"taskName": "1762_2014-11-09 12:00_5轮_60分钟_100条",
"contentUrl": "/profile/download/38e8a204-d3b4-4e0f-97f1-512b729f7fc6_1762_2014-11-09 12:00_5轮_60分钟_100条.zip",
"downloadCount": 0,
"createTime": "2024-11-09T03:55:04.000+0800",
"state": "0"
},
{
"id": 4,
"leadId": 1762,
"taskName": "1762_2014-11-09 12:00_5轮_60分钟_100条",
"contentUrl": "/profile/download/a5c20ca9-220b-4429-8118-c633dfe73f1f_1762_2014-11-09 12:00_5轮_60分钟_100条.zip",
"downloadCount": 0,
"createTime": "2024-11-09T04:04:30.000+0800",
"state": "0"
},
{
"id": 5,
"leadId": 1762,
"taskName": "1762_2014-11-09 12:00_5轮_60分钟_100条",
"contentUrl": "/profile/download/ed36c64e-dbcc-404c-bbe1-4f2d159095a6_1762_2014-11-09 12:00_5轮_60分钟_100条.zip",
"downloadCount": 0,
"createTime": "2024-11-09T04:07:46.000+0800",
"state": "0"
},
{
"id": 6,
"leadId": 1762,
"taskName": "1762_2014-11-09 12-00_5轮_60分钟_100条",
"contentUrl": "/profile/download/534b724e-0672-4280-bc3d-9d7ef14f7ca0_1762_2014-11-09 12-00_5轮_60分钟_100条.zip",
"downloadCount": 1,
"createTime": "2024-11-09T04:08:51.000+0800",
"state": "2"
},
{
"id": 7,
"leadId": 1762,
"taskName": "1762_2014-11-09 12-00_5轮_60分钟_100条",
"contentUrl": "/profile/download/2c7e2538-d713-4090-8e12-b4c45e0e8c4b_1762_2014-11-09 12-00_5轮_60分钟_100条.zip",
"downloadCount": 0,
"createTime": "2024-11-09T04:10:20.000+0800",
"state": "0"
}
],
"code": 200,
"msg": "查询成功"
}
修改于 2024-11-08 21:21:45