GET api/ConditionsDetails?username={username}&password={password}&meterId={meterId}
Gets the current conditions for a specific meter registered to a utility
Request Information
URI Parameters
Name | Description | Type |
---|---|---|
username |
The user name. |
string |
password |
The account password. |
string |
meterId |
The meter identifier. |
string |
Header
None.
Body Parameters
None.
Response Information
Resource Description
Return specific consumption details for meter id and account id
Collection of ConsumerConsumptionsName | Description | Type |
---|---|---|
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>