1. ofc
HY
  • 结算中心
    • 小程序对接银盛收银台
      POST
  • 对公转账
    • 管理端-查询对公转账列表
      POST
    • 客户-提交对公转账申请
      POST
  • 用户绑定收款账户信息
    • 查看认证信息
      GET
    • 查询平台收款账户下拉
      GET
    • 查询公司认证信息下拉
      GET
    • 财务端-客户列表
      POST
    • 查询用户绑定的平台收款账户信息
      GET
  • 账单管理
    • 应收客户账单
      POST
    • 资金交易明细
      POST
  • crm接口
    • 检查当前登录人的线索权限
      GET
    • 查询订单详情
      GET
    • 获取用户的补贴券列表
      GET
    • CRM 用户给客户发放补贴券
      POST
    • 待跟进查询列表
      POST
    • 跟进中-查询
      POST
    • 已成交-查询
      POST
    • 公海-查询
      POST
    • 已无效列表
      POST
    • 客户订单
      POST
    • 客户订单-金额统计
      POST
    • 收据概览-统计数据(本月)
      POST
    • 武汉佳成授权登录接口
      POST
  • 佳成CRM
    • admin端
      • 首页
        • 数据概览
          • 销售目标信息(原有旧接口新增字段)
      • 客户管理-杭州佳成
        • 订单轨迹信息接口
        • 订单详情信息接口
        • 销售订单列表
        • 客户信息列表
    • h5端
      • 数据概览
        • 销售目标信息
        • 销售统计-按所选成员-所选时间统计
      • 客户管理-杭州佳成
        • 客户信息列表
        • 销售订单列表
        • 订单轨迹信息接口
        • 订单详情信息接口
    • 登录
      • 获取登录验证码
      • 验证码登录
    • CRM 询价大厅
      • 查询询价大厅列表统计数量
      • 查询询价大厅列表
      • 编辑询价大厅状态
    • 保存暂存数据
    • 跟进类型获得缓存数据
    • 批量导入线索
    • 根据公司名称获取客户编码
  • IM平台客服角色
    • ofc
      • 客服发起会话
        POST
      • 获取当前会话列表
        GET
      • 查询登录人的历史会话
        GET
      • 获取当前角色的聊天记录
        POST
      • 根据角色查询客服下拉
        GET
      • 获取指定角色下的客服列表-只查询在线的
        GET
      • ofc查询聊天记录
        POST
      • 查询FBA订单
        POST
      • 通过目的国和发货地查询方案类型
        POST
      • 通过目的国和发货地查询方案
        POST
    • 直客端im窗口查看订单列表
      GET
    • 直客端-创建平台客服的会话
      POST
    • 直客端im会话列表
      GET
  • 用户中心
    • 客户行为推送
  • 送仓单号信息管理
    • 管理端送仓单维护
      • 通过快递单号查询快递公司名称
      • 通过订单号查询快递单号列表
      • 直客保存快递单号信息
      • 直客修改快递单号信息
      • 通过快递单号查询轨迹
      • 删除订单的快递单号
    • 直客端快递单号维护
      • 通过快递单号查询快递公司名称
      • 通过订单号查询快递单号列表
      • 直客保存快递单号信息
      • 直客修改快递单号信息
      • 通过快递单号查询轨迹
      • 删除订单的快递单号
    • ofc送仓单号维护
      • 通过快递单号查询快递公司名称
      • 通过订单号查询快递单号列表
      • 直客保存快递单号信息
      • 直客修改快递单号信息
      • 通过快递单号查询轨迹
      • 删除订单的快递单号
    • crm送仓单号查看
      • 通过订单号查询快递单号列表
      • 通过快递单号查询轨迹
    • 服务商上传转单号模板
    • 管理端上传转单号模板
    • ofc上传转单号模板
  • 渠道库标签配置
    • 通过渠道库id查询标签规则配置
    • 新建或更新渠道库标签配置-前置校验
    • 新建或更新渠道库标签配置
  • 首页查价(旧-v2)
    • 首页查价-显示方案库
    • 首页查价-方案列表
  • 首页查价相关接口(v3)
    • 渠道列表接口
    • 首页查询渠道类型
    • 首页查询渠道库
    • 填写预计到达时间,查询方案列表
    • TWL-直接查询方案列表
    • TWL-查询特价线路
    • 查询线路标签下拉
  • im-api
    • notify通知
    • 查询会话列表
    • 查询未回复的会话信息
  • 渠道库管理
    • 渠道库下拉接口
  • 补贴中心
    • 直客端
      • 个人中心-补贴券列表
      • 下单时查询可用补贴券
    • 管理端
      • 发放补贴券
  • ofc
    • 揽收叫车
      • 查询取消原因
      • 查询揽收叫车
      • 取消揽收计划
      • 验证订单并查询信息
      • 保存揽收计划
    • ofc-订单详情
  • 直客订单管理
    • 直客导出订单详情
  • TWL
    • 非标询价
      • 推送测试机器人
      • TWL-Ai非标准询价
      • (好运)提供AI查价
      • 直客下单接口
      • AI查价--查询货物类型
    • 询价大厅
      • 直客端
        • 获取询价大厅列表
        • 创建询价需求
        • 删除单个询价需求
        • 清空询价历史
    • 客人自定制
      • 直客端-算价
        • 获取可以到达的目的国家
        • 查询上门揽收时间
        • 查最快速、最优惠的方案
      • 直客端-预订单
        • 预订单下单接口
        • 自定制下单接口
        • 工作台订单统计
        • 工作台--预订单查询列表
        • 直客端取消预订单
        • 预订单--订单详情
      • CRM-预订单
        • 生成用户临时的token
        • 快捷下单列表
        • crm取消快捷订单
        • crm预订单个数统计(待处理和已处理的)
  1. ofc

查询登录人的历史会话

GET
/im/cs/find-history-sessions

请求参数

Query 参数

Header 参数

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://m1.apifoxmock.com/m1/650141-0-default/im/cs/find-history-sessions?name=&page=1&size=10&staffSessionType=1' \
--header 'token: 31135378279481679986217769'

返回响应

🟢200成功
application/json
Body

示例
{
    "code": "200",
    "success": true,
    "msg": "处理成功",
    "message": "处理成功",
    "timestamp": "2023-03-28T07:19:24.033Z",
    "data": {
        "records": [
            {
                "id": "0_1175",
                "type": 3,
                "fromId": 1198,
                "fromUserType": null,
                "fromName": "艾米客服",
                "fromHeadIcon": null,
                "fromUnreadNum": null,
                "toId": 1175,
                "toUserType": null,
                "toName": "17091266528",
                "toHeadIcon": null,
                "toUnreadNum": null,
                "lastMessage": null,
                "lastMessageTime": null,
                "adverseReadTime": null,
                "fromMarkName": null,
                "toMarkName": "17091266528",
                "customerImId": 1175,
                "customerName": "170****6528",
                "customerMarkName": "170****6528",
                "fromReadTime": "2023-03-28 15:12:29",
                "toReadTime": "2022-09-05 14:31:16",
                "sessionType": null,
                "gmtCreate": "2022-01-19 11:40:27"
            },
            {
                "id": "0_1189",
                "type": 3,
                "fromId": 1189,
                "fromUserType": null,
                "fromName": "13686894270",
                "fromHeadIcon": null,
                "fromUnreadNum": null,
                "toId": 1198,
                "toUserType": null,
                "toName": "艾米客服",
                "toHeadIcon": null,
                "toUnreadNum": null,
                "lastMessage": null,
                "lastMessageTime": null,
                "adverseReadTime": null,
                "fromMarkName": "13686894270",
                "toMarkName": "光临-售后",
                "customerImId": 1189,
                "customerName": "136****4270",
                "customerMarkName": "136****4270",
                "fromReadTime": "2023-03-28 14:22:47",
                "toReadTime": "2023-03-28 14:36:56",
                "sessionType": null,
                "gmtCreate": "2021-12-01 19:53:26"
            },
            {
                "id": "0_1663",
                "type": 3,
                "fromId": 1663,
                "fromUserType": null,
                "fromName": "13502324631",
                "fromHeadIcon": null,
                "fromUnreadNum": null,
                "toId": 1198,
                "toUserType": null,
                "toName": "艾米客服",
                "toHeadIcon": null,
                "toUnreadNum": null,
                "lastMessage": null,
                "lastMessageTime": null,
                "adverseReadTime": null,
                "fromMarkName": null,
                "toMarkName": "魏征客服",
                "customerImId": 1663,
                "customerName": "135****4631",
                "customerMarkName": null,
                "fromReadTime": "2022-12-09 14:43:47",
                "toReadTime": "2022-12-08 15:02:24",
                "sessionType": null,
                "gmtCreate": "2022-12-08 14:58:27"
            },
            {
                "id": "0_1736",
                "type": 3,
                "fromId": 1736,
                "fromUserType": null,
                "fromName": "13878788888",
                "fromHeadIcon": null,
                "fromUnreadNum": null,
                "toId": 1198,
                "toUserType": null,
                "toName": "艾米客服",
                "toHeadIcon": null,
                "toUnreadNum": null,
                "lastMessage": null,
                "lastMessageTime": null,
                "adverseReadTime": null,
                "fromMarkName": null,
                "toMarkName": "艾米客服",
                "customerImId": 1736,
                "customerName": "138****8888",
                "customerMarkName": null,
                "fromReadTime": "2022-12-08 14:56:26",
                "toReadTime": "2022-12-08 14:58:09",
                "sessionType": null,
                "gmtCreate": "2022-12-08 14:06:51"
            },
            {
                "id": "0_1217",
                "type": 3,
                "fromId": 1217,
                "fromUserType": null,
                "fromName": "13823725404",
                "fromHeadIcon": null,
                "fromUnreadNum": null,
                "toId": 1198,
                "toUserType": null,
                "toName": "艾米客服",
                "toHeadIcon": null,
                "toUnreadNum": null,
                "lastMessage": null,
                "lastMessageTime": null,
                "adverseReadTime": null,
                "fromMarkName": "13823725404",
                "toMarkName": "半夏-测试客服",
                "customerImId": 1217,
                "customerName": "138****5404",
                "customerMarkName": "138****5404",
                "fromReadTime": "2023-03-24 15:12:08",
                "toReadTime": "2022-12-08 14:06:36",
                "sessionType": null,
                "gmtCreate": "2021-12-15 16:51:29"
            },
            {
                "id": "0_1174",
                "type": 3,
                "fromId": 1174,
                "fromUserType": null,
                "fromName": "15202263876",
                "fromHeadIcon": null,
                "fromUnreadNum": null,
                "toId": 1198,
                "toUserType": null,
                "toName": "艾米客服",
                "toHeadIcon": null,
                "toUnreadNum": null,
                "lastMessage": null,
                "lastMessageTime": null,
                "adverseReadTime": null,
                "fromMarkName": "15202263876",
                "toMarkName": "15202263876",
                "customerImId": 1174,
                "customerName": "152****3876",
                "customerMarkName": "152****3876",
                "fromReadTime": "2023-03-13 11:41:47",
                "toReadTime": "2022-12-05 15:52:13",
                "sessionType": null,
                "gmtCreate": "2021-11-05 19:54:51"
            },
            {
                "id": "0_1283",
                "type": 3,
                "fromId": 1283,
                "fromUserType": null,
                "fromName": "15200000001",
                "fromHeadIcon": null,
                "fromUnreadNum": null,
                "toId": 1198,
                "toUserType": null,
                "toName": "艾米客服",
                "toHeadIcon": null,
                "toUnreadNum": null,
                "lastMessage": null,
                "lastMessageTime": null,
                "adverseReadTime": null,
                "fromMarkName": null,
                "toMarkName": "艾米客服",
                "customerImId": 1283,
                "customerName": "152****0001",
                "customerMarkName": null,
                "fromReadTime": "2022-10-24 17:13:06",
                "toReadTime": "2022-10-24 17:07:58",
                "sessionType": null,
                "gmtCreate": "2022-10-20 18:36:24"
            },
            {
                "id": "0_1278",
                "type": 3,
                "fromId": 1278,
                "fromUserType": null,
                "fromName": "13510453216",
                "fromHeadIcon": null,
                "fromUnreadNum": null,
                "toId": 1198,
                "toUserType": null,
                "toName": "艾米客服",
                "toHeadIcon": null,
                "toUnreadNum": null,
                "lastMessage": null,
                "lastMessageTime": null,
                "adverseReadTime": null,
                "fromMarkName": null,
                "toMarkName": "光临-售后",
                "customerImId": 1278,
                "customerName": "135****3216",
                "customerMarkName": null,
                "fromReadTime": "2022-10-19 15:37:00",
                "toReadTime": "2022-10-19 11:09:33",
                "sessionType": null,
                "gmtCreate": "2021-12-16 17:31:49"
            },
            {
                "id": "0_1402",
                "type": 3,
                "fromId": 1402,
                "fromUserType": null,
                "fromName": "13666668888",
                "fromHeadIcon": null,
                "fromUnreadNum": null,
                "toId": 1198,
                "toUserType": null,
                "toName": "艾米客服",
                "toHeadIcon": null,
                "toUnreadNum": null,
                "lastMessage": null,
                "lastMessageTime": null,
                "adverseReadTime": null,
                "fromMarkName": null,
                "toMarkName": "艾米客服",
                "customerImId": 1402,
                "customerName": "136****8888",
                "customerMarkName": null,
                "fromReadTime": "2022-10-12 15:21:43",
                "toReadTime": "2022-10-12 15:22:49",
                "sessionType": null,
                "gmtCreate": "2022-10-12 15:18:56"
            },
            {
                "id": "0_56",
                "type": 3,
                "fromId": 56,
                "fromUserType": null,
                "fromName": "13670170853",
                "fromHeadIcon": null,
                "fromUnreadNum": null,
                "toId": 1198,
                "toUserType": null,
                "toName": "艾米客服",
                "toHeadIcon": null,
                "toUnreadNum": null,
                "lastMessage": null,
                "lastMessageTime": null,
                "adverseReadTime": null,
                "fromMarkName": "13670170853",
                "toMarkName": "13670170853",
                "customerImId": 56,
                "customerName": "136****0853",
                "customerMarkName": "136****0853",
                "fromReadTime": "2022-10-11 17:26:30",
                "toReadTime": "2022-10-11 17:27:41",
                "sessionType": null,
                "gmtCreate": "2021-12-27 14:21:57"
            }
        ],
        "current": 1,
        "size": 10,
        "total": 22
    },
    "cause": null,
    "fail": false
}
修改于 2023-04-11 02:16:14
上一页
获取当前会话列表
下一页
获取当前角色的聊天记录
Built with