|
Get unlock records
https://api.sciener.com/v3/lockRecord/list
1. Description
Name |
Type |
Required |
Description |
clientId |
String |
Y |
The app_id which is assigned by system when you create an application |
accessToken |
String |
Y |
Access token |
lockId |
Int |
Y |
Lock ID |
startDate |
Long |
N |
Query start time (0 for no constraint) |
endDate |
Long |
N |
Query end time (0 for no constraint) |
pageNo |
Int |
Y |
Page, start from 1 |
pageSize |
Int |
Y |
Items per page, default 20, max 100 |
date |
Long |
Y |
Current time (timestamp in millisecond) |
2.Response
Parameter |
Type |
Description |
list |
JsonObject |
Record list |
pageNo |
Int |
Page, start from 1 |
pageSize |
Int |
Items per page, default 20, max 100 |
pages |
Int |
Total pages |
total |
Int |
Total items |
The objects of the returning data
Parameter |
Type |
Description |
lockId |
Int |
Lock ID |
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 |
serverDate |
Long |
Server time |
|