Update lock data(reset ekey, reset passcode)

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

Upload the renewed lock data to cloud sever.

If you have modified the feature value of the lock, reseted ekey or reseted passcode, you have to upload the renewed lock data to the cloud server.

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
lockDataStringYLock data from APP SDK
dateLongYCurrent time (timestamp in millisecond)

3 Response and example

ParameterTypeDescription
errcodeIntError code
errmsgStringError message