GET v1/sites/{siteId}/alerts/meter-summary?startDate={startDate}&endDate={endDate}
Provides list of water meter alert summaries for the given site.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| siteId |
Alert summaries will be provided for this site id. |
integer |
Required |
| startDate |
Only alerts raised after this time will be included. |
date |
None. |
| endDate |
Only alerts raised before this time will be included. |
date |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of WaterMeterAlertSummary| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountId |
Account Id |
integer |
None. |
| AccountName |
Account Name |
string |
None. |
| SiteId |
The parent site's id. |
integer |
None. |
| SiteName |
The parent site's name. |
string |
None. |
| WaterMeterId |
The water meter's id. |
integer |
None. |
| WaterMeterName |
The water meter's name. |
string |
None. |
| ContinousUsageAlertCount |
Total number of continuous usage alerts. |
integer |
None. |
| HighHourlyUsageAlertCount |
Total number of high hourly usage alerts. |
integer |
None. |
| HighDailyUsageAlertCount |
Total number of high daily usage alerts. |
integer |
None. |
| TotalUsageAlertCount |
Total number of usage alerts. |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"AccountId": 1,
"AccountName": "sample string 2",
"SiteId": 3,
"SiteName": "sample string 4",
"WaterMeterId": 5,
"WaterMeterName": "sample string 6",
"ContinousUsageAlertCount": 7,
"HighHourlyUsageAlertCount": 8,
"HighDailyUsageAlertCount": 9,
"TotalUsageAlertCount": 10
},
{
"AccountId": 1,
"AccountName": "sample string 2",
"SiteId": 3,
"SiteName": "sample string 4",
"WaterMeterId": 5,
"WaterMeterName": "sample string 6",
"ContinousUsageAlertCount": 7,
"HighHourlyUsageAlertCount": 8,
"HighDailyUsageAlertCount": 9,
"TotalUsageAlertCount": 10
}
]
application/xml, text/xml
Sample:
<ArrayOfWaterMeterAlertSummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HydroPoint.Api.WaterMeter.Resources.v1">
<WaterMeterAlertSummary>
<AccountId>1</AccountId>
<AccountName>sample string 2</AccountName>
<ContinousUsageAlertCount>7</ContinousUsageAlertCount>
<HighDailyUsageAlertCount>9</HighDailyUsageAlertCount>
<HighHourlyUsageAlertCount>8</HighHourlyUsageAlertCount>
<SiteId>3</SiteId>
<SiteName>sample string 4</SiteName>
<TotalUsageAlertCount>10</TotalUsageAlertCount>
<WaterMeterId>5</WaterMeterId>
<WaterMeterName>sample string 6</WaterMeterName>
</WaterMeterAlertSummary>
<WaterMeterAlertSummary>
<AccountId>1</AccountId>
<AccountName>sample string 2</AccountName>
<ContinousUsageAlertCount>7</ContinousUsageAlertCount>
<HighDailyUsageAlertCount>9</HighDailyUsageAlertCount>
<HighHourlyUsageAlertCount>8</HighHourlyUsageAlertCount>
<SiteId>3</SiteId>
<SiteName>sample string 4</SiteName>
<TotalUsageAlertCount>10</TotalUsageAlertCount>
<WaterMeterId>5</WaterMeterId>
<WaterMeterName>sample string 6</WaterMeterName>
</WaterMeterAlertSummary>
</ArrayOfWaterMeterAlertSummary>