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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sid

integer

Required

meterNumber

integer

Required

Body Parameters

None.

Response Information

Resource Description

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": "2025-01-28T18:17:29.155994+00:00",
  "lastStatus": 1,
  "lastValue": 1.1
}

application/xml, text/xml

Sample:
<TotalizerViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TelogWebAPI.Models">
  <LastStatus>1</LastStatus>
  <LastTimestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-01-28T18:17:29.155994Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </LastTimestamp>
  <LastValue>1.1</LastValue>
  <MeterNumber>2</MeterNumber>
  <RecorderId>sample string 1</RecorderId>
  <SiteId>1</SiteId>
</TotalizerViewModel>