open-api
首页
open-api
  • 快速开始
  • 授权登录
  • 客户
    • 客户
    • 客户列表GET
    • 跟进动态查询接口GET
    • 提交跟进动态POST
    • 客户分组新增/编辑POST
    • 删除客户分组POST
    • 客户阶段新增/编辑POST
    • 删除客户阶段POST
    • 客户标签新增/编辑POST
    • 删除客户标签POST
    • 客户枚举:客户类型,客户标签,时区,规模,星级,采购意向,采购额度,职级GET
    • 客户数据字典GET
    • 客户(含联系人)新增/编辑POST
    • 删除客户(仅支持公海客户)POST
    • 客户详情GET
    • 查询客户的阶段、分组、状态、地区、主营产品、来源GET
  • 销售订单
  • 采购订单
  • 产品
  • 回款登记
  • 回款单
  • 付款单
  • 费用单
  • 报价单
  • 供应商
  • 商机
  • 用户
  • 销售出库单
  • 库存
  • 线索
  • 资金
  • 采购入库单
  • 采购退货单
  • 统计分析
  • 示例接口(勿用)
  • 阿里账号信息GET
  • 阿里资金账户信息GET
亮色模式
  1. 客户

跟进动态查询接口

GET/v1/dynamic/trail/list

请求参数

Query 参数
company_id
integer 
客户ID
可选
示例值:
1
lead_id
integer 
线索ID
可选
示例值:
1
opportunity_id
integer 
商机ID
可选
示例值:
1
start_time
string 
开始时间
可选
示例值:
2022-09-21 21:50:00
end_time
string 
结束时间
可选
示例值:
2022-09-23 21:50:00
count
integer 
每页数量
可选
示例值:
1
start_index
integer 
页码
可选
示例值:
1

示例代码

返回响应

成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer 
必需
message
string 
必需
now
string 
必需
data
object 
必需
list
array [object {28}] 
必需
totalItem
integer 
总数
必需
示例
{
  "code": 200,
  "message": "success",
  "now": "2024-11-04 10:49:07",
  "data": {
    "list": [
      {
        "follow_up_id": 25646265871661,
        "trail_id": 25646265871658,
        "type": 101,
        "client_id": 23412,
        "create_user": 55938259,
        "refer_id": 25646265871661,
        "content": "跟进",
        "file_ids": [],
        "enable_flag": 1,
        "created_at": "2024-08-20 10:48:42",
        "create_time": "2024-08-20 10:48:42",
        "update_time": "2024-08-20 10:48:42",
        "company_id": 16696797769,
        "customer_id": [
          4415640999551
        ],
        "lead_id": 0,
        "lead_customer_id": [],
        "opportunity_id": 0,
        "delete_flag": 0,
        "inquiry_id": 0,
        "track_session_no": 0,
        "comment_count": 0,
        "company_info": {
          "company_id": 16696797769,
          "name": "小满的客户021",
          "is_archive": 1
        },
        "lead_info": [],
        "opportunity_info": [],
        "create_user_info": {
          "user_id": "55938259",
          "nickname": "CXK",
          "avatar": ""
        },
        "customer_info": [
          {
            "customer_id": 4415640999551,
            "name": "满021",
            "email": "xiaoman@mantest.com",
            "tel_list": [],
            "contact": []
          }
        ],
        "lead_customer_info": null,
        "file_info": null
      },
      {
        "follow_up_id": 25197419337294,
        "trail_id": 25197419337290,
        "type": 101,
        "client_id": 23412,
        "create_user": 55938259,
        "refer_id": 25197419337294,
        "content": "快速记录一个动态",
        "file_ids": [],
        "enable_flag": 1,
        "created_at": "2024-08-12 17:10:07",
        "create_time": "2024-08-12 17:10:07",
        "update_time": "2024-08-12 17:10:07",
        "company_id": 16696797769,
        "customer_id": [],
        "lead_id": 0,
        "lead_customer_id": [],
        "opportunity_id": 23273099298949,
        "delete_flag": 0,
        "inquiry_id": 0,
        "track_session_no": 0,
        "comment_count": 0,
        "company_info": {
          "company_id": 16696797769,
          "name": "小满的客户021",
          "is_archive": 1
        },
        "lead_info": [],
        "opportunity_info": {
          "opportunity_id": 23273099298949,
          "name": "小满的客户02120240708比利时"
        },
        "create_user_info": {
          "user_id": "55938259",
          "nickname": "CXK",
          "avatar": ""
        },
        "customer_info": null,
        "lead_customer_info": null,
        "file_info": null
      },
      {
        "follow_up_id": 10452468112776,
        "trail_id": 10452468112775,
        "type": 101,
        "client_id": 23412,
        "create_user": 55281444,
        "refer_id": 10452468112776,
        "content": "发给h",
        "file_ids": [],
        "enable_flag": 1,
        "created_at": "2023-08-31 15:00:31",
        "create_time": "2023-08-31 15:00:27",
        "update_time": "2023-08-31 15:00:31",
        "company_id": 16696797769,
        "customer_id": [],
        "lead_id": 0,
        "lead_customer_id": [],
        "opportunity_id": 0,
        "delete_flag": 0,
        "inquiry_id": 0,
        "track_session_no": 0,
        "comment_count": 0,
        "company_info": {
          "company_id": 16696797769,
          "name": "小满的客户021",
          "is_archive": 1
        },
        "lead_info": [],
        "opportunity_info": [],
        "create_user_info": {
          "user_id": "55281444",
          "nickname": "张三",
          "avatar": ""
        },
        "customer_info": null,
        "lead_customer_info": null,
        "file_info": null
      },
      {
        "follow_up_id": 8390479839359,
        "trail_id": 8390479839358,
        "type": 102,
        "client_id": 23412,
        "create_user": 55281444,
        "refer_id": 8390479839359,
        "content": "",
        "file_ids": [],
        "enable_flag": 1,
        "created_at": "2023-06-25 15:47:32",
        "create_time": "2023-06-19 15:14:41",
        "update_time": "2023-06-25 15:47:32",
        "company_id": 16696797769,
        "customer_id": [],
        "lead_id": 0,
        "lead_customer_id": [],
        "opportunity_id": 1418441883793,
        "delete_flag": 0,
        "inquiry_id": 0,
        "track_session_no": 0,
        "comment_count": 0,
        "company_info": {
          "company_id": 16696797769,
          "name": "小满的客户021",
          "is_archive": 1
        },
        "lead_info": [],
        "opportunity_info": {
          "opportunity_id": 1418441883793,
          "name": "zz测试商机"
        },
        "create_user_info": {
          "user_id": "55281444",
          "nickname": "张三",
          "avatar": ""
        },
        "customer_info": null,
        "lead_customer_info": null,
        "file_info": null
      },
      {
        "follow_up_id": 5379694081532,
        "trail_id": 5379694081528,
        "type": 101,
        "client_id": 23412,
        "create_user": 55281444,
        "refer_id": 5379694081532,
        "content": "本次跟进原因:XXX\n主要沟通内容:XXX\n其他:XX",
        "file_ids": [],
        "enable_flag": 1,
        "created_at": "2023-01-17 14:46:07",
        "create_time": "2023-01-17 14:46:07",
        "update_time": "2023-01-17 14:46:07",
        "company_id": 16696797769,
        "customer_id": [
          4415640999551
        ],
        "lead_id": 0,
        "lead_customer_id": [],
        "opportunity_id": 0,
        "delete_flag": 0,
        "inquiry_id": 0,
        "track_session_no": 0,
        "comment_count": 0,
        "company_info": {
          "company_id": 16696797769,
          "name": "小满的客户021",
          "is_archive": 1
        },
        "lead_info": [],
        "opportunity_info": [],
        "create_user_info": {
          "user_id": "55281444",
          "nickname": "张三",
          "avatar": ""
        },
        "customer_info": [
          {
            "customer_id": 4415640999551,
            "name": "满021",
            "email": "man@mantest.com",
            "tel_list": [],
            "contact": []
          }
        ],
        "lead_customer_info": null,
        "file_info": null
      },
      {
        "follow_up_id": 1632775077230,
        "trail_id": 1632775077227,
        "type": 101,
        "client_id": 23412,
        "create_user": 55281444,
        "refer_id": 1632775077230,
        "content": "电话联系",
        "file_ids": [],
        "enable_flag": 1,
        "created_at": "2022-01-28 17:14:55",
        "create_time": "2022-01-28 05:14:55",
        "update_time": "2022-01-28 17:14:55",
        "company_id": 16696797769,
        "customer_id": [
          16696797694
        ],
        "lead_id": 0,
        "lead_customer_id": [],
        "opportunity_id": 0,
        "delete_flag": 0,
        "inquiry_id": 0,
        "track_session_no": 0,
        "comment_count": 0,
        "company_info": {
          "company_id": 16696797769,
          "name": "小满的客户021",
          "is_archive": 1
        },
        "lead_info": [],
        "opportunity_info": [],
        "create_user_info": {
          "user_id": "55281444",
          "nickname": "张三",
          "avatar": ""
        },
        "customer_info": [
          {
            "customer_id": 16696797694,
            "name": "张先生",
            "email": "99999@129.com",
            "tel_list": [
              [
                "355",
                "123456"
              ]
            ],
            "contact": [
              {
                "type": "whatsapp",
                "value": "86 180 8882 2256"
              }
            ]
          }
        ],
        "lead_customer_info": null,
        "file_info": null
      }
    ],
    "totalItem": 6
  }
}
最后修改时间: 3 个月前