Reset passcode
https://api.sciener.com/v3/lock/resetKeyboardPwd
Call this api after you calling the SDK method to reset the passcode. All passcode will be invalidated after reseting, except the super passcode.
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 |
pwdInfo |
String |
Y |
Initial data of passcode, which is generated by SDK, is used to create passcode |
timestamp |
Long |
Y |
The timestamp which is generated by SDK during lock initializing time |
date |
Long |
Y |
Current time (timestamp in millisecond) |
2.Response
Parameter |
Type |
Description |
errcode |
Int |
Error code |
errmsg |
String |
Error message |
3.Example of response
{
"errcode": 0,
"errmsg": "none error message",
"description": "none error message or means yes"
}