1.Overview
The server actively pushes the log to the notify url, which is set in the QRMaster interface settings
2.Request method
3.Parameter Description
Attribute |
Type |
Required |
Explanation |
msgId |
String |
Yes |
Log ID, the unique identifier of the log itself |
msgType |
Int |
Yes |
Log type, 1-Door opening log |
msgData |
Object |
Yes |
Log data, data corresponding to the log type |
msgType: 1 (Opening log)
Attribute |
Type |
Required |
Explanation |
communityNo |
String |
Yes |
Community No. |
buildNo |
String |
Yes |
Building No. |
floorNo |
String |
Yes |
Floor No. |
roomNo |
String |
Yes |
Room No. |
cardType |
String |
Yes |
Card type: 6 - room card; 12 - building card; 13 - floor card |
charge |
String |
Yes |
Electricity |
openTime |
String |
Yes |
Unlock Time |
openWay |
String |
Yes |
Door opening method: 0 - Unknown; 1 - QR code; 2 - RF card |
holderName |
String |
No |
Holder Name |
serialNum |
String |
No |
RF card serial number |
qrCardNo |
String |
No |
QR CardNo, the cardno returned when creating a room card |
qrCardType |
String |
No |
QR CardNo Type, 0 - room card; 1 - floor card; 2 - building card |
4.Data Format
5.Data Example
{
"msgId": "OPLG6001",
"msgType": 1,
"msgData": {
"communityNo": "1316880807",
"buildNo": "002",
"floorNo": "062",
"roomNo": "C6-01",
"cardType": "6",
"charge": "100",
"openTime": "2025-03-17 17:29:00",
"openWay": "1",
"holderName": "user01",
"serialNum": "39128830",
"qrCardType": "0",
"qrCardNo": "38RKq5JERxdkzdrx"
}
}
6.Response Data
Returns the response of HTTP status code 200 and the string success indicating successful processing
Otherwise the server will notify again after 1 second, 5 seconds, 30 seconds, 1 minute, 5 minutes, and 1 hour