WiFi lock online or offline notify
Same as lock records notify, this API should be developed yourself on your system, you can set the callback URL in the detail page of your application in Management Center. The cloud server will call this callback URL to notify your system when there are WiFi locks online or offline. WiFI lock offline notify has 15 minutes delay from actual offline time
Notice: to receive gateway online or offline notify, please make sure the WiFI lock's administrator have get access token with your application's clientId.
1 Request method
POST, ContentType:application/x-www-form-urlencoded
2 Request parameters
| Name | Type | Description |
|---|---|---|
| notifyType | Int | 3, mean WiFi lock online or offline notify |
| lockId | Int | WiFi lock ID |
| lockAlias | String | WiFi lock name |
| lockMac | String | WiFi lock Mac |
| networkName | String | The network name which the WiFi lock connected to |
| admin | String | WiFi lock's administrator account |
| isOnline | Int | Online or offline:0-Offline,1-Online |
Response
Response a raw string: "success" in the response body.
