PUT api/Rooms/{id}

Updates Room.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

Room
NameDescriptionTypeAdditional information
ID

string

None.

FloorID

string

None.

Name

string

None.

Areas

Collection of Area

None.

UnitIDs

Collection of integer

None.

UnitIDsSQL

string

None.

TimeSlots

Collection of Schedule

None.

Buttons

Collection of Button

None.

ButtonsSQL

string

None.

ButtonsToDelete

Collection of Button

None.

DimmerButtons

Collection of Button

None.

DimmerButtonsSQL

string

None.

PIRs

Collection of integer

None.

PIRsSQL

string

None.

PIRsToDelete

Collection of integer

None.

AutoOffTime

time interval

None.

AutoOffTimeSQL

integer

None.

DimEnabled

boolean

None.

LeadingEdge

boolean

None.

AutoOffPIREnabled

boolean

None.

DimmerLevel

integer

None.

AutoOffMasterPIR

integer

None.

AutoOffMasterPIRToDelete

integer

None.

Request Formats

application/json, text/json, text/html, application/xml, text/xml, application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json, text/html

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>