GET api/RecordItems/{id}

Gets RecordItems for the specified address.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

RecordItem
NameDescriptionTypeAdditional information
ID

string

None.

AddressID

string

None.

Time

date

None.

UnitID

integer

None.

SubID

integer

None.

Phase

byte

None.

Command

ControlCommand

None.

ID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": "sample string 1",
  "AddressID": "sample string 2",
  "Time": "2024-12-07T05:42:19.0780942+01:00",
  "UnitID": 4,
  "SubID": 5,
  "Phase": 64,
  "Command": 0
}

text/html

Sample:
{"ID":"sample string 1","AddressID":"sample string 2","Time":"2024-12-07T05:42:19.0780942+01:00","UnitID":4,"SubID":5,"Phase":64,"Command":0}

application/xml, text/xml

Sample:
<RecordItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZPPModel">
  <ID xmlns:d2p1="http://www.w3.org/2001/XMLSchema" i:type="d2p1:int">7</ID>
  <AddressID>sample string 2</AddressID>
  <Command>NoOperation</Command>
  <ID xmlns:d2p1="http://www.w3.org/2001/XMLSchema" i:type="d2p1:string">sample string 1</ID>
  <Phase>64</Phase>
  <SubID>5</SubID>
  <Time>2024-12-07T05:42:19.0780942+01:00</Time>
  <UnitID>4</UnitID>
</RecordItem>