Adjust lock time

https://api.sciener.com/v3/lock/updateDate

If the lock is WiFi lock or it's connected to a gateway, you can request this API to adjust the lock time.

There is a time in the lock, when unlocking via passcode or ekey, the lock will check if it is valid base on the lock time. If the lock time is incorrect, a valid passcode may failed to unlock the lock. You can request cloud API: Get lock time to query the lock time, and you can request this API to adjust lock time if it's incorrect.

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
lockIdIntYLock ID, generated by Lock init
dateLongYCurrent time (timestamp in millisecond)

3 Response and example

ParameterTypeDescription
dateLongThe lock time after adjusting (timestamp in millisecond)