GET api/AddressFirmwareUpdates/{id}

Gets list of firmware updates for an address.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of FirmwareUpdate
NameDescriptionTypeAdditional information
ID

string

None.

AddressID

string

None.

UnitID

string

None.

LastKnownVersion

integer

None.

LastRespondedVersion

integer

None.

LastUpdateTime

date

None.

LastUpdateMessage

string

None.

PIRTurnOnEnabledToReprogram

byte

None.

LinksToReProgram

Collection of Button

None.

LinksToReProgramSQL

string

None.

LinkActions

Collection of byte

None.

LinkActionsSQL

string

None.

AutoOffTimeToReprogram

time interval

None.

AutoOffTimeToReprogramSQL

integer

None.

PIRAutoOffTimeToReprogram

time interval

None.

PIRAutoOffTimeToReprogramSQL

integer

None.

DimmerLevel

integer

None.

DimmerType

integer

None.

TurnOnState

integer

None.

PowerCalibration

integer

None.

DoNotTurnOff

integer

None.

ResponsePercentage

integer

None.

Response Formats

application/json, text/json

Sample:
[
  null,
  {
    "ID": "sample string 1",
    "AddressID": "sample string 2",
    "UnitID": "sample string 3",
    "LastKnownVersion": 4,
    "LastRespondedVersion": 5,
    "LastUpdateTime": "2019-11-17T06:49:22.8876273+01:00",
    "LastUpdateMessage": "sample string 7",
    "PIRTurnOnEnabledToReprogram": 64,
    "LinksToReProgram": [],
    "LinksToReProgramSQL": "",
    "LinkActions": null,
    "LinkActionsSQL": "",
    "AutoOffTimeToReprogram": "00:00:00",
    "AutoOffTimeToReprogramSQL": 0,
    "PIRAutoOffTimeToReprogram": "00:00:00",
    "PIRAutoOffTimeToReprogramSQL": 0,
    "DimmerLevel": 0,
    "DimmerType": 0,
    "TurnOnState": 0,
    "PowerCalibration": 0,
    "DoNotTurnOff": 0,
    "ResponsePercentage": 0
  }
]

text/html

Sample:
[null,{"ID":"sample string 1","AddressID":"sample string 2","UnitID":"sample string 3","LastKnownVersion":4,"LastRespondedVersion":5,"LastUpdateTime":"2019-11-17T06:49:22.8876273+01:00","LastUpdateMessage":"sample string 7","PIRTurnOnEnabledToReprogram":64,"LinksToReProgram":[],"LinksToReProgramSQL":"","LinkActions":null,"LinkActionsSQL":"","AutoOffTimeToReprogram":"00:00:00","AutoOffTimeToReprogramSQL":0,"PIRAutoOffTimeToReprogram":"00:00:00","PIRAutoOffTimeToReprogramSQL":0,"DimmerLevel":0,"DimmerType":0,"TurnOnState":0,"PowerCalibration":0,"DoNotTurnOff":0,"ResponsePercentage":0}]

application/xml, text/xml

Sample:
<ArrayOfFirmwareUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZPPModel.Model">
  <FirmwareUpdate i:nil="true" />
  <FirmwareUpdate>
    <AddressID>sample string 2</AddressID>
    <AutoOffTimeToReprogram>PT0S</AutoOffTimeToReprogram>
    <AutoOffTimeToReprogramSQL>0</AutoOffTimeToReprogramSQL>
    <DimmerLevel>0</DimmerLevel>
    <DimmerType>0</DimmerType>
    <DoNotTurnOff>0</DoNotTurnOff>
    <ID>sample string 1</ID>
    <LastKnownVersion>4</LastKnownVersion>
    <LastRespondedVersion>5</LastRespondedVersion>
    <LastUpdateMessage>sample string 7</LastUpdateMessage>
    <LastUpdateTime>2019-11-17T06:49:22.8876273+01:00</LastUpdateTime>
    <LinkActions xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
    <LinkActionsSQL></LinkActionsSQL>
    <LinksToReProgram />
    <LinksToReProgramSQL></LinksToReProgramSQL>
    <PIRAutoOffTimeToReprogram>PT0S</PIRAutoOffTimeToReprogram>
    <PIRAutoOffTimeToReprogramSQL>0</PIRAutoOffTimeToReprogramSQL>
    <PIRTurnOnEnabledToReprogram>64</PIRTurnOnEnabledToReprogram>
    <PowerCalibration>0</PowerCalibration>
    <ResponsePercentage>0</ResponsePercentage>
    <TurnOnState>0</TurnOnState>
    <UnitID>sample string 3</UnitID>
  </FirmwareUpdate>
</ArrayOfFirmwareUpdate>