WiFi lock asynchronous request fail 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 is asynchronous request failed.
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 | 4, mean WiFi lock asynchronous request fail notify |
| lockId | Int | WiFi lock ID |
| lockMac | String | WiFi lock Mac |
| uid | Int | The id of the user who send this request |
| objectType | Int | The request type: 2-pincode、3-card、4-fingerprint、5-palm vein、6-face、7-remote |
| objectId | Int | The object id of this request, for example: if the request is for adding a custom pincode, then it’s the "keyboardPwdId" |
| errcode | Int | The errcode indicating the cause of this failure, refer to the error code page. |
Response
Response a raw string: "success" in the response body.
