curl --location --request POST 'https://qyapi.weixin.qq.com/cgi-bin/devicedata/get_accesscontrol_data' \
--header 'Content-Type: application/json' \
--data-raw '{
"user_type":0,
"begin_time":12345,
"end_time":67890,
"data_filter_type":1,
"device_sn_list":[
"SN1",
"SN2"
],
"open_userid_list":[
],
"cursor":"CURSOR",
"limit":"LIMIT",
"agentid":10000
}'
{
"errcode": 0,
"errmsg": "ok",
"accesscontrol_data": {
"items": [
{
"open_userid": "userid1",
"user_type": 0,
"timestamp": 1662697304,
"pass_type": 1,
"pass_method": 0,
"device_sn": "C00123122"
},
{
"open_userid": "userid2",
"user_type": 0,
"timestamp": 1662697304,
"pass_type": 1,
"pass_method": 0,
"device_sn": "C00123122"
}
]
},
"next_cursor": "FVXbiWcnRUTZ8ZBzI905eQ=="
}