分配离职成员的客户和客户群

企业可通过此接口分配离职成员的客户和客户群

请求方式: POST(HTTPS)

请求地址: https://open.wshoto.com/openapi/customer/inherit/create_leave_task?access_token=x

Query参数:

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

Body参数:

{
  "operator": "operator",
  "allocate_type": 0,
  "leave_userids": ["leave_userid"],
  "unallocate_ids": ["unallocate_id"],
  "new_userid": "new_userid"
}
参数 类型 必填 说明
operator str 分配操作人
allocate_type int 分配类型 0: 全部分配 1: 分配客户 2: 分配客户群
leave_userids str[] 已离职员工useid
unallocate_ids str[] 待分配的数据,当allocateType:1,代表为:exterUserId,当allocateType:2代表为: chat_id
new_userid str 接替员工

返回值:

{
  "code": 0,
  "msg": "请求成功",
  "data": "fake_data",
  "sub_code": "00000"
}

参数说明:

参数 类型 说明
code int 返回码
msg string 对返回码的文本描述内容
data str 返回值
sub_code string 业务服务异常码

results matching ""

    No results matching ""