|
Get all created passcodes of a lock
https://api.sciener.com/v3/lock/listKeyboardPwd
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 |
pageNo |
Int |
Y |
Page, start from 1 |
pageSize |
Int |
Y |
Items per page, default 20, max 100 |
date |
Long |
Y |
Current time (timestamp in millisecond) |
2.Response
Parameter |
Type |
Description |
list |
JSONObject |
Record list |
The objects of the returning data
Parameter |
Type |
Description |
keyboardPwdId |
Int |
Passcode ID |
lockId |
Int |
Lock ID |
keyboardPwd |
String |
Passcode |
keyboardPwdName |
String |
Passcode name |
keyboardPwdVersion |
Int |
Passcode version |
keyboardPwdType |
Int |
Passcode type |
startDate |
Long |
The time when it becomes valid, timestamp in milliseconds |
endDate |
Long |
The time when it is expired, timestamp in milliseconds |
sendDate |
Long |
Send time |
isCustom |
Int |
Is custom or not: 1-yes, 0-no |
status |
Int |
NB-IoT operate status:1-normal, 2-invalid or expired, 3-pending, 4-adding, 5-add failed, 6-modifying, 7-modify failed, 8-deleting, 9-delete failed |
senderUsername |
String |
The sender's username |
|