GET api/RecordItemsList/{id}

Gets RecordItems for the specified address.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of 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-11-21T10:54:39.4428802+01:00",
    "UnitID": 4,
    "SubID": 5,
    "Phase": 64,
    "Command": 0
  },
  {
    "ID": "sample string 1",
    "AddressID": "sample string 2",
    "Time": "2024-11-21T10:54:39.4428802+01:00",
    "UnitID": 4,
    "SubID": 5,
    "Phase": 64,
    "Command": 0
  }
]

text/html

Sample:
[{"ID":"sample string 1","AddressID":"sample string 2","Time":"2024-11-21T10:54:39.4428802+01:00","UnitID":4,"SubID":5,"Phase":64,"Command":0},{"ID":"sample string 1","AddressID":"sample string 2","Time":"2024-11-21T10:54:39.4428802+01:00","UnitID":4,"SubID":5,"Phase":64,"Command":0}]

application/xml, text/xml

Sample:
<ArrayOfRecordItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZPPModel">
  <RecordItem>
    <ID xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int">7</ID>
    <AddressID>sample string 2</AddressID>
    <Command>NoOperation</Command>
    <ID xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string">sample string 1</ID>
    <Phase>64</Phase>
    <SubID>5</SubID>
    <Time>2024-11-21T10:54:39.4428802+01:00</Time>
    <UnitID>4</UnitID>
  </RecordItem>
  <RecordItem>
    <ID xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int">7</ID>
    <AddressID>sample string 2</AddressID>
    <Command>NoOperation</Command>
    <ID xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string">sample string 1</ID>
    <Phase>64</Phase>
    <SubID>5</SubID>
    <Time>2024-11-21T10:54:39.4428802+01:00</Time>
    <UnitID>4</UnitID>
  </RecordItem>
</ArrayOfRecordItem>