Get the lock list of an account
https://api.sciener.com/v3/lock/list
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
lockAlias String N Search by lock alias, fuzzy matching
type Int N Device type:1-lock, 2-Lift Controller, default 1
groupId Int N Group id
pageNo Int Y Page, start from 1
pageSize Int Y Items per page, default 20, max 10000
date Long Y Current time (timestamp in millisecond)
2.Response
Parameter Type Description
lockId Int Lock ID
date Long Lock init time
lockName String Lock name
lockAlias String Lock alias
lockMac String Lock MAC
electricQuantity Int Lock battery
keyboardPwdVersion Int Passcode version: 0、1、2、3、4
specialValue Int characteristic value. it is used to indicate what kinds of feature do a lock support.
hasGateway Int Is the lock binded to gateway:1-yes, 0-no
lockData String Lock data, used to operate lock
groupId Int Group id
groupName String Group name
3.Example of response
{
    "list": [
        {
            "lockId": 123156,
            "date": 1235545850000,
            "lockName": "M201-d9223",
            "lockAlias": "Outdoor lock",
            "lockMac": "52:A6:D8:B2:C1:00",
            "electricQuantity": 100,
            "keyboardPwdVersion": 1,
            "specialValue": 1288
        }
    ],
}