curl --location --request POST 'https://api2.hik-cloud.com/api/v1/open/accessControl/allots/actions/searchStatus' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"pageNo": 1,
"pageSize": 10,
"groupId": "f4f4eac8de874afe8e9a1f15139718c1",
"deviceSerial": "DEV982KS",
"employeeNo": "emp101"
}'
{
"code": 200,
"message": "success",
"data": {
"pageNo": 1,
"pageSize": 10,
"total": 0,
"rows": [
{
"syncId": "ddf4eac8derw4afe8e9a1f15139228c3",
"permissionGroupId": "f4f4eac8de874afe8e9a1f15139718c1",
"deviceSerial": "DEV982KS",
"employeeNo": "emp101",
"authType": "person",
"operateType": "add",
"authStatus": "failed",
"errorCode": "20007",
"errorMsg": "设备不在线",
"resolve": "请检查设备网络",
"detailNo": "",
"createTime": "2020-05-18T11:21:13+08:00",
"updateTime": "2020-05-18T11:21:13+08:00"
}
]
}
}