客户联系规则组管理-创建新的规则组
POST
/cgi-bin/externalcontact/customer_strategy/create
服务端API企业内部开发
文档ID: 32023
原文档地址:
https://open.work.weixin.qq.com/api/doc/90000/90135/94883
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://qyapi.weixin.qq.com/cgi-bin/externalcontact/customer_strategy/create?access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{
"parent_id":0,
"strategy_name": "NAME",
"admin_list":[
"zhangsan",
"lisi"
],
"privilege":
{
"view_customer_list":true,
"view_customer_data":true,
"view_room_list":true,
"contact_me":true,
"join_room":true,
"share_customer":false,
"oper_resign_customer":true,
"send_customer_msg":true,
"edit_welcome_msg":true,
"view_behavior_data":true,
"view_room_data":true,
"send_group_msg":true,
"room_deduplication":true,
"rapid_reply":true,
"onjob_customer_transfer":true,
"edit_anti_spam_rule":true,
"export_customer_list":true,
"export_customer_data":true,
"export_customer_group_list":true,
"manage_customer_tag":true
},
"range":
[
{
"type":1,
"userid":"zhangsan"
},
{
"type":2,
"partyid":1
}
]
}'
响应示例响应示例
{
"errcode": 0,
"errmsg": "ok",
"strategy_id": 1
}
请求参数
Query 参数
access_token
调用接口凭证
示例值:
{{accesstoken}}
Body 参数application/json
返回响应
修改于 2022-01-14 04:25:41