系统跟进列表
最后更新:2025/02/07企业可通过此接口查询系统跟进记录
请求方式: POST(HTTPS)
请求地址: https://open.wshoto.com/openapi/crm/follow/listForSystem
Query参数:
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| access_token | string | 是 | 调用接口凭证 |
Body参数:
{
"target_type": 1,
"target_id_list": [
"123",
"456"
],
"id_list": [
"789"
],
"follow_user_ids": [
"user123"
],
"follow_dep_ids": [
1001,
1002
],
"title": "系统自动跟进",
"follow_time_start": "2025-01-01",
"follow_time_end": "2025-02-07",
"current_index": 1,
"page_size": 20
}
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| current_index | int | 是 | 当前页,默认值为1 |
| page_size | int | 是 | 每页大小,默认值为20,最大为100 |
| target_type | int | 否 | 跟进对象类型:1-客户跟进,3-商机跟进,4-线索跟进,9-订单跟进,10-群跟进,11-联系人跟进,12-企业跟进 |
| target_id_list | string[] | 否 | 跟进目标ID列表 |
| id_list | string[] | 否 | 跟进ID列表 |
| follow_user_ids | string[] | 否 | 跟进人ID列表 |
| follow_dep_ids | long[] | 否 | 跟进人所在部门列表 |
| title | string | 否 | 系统跟进类型 |
| follow_time_start | string | 否 | 跟进时间开始,格式为yyyy-MM-dd |
| follow_time_end | string | 否 | 跟进时间结束,格式为yyyy-MM-dd |
返回值:
{
"code": 0,
"msg": "请求成功",
"data": {
"total": 1,
"records": [
{
"id": 1234567890,
"follow_user_id": "user123",
"content": "系统自动跟进:客户状态变更",
"target": {
"contact_id": "contact123",
"external_id": "external123",
"company_id": "company123",
"chat_id": "chat123",
"clue_id": "clue123",
"is_ai": true
},
"business_type": 1,
"business_id": "business123",
"title": "客户状态变更",
"follow_time": 1707292800000,
"create_time": 1707292800000
}
]
},
"sub_code": "00000"
}
参数说明:
| 参数 | 类型 | 说明 |
|---|---|---|
| code | int | 返回码 |
| msg | string | 对返回码的文本描述内容 |
| data | object | 结果 |
| total | long | 总条数 |
| records | object[] | 系统跟进记录信息 |
| id | long | 跟进ID |
| follow_user_id | string | 跟进人ID |
| content | string | 跟进内容 |
| target | object | 跟进对象 |
| contact_id | string | 联系人ID |
| external_id | string | 外部联系人ID |
| company_id | string | 企业ID |
| chat_id | string | 群聊ID |
| clue_id | string | 线索ID |
| business_type | int | 关联业务类型 |
| business_id | string | 关联业务ID |
| title | string | 系统跟进类型 |
| follow_time | long | 跟进时间戳 |
| create_time | long | 创建时间戳 |