获取对接规则详情
GET
https://qyapi.weixin.qq.com/cgi-bin/corpgroup/rule/get_rule_info
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://qyapi.weixin.qq.com/cgi-bin/corpgroup/rule/get_rule_info' \
--header 'Content-Type: application/json' \
--data-raw '{
"chain_id":"Chxxxxxx",
"rule_id":1
}'
响应示例响应示例
{
"errcode": 0,
"errmsg": "ok",
"rule_info": {
"owner_corp_range": {
"departmentids": [
"departmentid1",
"departmentid2"
],
"userids": [
"userid1",
"userid2"
]
},
"member_corp_range": {
"groupids": [
"groupid1",
"groupid2"
],
"corpids": [
"corpid1",
"corpid2"
]
}
}
}
请求参数
Query 参数
access_token
string
调用接口凭证
示例值:
ACCESS_TOKEN
Body 参数application/json