获取线索池列表
企业可通过此接口 查询线索池列表
请求方式: POST(HTTPS)
请求地址: https://open.wshoto.com/openapi/crm/cluepool/list
Query参数:
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| access_token | string | 是 | 调用接口凭证 |
Body参数:
{
"clue_pool_name": "线索池名称",
"current_index": 1,
"page_size": 10
}
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| clue_pool_name | string | 否 | 线索池名称 |
| current_index | int | 否 | 页码。默认值为1 |
| page_size | int | 否 | 列表返回长度。默认值为20,最大值为100 |
返回值:
{
"code": 0,
"msg": "请求成功",
"data": {
"total": 15,
"records": [
{
"id": 5012,
"clue_pool_name": "默认线索池",
"clue_num": "562",
"recycle_rule_type": 1,
"is_default_pool": true,
"main_department": "1",
"receive_rule": "管理员分配",
"create_user_id": "WaWaWa"
}
]
}
}
参数说明:
| 参数 | 类型 | 说明 __ |
|---|---|---|
| code | int | 返回码 |
| msg | string | 对返回码的文本描述内容 |
| data | Page | 分页对象 |
| total | int | 总条数 |
| records | CluePoolInfo [] | 线索池信息 |
| id | long | 线索池id |
| clue_pool_name | string | 线索池名称 |
| clue_num | string | 线索客户数 |
| recycle_rule_type | int | 回收规则类型 |
| is_default_pool | bool | 是否默认 |
| main_department | string | 主部门id |
| receive_rule | string | 分配规则 |
| create_user_id | string | 创建人 |