GET v1/alerts/account-summary?startDate={startDate}&endDate={endDate}

Provides list of water meter alert account summaries for the requesting user.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
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 WaterMeterAlertAccountSummary
NameDescriptionTypeAdditional information
AccountId

Account Id

integer

None.

AccountName

Account 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",
    "ContinousUsageAlertCount": 3,
    "HighHourlyUsageAlertCount": 4,
    "HighDailyUsageAlertCount": 5,
    "TotalUsageAlertCount": 6
  },
  {
    "AccountId": 1,
    "AccountName": "sample string 2",
    "ContinousUsageAlertCount": 3,
    "HighHourlyUsageAlertCount": 4,
    "HighDailyUsageAlertCount": 5,
    "TotalUsageAlertCount": 6
  }
]

application/xml, text/xml

Sample:
<ArrayOfWaterMeterAlertAccountSummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HydroPoint.Api.WaterMeter.Resources.v1">
  <WaterMeterAlertAccountSummary>
    <AccountId>1</AccountId>
    <AccountName>sample string 2</AccountName>
    <ContinousUsageAlertCount>3</ContinousUsageAlertCount>
    <HighDailyUsageAlertCount>5</HighDailyUsageAlertCount>
    <HighHourlyUsageAlertCount>4</HighHourlyUsageAlertCount>
    <TotalUsageAlertCount>6</TotalUsageAlertCount>
  </WaterMeterAlertAccountSummary>
  <WaterMeterAlertAccountSummary>
    <AccountId>1</AccountId>
    <AccountName>sample string 2</AccountName>
    <ContinousUsageAlertCount>3</ContinousUsageAlertCount>
    <HighDailyUsageAlertCount>5</HighDailyUsageAlertCount>
    <HighHourlyUsageAlertCount>4</HighHourlyUsageAlertCount>
    <TotalUsageAlertCount>6</TotalUsageAlertCount>
  </WaterMeterAlertAccountSummary>
</ArrayOfWaterMeterAlertAccountSummary>