Update one or more switches of a customer. Field communication job will be triggered if successful.
switch/slcID of customer
PUT
-
-
| Entity | Type | Nullable | Description |
|---|---|---|---|
| switch | array (mainEntity) | no | If your request only contains one switch, you cann assign the object maainEntity directly. No array needed in this case. |
| Entity | Type | Nullable | Description |
|---|---|---|---|
| id | int | no | slcID of switch |
| switch_id | int | no | switch number |
| name | string | yes | name of switch |
| brightness | int | no | brightness if active |
| state | bool | no | is active |
| permanent | bool | no | persistent switch state |
| mode | int | no | 0 = OFF | 1 = Relative brightness | 2 = Absolute brightness | 3 = Blink |
{
"switch": [{
"id": 3,
"name": "99%",
"brightness": 99,
"state": true
}]
}