|
|
Lock Records Notify
This api shoud be developed by developers, cloud server will call this api to notify devloper's system when there are new lock records.
1. Description
| Name |
Type |
Description |
| lockId |
Int |
Lock ID |
| lockMac |
String |
Lock MAC |
| records |
JsonArray |
Record list |
records
| Parameter |
Type |
Description |
| recordType |
Int |
Record type: 1-App unlock, 2-touch the parking lock, 3-gateway unlock, 4-passcode unlock, 5-parking lock raise, 6-parking lock lower, 7-IC card unlock, 8-fingerprint unlock, 9-wristband unlock, 10-mechanical key unlock, 11-Bluetooth lock, 12-gateway unlock, 29-unexpected unlock, 30-door magnet close, 31-door magnet open, 32-open from inside, 33-lock by fingerprint, 34-lock by passcode, 35-lock by IC card, 36-lock by Mechanical key, 37-Remote Control, 44-Tamper alert, 45-Auto Lock, 46-unlock by unlock key, 47-lock by lock key, 48-Use INVALID Passcode several times |
| success |
Int |
Is success: 0-No, 1-Yes |
| username |
String |
Operator account |
| keyboardPwd |
String |
Passcode,IC card number,or wristband address |
| lockDate |
Long |
Lock time |
| electricQuantity |
Int |
Lock battery |
| serverDate |
Long |
Server time |
2.Response
return String "success" in response body
|