GET v1/metering/list?monitoringPointId={monitoringPointId}&startDate={startDate}&endDate={endDate}
Get list of metering consumption
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| monitoringPointId |
Monitoring Point ID |
integer |
Required |
| startDate |
Start date |
date |
Required |
| endDate |
End date |
date |
Required |
Body Parameters
None.
Response Information
Resource Description
Return list of metering consumption
Collection of MeteringModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Year | integer |
None. |
|
| Month | integer |
None. |
|
| Day | integer |
None. |
|
| MeterType | MeterType |
None. |
|
| Total | integer |
None. |
|
| MonitoringPointId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Year": 2,
"Month": 1,
"Day": 1,
"MeterType": 1,
"Total": 3,
"MonitoringPointId": 4
},
{
"Id": 1,
"Year": 2,
"Month": 1,
"Day": 1,
"MeterType": 1,
"Total": 3,
"MonitoringPointId": 4
}
]
application/xml, text/xml
Sample:
<ArrayOfMeteringModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/I9P.SmartCity.API.Models">
<MeteringModel>
<Day>1</Day>
<Id>1</Id>
<MeterType>Energy</MeterType>
<MonitoringPointId>4</MonitoringPointId>
<Month>1</Month>
<Total>3</Total>
<Year>2</Year>
</MeteringModel>
<MeteringModel>
<Day>1</Day>
<Id>1</Id>
<MeterType>Energy</MeterType>
<MonitoringPointId>4</MonitoringPointId>
<Month>1</Month>
<Total>3</Total>
<Year>2</Year>
</MeteringModel>
</ArrayOfMeteringModel>