GET api/totalizers/{recorderId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
recorderId

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of TotalizerViewModel
NameDescriptionTypeAdditional information
RecorderId

string

Max length: 8

SiteId

integer

None.

MeterNumber

integer

None.

LastTimestamp

date

None.

LastStatus

integer

None.

LastValue

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,
    "lastTimestamp": "2024-11-21T11:21:08.4776647+00:00",
    "lastStatus": 1,
    "lastValue": 1.1
  },
  {
    "recorderId": "sample string 1",
    "siteId": 1,
    "meterNumber": 2,
    "lastTimestamp": "2024-11-21T11:21:08.4776647+00:00",
    "lastStatus": 1,
    "lastValue": 1.1
  }
]

application/xml, text/xml

Sample:
<ArrayOfTotalizerViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TelogWebAPI.Models">
  <TotalizerViewModel>
    <LastStatus>1</LastStatus>
    <LastTimestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2024-11-21T11:21:08.4776647Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </LastTimestamp>
    <LastValue>1.1</LastValue>
    <MeterNumber>2</MeterNumber>
    <RecorderId>sample string 1</RecorderId>
    <SiteId>1</SiteId>
  </TotalizerViewModel>
  <TotalizerViewModel>
    <LastStatus>1</LastStatus>
    <LastTimestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2024-11-21T11:21:08.4776647Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </LastTimestamp>
    <LastValue>1.1</LastValue>
    <MeterNumber>2</MeterNumber>
    <RecorderId>sample string 1</RecorderId>
    <SiteId>1</SiteId>
  </TotalizerViewModel>
</ArrayOfTotalizerViewModel>