Get the lock list of a gateway
https://api.sciener.com/v3/gateway/listLock
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 |
| gatewayId |
Int |
Y |
Gateway ID |
| date |
Long |
Y |
Current time (timestamp in millisecond) |
2.Response
| Parameter |
Type |
Description |
| lockId |
Int |
Lock ID |
| lockMac |
String |
Lock MAC |
| lockName |
String |
Lock name |
| lockAlias |
String |
Lock alias |
| rssi |
Int |
The signal intensity between gateway and lock. reference: >-75 is strong, -85<i<-75 is medium, <-85 is weak |
| updateDate |
Long |
The time when the signal intensity updated |
4.Example of response
{
"list": [
{
"lockId": 123156,
"lockMac": "52:A6:D8:B2:C1:00",
"lockName": "M202_54444",
"rssi": -80,
"updateDate": 1490247682268,
}
],
}