GET OneStop/Groups/{GroupID}/Devices/{DeviceID}/ReadingsSummary?ValidReadingsOnly={ValidReadingsOnly}&FromDate={FromDate}&ToDate={ToDate}
Gets meter reading summaries for specified device
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| GroupID | integer |
Required |
|
| DeviceID |
ID of Device to Get |
integer |
Required |
| ValidReadingsOnly |
Only include readings that have passed validation |
boolean |
Default value is True |
| FromDate |
Include all readings from this date. Default to DateTime.Minvalue |
date |
None. |
| ToDate |
Include all readings up to this date. Default to DateTime.MaxValue |
date |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of MeterReadingSummaryDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| ReadingID | integer |
None. |
|
| DeviceID | integer |
None. |
|
| DeviceTotal | integer |
None. |
|
| ScanDateTime | date |
None. |
|
| TotalColour | integer |
None. |
|
| TotalMono | integer |
None. |
|
| TotalScan | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ReadingID": 1,
"DeviceID": 2,
"DeviceTotal": 3,
"ScanDateTime": "2026-07-07T14:50:15.6382959+01:00",
"TotalColour": 5,
"TotalMono": 6,
"TotalScan": 7
},
{
"ReadingID": 1,
"DeviceID": 2,
"DeviceTotal": 3,
"ScanDateTime": "2026-07-07T14:50:15.6382959+01:00",
"TotalColour": 5,
"TotalMono": 6,
"TotalScan": 7
}
]
application/xml, text/xml
Sample:
<ArrayOfMeterReadingSummaryDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OneStopWebAPI.DTO">
<MeterReadingSummaryDTO>
<DeviceID>2</DeviceID>
<DeviceTotal>3</DeviceTotal>
<ReadingID>1</ReadingID>
<ScanDateTime>2026-07-07T14:50:15.6382959+01:00</ScanDateTime>
<TotalColour>5</TotalColour>
<TotalMono>6</TotalMono>
<TotalScan>7</TotalScan>
</MeterReadingSummaryDTO>
<MeterReadingSummaryDTO>
<DeviceID>2</DeviceID>
<DeviceTotal>3</DeviceTotal>
<ReadingID>1</ReadingID>
<ScanDateTime>2026-07-07T14:50:15.6382959+01:00</ScanDateTime>
<TotalColour>5</TotalColour>
<TotalMono>6</TotalMono>
<TotalScan>7</TotalScan>
</MeterReadingSummaryDTO>
</ArrayOfMeterReadingSummaryDTO>