Get the detailed info of a Wifi lock
https://cnapi.sciener.com/v3/wifiLock/detail
1 Request example
POST, ContentType:application/x-www-form-urlencoded
javascript
curl --location -g --request POST 'https://cnapi.sciener.com/v3/wifiLock/detail' \
--data-urlencode 'clientId=4773aa036f7f49c68d876bb4be85c80c' \
--data-urlencode 'accessToken=dfd5489d0cee31f0bdfaf59d0d42d71f' \
--data-urlencode 'lockId=163377' \
--data-urlencode 'date=1625025703000'2 Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
| clientId | String | Y | client_id from Create application |
| accessToken | String | Y | Access token,refer to: Get access token |
| lockId | Int | Y | Lock ID, generated by Lock init |
| date | Long | Y | Current time (timestamp in millisecond) |
3 Response and example
| Parameter | Type | Description |
|---|---|---|
| networkName | String | The network name lock connected to |
| ip | String | Static IP address |
| subnetMask | String | Subnet mask |
| defaultGateway | String | Default gateway |
| wifiMac | String | Wifi Mac |
| rssiGrade | Int | WIFI RSSI grade:3-strong,2-midium,1-weak,0-unknown |
| isOnline | Int | Online of offline:0-offline,1-online |
| powerSavingMode | Int | Is in power saving mode:0-unknown、1-yes、2-no |
| preferredDns | String | Preferred DNS |
| alternateDns | String | Alternate DNS |
{
"networkName": "1-101-WIFI",
"wifiMac": "AA:AA:AA:AA:AA:AA",
"rssiGrade":3,
"isOnline": true,
"powerSavingMode":2
}