GET api/Units/{id}

Gets Unit.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

Unit
NameDescriptionTypeAdditional information
ID

integer

None.

AddressID

string

None.

Name

string

None.

FullID

string

None.

Type

UnitType

None.

DoNotTurnOff

boolean

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.

DimmerLevel

integer

None.

LeadingEdge

boolean

None.

AutoOffPIREnabled

boolean

None.

AutoOffMasterPIR

integer

None.

AutoOffMasterPIRToDelete

integer

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.