Upload lock battery
https://api.sciener.com/v3/lock/updateElectricQuantity
Upload the lock battery,which is get from SDK method, to server.
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 |
| lockId |
Int |
Y |
Lock ID |
| electricQuantity |
Int |
Y |
Lock battery |
| date |
Long |
Y |
Current time (timestamp in millisecond) |
2.Response
| Parameter |
Type |
Description |
| errcode |
Int |
Error code |
| errmsg |
String |
Error message |