GET api/ConditionsDetails?username={username}&password={password}

Gets the current conditions for all the meters registered to a utility

Request Information

URI Parameters

NameDescriptionType
username

The user name.

string
password

The account password.

string

Header

None.

Body Parameters

None.

Response Information

Resource Description

Return list of consumption details by account id

Collection of ConsumerConsumptions
NameDescriptionType
MeterId

integer
EventType

string
DayOfOccurence

string

Response Formats

application/json, text/json

Sample:
[
  {
    "MeterId": 90000001,
    "EventType": "Zero Usage",
    "DayOfOccurence": "08/19/2021"
  },
  {
    "MeterId": 90000001,
    "EventType": "Threshold Leak",
    "DayOfOccurence": "08/19/2021"
  }
]

application/xml, text/xml

Sample:
<?xml version="1.0" encoding="utf-16"?>
<ArrayOfConsumerConsumptions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ConsumerConsumptions>
    <MeterId>90000001</MeterId>
    <EventType>Zero Usage</EventType>
    <DayOfOccurence>08/19/2021</DayOfOccurence>
  </ConsumerConsumptions>
  <ConsumerConsumptions>
    <MeterId>90000001</MeterId>
    <EventType>Threshold Leak</EventType>
    <DayOfOccurence>08/19/2021</DayOfOccurence>
  </ConsumerConsumptions>
</ArrayOfConsumerConsumptions>