Set
Function
This API is used to set parameter for Function > DoorBellConfig page.
Request Message
Parameter Description
Table 1
Parameter | Range | Type | Description |
---|---|---|---|
use_mechanical_bell | bool | Whether to use mechanical bells |
Sample:
POST /API/DoorBellConfig/Set HTTP/1.1
{
"data": {
"use_mechanical_bell":true
}
}
Response Message
Sample:
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 40
{
"result": "success",
"data": {}
}
Error Code
See Response Messages Body and Common error_code for more information.