全量获取设备成员列表
POST
https://qyapi.weixin.qq.com/cgi-bin/openhw/device/get_userinfo_by_page
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://qyapi.weixin.qq.com/cgi-bin/openhw/device/get_userinfo_by_page' \
--header 'Content-Type: application/json' \
--data-raw '{
"cursor":"CURSOR",
"limit":100,
"only_perm_version":false
}'
响应示例响应示例
{
"errcode": 0,
"errmsg": "ok",
"next_cursor": "xxxx",
"perm_version": 5,
"userinfo": {
"useritems": [
{
"open_userid": "ww***********",
"user_name": "张三",
"user_type": 1,
"pass_rule": {
"rule_list": [
{
"id": 0,
"rule": "9:00-10:00 * * 1-5 *",
"effect_time": 1542874137
},
{
"id": 1,
"rule": "9:30-10:00 * * 6 *",
"effect_time": 1542874137
}
]
}
}
]
}
}
请求参数
Query 参数
device_access_token
string
可选
示例值:
DEVICE_ACCESS_TOKEN
Body 参数application/json
返回响应
修改于 2022-12-08 06:24:19