变更协作团队标签

给指定协作团队客户添加企业标签。

请求方式: POST(HTTPS)

请求地址: https://open.wshoto.com/openapi/customer/coop/tag/add?access_token=x

Query参数:

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

参数说明:

参数 类型 必填 说明
userid string 当客户添加的员工超过10人时,该参数为必填项; 不超过10人时,将一次性把标签打在所有的好友关系上
external_user_id string 外部联系人
type int 0:添加 1:覆盖 2:清除(删除全部标签)
tag_list string[] 标签id集合(type为0,1时必传. 为2时不传)

参数示例:

{
  "userid": "YunHanceshi",
  "external_user_id": "wmJYSuBgAAFyDEU2SLeCVZbblxaxzX4w",
  "type": 0,
  "tag_list": ["TAG_ID1", "TAG_ID2"]
}

返回值:

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

返回说明:

参数 类型 说明
code int 出错返回码,为0表示成功,非0表示调用失败
msg string 返回码描述
data bool 是否操作成功

results matching ""

    No results matching ""