GET api/sites/{sid}/totalizers
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
sid | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of TotalizerViewModelName | Description | Type | Additional 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-21T09:01:02.348587+00:00", "lastStatus": 1, "lastValue": 1.1 }, { "recorderId": "sample string 1", "siteId": 1, "meterNumber": 2, "lastTimestamp": "2024-11-21T09:01:02.348587+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-21T09:01:02.348587Z</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-21T09:01:02.348587Z</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>