Get the gateway list of an accountGet the gateway list of an account
https://api.sciener.com/v3/gateway/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 |
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 |
gatewayId |
Int |
Gateway ID |
gatewayMac |
String |
Gateway MAC |
gatewayVersion |
Int |
The version of gateway, 1-G1,2-G2. |
networkName |
String |
The network name gateway connected to. |
lockNum |
Int |
Lock amount of a gateway |
isOnline |
Int |
Is it online: 0-No, 1-Yes |
3.Example of response
{
"list": [
{
"gatewayId": 123156,
"gatewayMac": "52:A6:D8:B2:C1:00",
"lockNum": 5,
"isOnline": 1
}
],
}