- Overview of OpenAPI
- SlackOpenAPI
- ShopifyOpenAPI
- GithubAPI
- DiscordOpenAPI
- 历史文档(不推荐)
- 开发钉钉应用
- 服务端API
- 新版服务端API(DingTalk OpenAPI)
- 生态伙伴API
客户联系规则组管理-获取规则组管理范围
POST
http://127.0.0.1/cgi-bin/externalcontact/customer_strategy/get_range
企业内部开发/客户联系/客户管理/客户联系规则组管理
最后修改时间:2022-08-30 03:03:37
责任人:未设置
原文档地址:
https://open.work.weixin.qq.com/api/doc/90000/90135/94883
请求参数
Query 参数
access_token
string
调用接口凭证
示例值:
{{accesstoken}}
Body 参数application/json
cursor
string
分页游标
strategy_id
integer <int32>
规则组id
limit
integer <int32>
可选
示例
{
"strategy_id": 1,
"cursor": "CURSOR",
"limit": 1000
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'http://127.0.0.1/cgi-bin/externalcontact/customer_strategy/get_range?access_token={{accesstoken}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"strategy_id": 1,
"cursor": "CURSOR",
"limit": 1000
}'
返回响应
🟢200成功
application/json
Body
errcode
integer <int32>
返回码
next_cursor
string
可选
errmsg
string
可选
range
array [object {1}]
可选
type
必需
示例
{
"errcode": 0,
"errmsg": "ok",
"range": [
{
"type": 1,
"userid": "zhangsan"
},
{
"type": 2,
"partyid": 1
}
],
"next_cursor": "NEXT_CURSOR"
}
