Set Logical address
Returns logical address - an entity defines the device/user address in the address hierarchy and is used during a call.
device_code is 0 - for master device, and [1-8] - for a slave device.
Some settings sync between devices and you can change setting only if you work with master device
- application/json
Request Body required
- MOD1
- MOD2
- building integer required
Possible values:
>= 1and<= 9999Building number
- unit integer required
Possible values:
<= 99Unit number
- floor integer required
Possible values:
<= 98Floor number
- family integer required
Possible values:
<= 99Family number
- device_code integer required
Possible values:
<= 8Device code. It is used for syncing device.
- 0 - master device
- 1-8 - slave devices
- sync string required
Device syncing code
- family integer required
Possible values:
>= 1and<= 8Family number
oneOf
Responses
- 200
- 400
- 401
OK
Wrong values
- application/json
- Schema
- Example (from schema)
- Example
- Concierge
Schema
errors object[]
List of errors
message stringError information
field stringPlace where error happened
{
"errors": [
{
"message": "Wrong 'unit value'",
"field": "unit"
}
]
}
{
"errors": [
{
"message": "Wrong 'unit value'",
"field": "unit"
}
]
}
{
"family": 1
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
Error information
{
"error": "Log In"
}
{
"error": "Log In"
}
Loading...