Open Platform
Skip to content

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 ​

NameTypeRequiredDescription
clientIdStringYclient_id from Create application
accessTokenStringYAccess token,refer to: Get access token
lockIdIntYLock ID, generated by Lock init
dateLongYCurrent time (timestamp in millisecond)

3 Response and example ​

ParameterTypeDescription
networkNameStringThe network name lock connected to
ipStringStatic IP address
subnetMaskStringSubnet mask
defaultGatewayStringDefault gateway
wifiMacStringWifi Mac
rssiGradeIntWIFI RSSI grade:3-strong,2-midium,1-weak,0-unknown
isOnlineIntOnline of offline:0-offline,1-online
powerSavingModeIntIs in power saving mode:0-unknown、1-yes、2-no
preferredDnsStringPreferred DNS
alternateDnsStringAlternate DNS
{
    "networkName": "1-101-WIFI", 
    "wifiMac": "AA:AA:AA:AA:AA:AA",
    "rssiGrade":3,
    "isOnline": true,
    "powerSavingMode":2 
}
CopyRight © 2012-2026 Sciener.All Rights Reserved