GET api/sites/{sid}/totalizers/{meterNumber}/data

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sid

integer

Required

meterNumber

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of TotalizerDataViewModel
NameDescriptionTypeAdditional information
RecorderId

string

Max length: 8

SiteId

integer

None.

MeterNumber

integer

None.

Timestamp

date

None.

Status

integer

None.

Value

decimal number

None.

Links

Gets the links.

Collection of LinkModel

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "recorderId": "sample string 1",
    "siteId": 1,
    "meterNumber": 2,
    "timestamp": "2024-11-21T06:41:08.8886824+00:00",
    "status": 1,
    "value": 1.1
  },
  {
    "recorderId": "sample string 1",
    "siteId": 1,
    "meterNumber": 2,
    "timestamp": "2024-11-21T06:41:08.8886824+00:00",
    "status": 1,
    "value": 1.1
  }
]

application/xml, text/xml

Sample:
<ArrayOfTotalizerDataViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TelogWebAPI.Models">
  <TotalizerDataViewModel>
    <MeterNumber>2</MeterNumber>
    <RecorderId>sample string 1</RecorderId>
    <SiteId>1</SiteId>
    <Status>1</Status>
    <Timestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2024-11-21T06:41:08.8886824Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </Timestamp>
    <Value>1.1</Value>
  </TotalizerDataViewModel>
  <TotalizerDataViewModel>
    <MeterNumber>2</MeterNumber>
    <RecorderId>sample string 1</RecorderId>
    <SiteId>1</SiteId>
    <Status>1</Status>
    <Timestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2024-11-21T06:41:08.8886824Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </Timestamp>
    <Value>1.1</Value>
  </TotalizerDataViewModel>
</ArrayOfTotalizerDataViewModel>