- 统一接口
- 分管控制台/客服坐席管理
- 客服坐席
- 翻译
- 发送消息以及接收消息
- 更新消息接口PUT
- 获取登录用户所拥有的账号POST
- 根据客服ID 获取当前日期的全部会话POST
- 获取会话标签对应的双向营销对象POST
- 查询当前营销对象消息记录POST
- 快捷回复接口GET
- 根据时间轴--营销对象新消息提醒POST
- 获取时间轴POST
- 查询坐席标签列表GET
- 新增坐席标签POST
- 删除坐席标签DELETE
- 根据标签查询对应的营销用户POST
- 修改营销用户标签PUT
- 根据名称模糊查询转移坐席用户GET
- 坐席转移!POST
- 快捷搜索GET
- 客服查询快速回复POST
- 新增内容管理 CopyPOST
- 删除内容管理 CopyDELETE
- 接收坐席查询转移坐席名称POST
- 粉丝数操作POST
- 查询坐席进粉数POST
- 坐席查询分管设置的飞机链接GET
- 获取原图POST
- 主控
- 分管
- 菜单管理
- 管理员
- 首页
- IP管理
- 坐席主管
- ip2world
- 拉群
- 消息回调POST
- 重新登录POST
- 协议回调更新手机号状态POST
- 物理IP获取POST
- 提供给协议做调用POST
查询当前营销对象消息记录
开发中
开发环境
开发环境
POST
/xd/client/retrievePastRecords
/xd/client/retrievePastRecords
请求参数
Header 参数
token
string
必需
示例值:
92fc8377bde8483db280ce2360f31788
Body 参数application/json
custServId
string
必需
oocDate
string
查询日期
convType
string
会话类型
receId
string
营销对象id
pageNo
integer
必需
pageSize
integer
必需
示例
{
"custServId": "2844",
"oocDate": "2023-07-01",
"convType": "biDirFriend",
"receId": "187",
"pageno": 1,
"pageSize": 10
}
示例代码
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/client/retrievePastRecords' \
--header 'token: 92fc8377bde8483db280ce2360f31788' \
--header 'Content-Type: application/json' \
--data-raw '{
"custServId": "2844",
"oocDate": "2023-07-01",
"convType": "biDirFriend",
"receId": "187",
"pageno": 1,
"pageSize": 10
}'
返回响应
🟢200成功
application/json
Body
message
object
必需
total
integer
消息总数
pageno
integer
当前所在消息页
pageSize
integer
消息总页
contGrp
array [object {5}]
必需
示例
{
"msg": "操作成功",
"code": 200,
"data": {
"custServId": "2844",
"convType": "biDirFriend",
"occDate": "2023-07-01",
"receId": "187",
"lastSendTime": "Sat Jul 01 10:53:52 CST 2023",
"receName": "曾林",
"total": 14,
"pageno": 2,
"pageSize": 10,
"contGroups": [
{
"contentType": "1",
"content": "你好这个产品怎么用",
"sendTime": "Sat Jul 01 10:53:52 CST 2023",
"contReadState": "0",
"sender": 1
},
{
"contentType": "1",
"content": "你好",
"sendTime": "Sat Jul 01 10:53:52 CST 2023",
"contReadState": "0",
"sender": 0
},
{
"contentType": "1",
"content": "你好这个产品怎么用",
"sendTime": "Sat Jul 01 10:53:52 CST 2023",
"contReadState": "0",
"sender": 1
},
{
"contentType": "1",
"content": "你好",
"sendTime": "Sat Jul 01 10:53:52 CST 2023",
"contReadState": "0",
"sender": 0
}
]
}
}
修改于 2024-11-03 14:30:36