GET v1/accounts/{accountId}/alerts/meter-summary?startDate={startDate}&endDate={endDate}
Provides list of water meter alert summaries for the given account.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
accountId |
Account 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 WaterMeterAlertSummaryName | 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>