View Advanced Password

Last Updated on : 2024-08-19 06:22:34download

View the advanced password of a smart lock.

API address

GET: /v1.0/devices/{device_id}/door-lock/advanced-password

Request parameter

Parameter nameTypeINRequiredDescription
device_idStringuritrueThe device ID.
advanced_typeStringuritrueThe type of advanced password. Valid values:
  • admin: administrator password.
  • emergency: emergency password.

Return parameter

Parameter nameTypeDescription
resultAdvancedPwdRes

Description of result

Parameter nameTypeDescription
advanced_typeStringThe type of advanced password. Valid values:
  • admin: administrator password.
  • emergency: emergency password.
phaseIntegerPassword configuration status. Valid values:
  • 1: The password is being configured.
  • 2: Configuration succeeded.
  • 3: Configuration failed.

Request example

GET: /v1.0/devices/vdevo15345926009****/door-lock/advanced-password?advanced_type=admin

Error code

For more information, see error code.