编辑线索池
最后更新:2023/08/25企业可通过此接口编辑线索池
请求方式: POST(HTTPS)
请求地址: https://open.wshoto.com/openapi/crm/cluepool/edit
Query参数:
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
access_token | string | 是 | 调用接口凭证 |
Body参数:
{
"id": 123,
"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
}
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
id | long | 是 | 线索池ID |
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": true
}
参数说明:
参数 | 类型 | 说明 |
---|---|---|
code | int | 返回码 |
msg | string | 对返回码的文本描述内容 |
data | bool | 是否编辑成功 |