创建线索池

最后更新:2023/08/25

企业可通过此接口创建线索池

请求方式: POST(HTTPS)

请求地址: https://open.wshoto.com/openapi/crm/cluepool/create

Query参数:

参数 类型 必填 说明
access_token string 调用接口凭证

Body参数:

{
  "user_id": "test_4f1469442b8b",
  "clue_pool_name": "test_dc577797d715",
  "recycle_rule_type": 1,
  "set_recycle_days": 7,
  "group_ids": [
    "test_18a5fc5f8560"
  ],
  "distribute_rule_type": 0,
  "distribute_dept_ids": [
    "test_e54eb6104387"
  ],
  "distribute_user_ids": [
    "test_d0e596abef05"
  ],
  "not_follow_recycle_days": 7
}
参数 类型 必填 说明
user_id string 操作人
clue_pool_name string 线索池名称
recycle_rule_type int 线索回收规则类型,0-不自动回收,1-自动回收.默认值:0
set_recycle_days int 跟进人超过N天未成功添加企微好友,线索自动回收,当回收规则类型为1-自动回收时,才有回收天数.当该字段与not_follow_recycle_days同时为空,则系统默认将set_recycle_days赋值为7天
group_ids array 管理组ID集合,集合最大长度为20.默认值:超级管理组
distribute_rule_type int 分配规则 0-手动分配型.1-自动分配型.2-主动领取型.默认值:0.当分配规则为1或2时候,部门id集合和员工id集合不能同时为空
distribute_dept_ids array 可见范围部门ID集合,集合最大值为100.当分配规则为1-自动分配或2-主动领取时,部门id集合和员工id集合不能同时为空
distribute_user_ids array 可见范围员工ID集合,集合最大值为100.当分配规则为1-自动分配或2-主动领取时,部门id集合和员工id集合不能同时为空
not_follow_recycle_days int 跟进人超过N天未跟进,线索自动回收,当回收规则类型为1-自动回收时,才有回收天数.当该字段与set_recycle_days同时为空,则系统默认将set_recycle_days赋值为7天

返回值:

{
  "code": 0,
  "msg": "请求成功",
  "data": 1000
}

参数说明:

参数 类型 说明
code int 返回码
msg string 对返回码的文本描述内容
data long 线索池id

results matching ""

    No results matching ""