Get the eKey list of an account

https://api.sciener.com/v3/key/list

List all the ekey of a user, including top administrator ekeys and the common ekeys others shared to him.

1 Request example

POST, ContentType:application/x-www-form-urlencoded

2 Request parameters

NameTypeRequiredDescription
clientIdStringYclient_id from Create application
accessTokenStringYAccess token,refer to: Get access token
lockAliasStringNSearch by lock alias, fuzzy matching
groupIdIntNSearch by group ID, refer to cloud API: Add group for details
pageNoIntYPage no, start from 1
pageSizeIntYItems per page, max 1000
dateLongYCurrent time (timestamp in millisecond)

3 Response and example

ParameterTypeDescription
listJSONArraylist of records
pageNoIntPage no, start from 1
pageSizeIntItems per page, max 1000
pagesIntTotal number of pages
totalIntTotal number of records

The objects in the list

ParameterTypeDescription
keyIdIntEkey ID
lockDataStringLock data, used to operate lock
lockIdIntLock ID, generated by Lock init
userTypeStringEkey type:110301-admin ekey, 110302-common user ekey
keyStatusStringRefer to: Ekey status
lockNameStringLock name
lockAliasStringLock alias
lockMacStringLock MAC
noKeyPwdStringSuper passcode, which only belongs to the admin ekey, can be entered on the keypad to unlock
electricQuantityIntLock battery
startDateLongThe time when it becomes valid (timestamp in millisecond)
endDateLongThe time when it is expired (timestamp in millisecond)
remarksStringComment
keyRightIntIs ekey authorized: 0-NO, 1-yes
featureValueStringcharacteristic value. it is used to indicate what kinds of feature do a lock support.
remoteEnableIntIs remote unlock enabled: 1-yes,2-no
passageModeIntPassage mode:1-enable、2-disable
timezoneRawOffsetLongThe offset between your time zone and UTC, in millisecond
groupIdIntGroup id
groupNameStringGroup name