客户联系规则组管理-编辑规则组及其管理范围
POST
/cgi-bin/externalcontact/customer_strategy/edit
/cgi-bin/externalcontact/customer_strategy/edit
服务端API企业内部开发
原文档地址:
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/edit?access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{
"strategy_id": 0,
"strategy_name": "string",
"admin_list": [
"string"
],
"privilege": {
"view_customer_list": true,
"view_customer_data": true,
"view_room_list": true,
"contact_me": true,
"join_room": true,
"share_customer": true,
"oper_resign_customer": true,
"oper_resign_group": 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_add": [
{
"type": 0,
"userid": "string",
"partyid": 0
}
],
"range_del": [
{
"type": 0,
"userid": "string",
"partyid": 0
}
]
}'
响应示例响应示例
{
"errcode": 0,
"errmsg": "ok"
}
请求参数
Query 参数
access_token
调用接口凭证
示例值:
{{accesstoken}}
Body 参数application/json
返回响应
修改于 2022-01-14 04:25:41