GET api/Power/{id}?startTime={startTime}
Gets PowerReadings for the specified address.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
|
| startTime | date |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Power| Name | Description | Type | Additional information |
|---|---|---|---|
| AddressID | string |
None. |
|
| StartTime | date |
None. |
|
| KWH | decimal number |
None. |
|
| Phase1KWh | decimal number |
None. |
|
| Phase2KWh | decimal number |
None. |
|
| Phase3KWh | decimal number |
None. |
|
| ID | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"AddressID": "sample string 1",
"StartTime": "2025-11-10T14:59:28.5047135+01:00",
"KWH": 3.0,
"Phase1KWh": 4.0,
"Phase2KWh": 5.0,
"Phase3KWh": 6.0,
"ID": 7
},
{
"AddressID": "sample string 1",
"StartTime": "2025-11-10T14:59:28.5047135+01:00",
"KWH": 3.0,
"Phase1KWh": 4.0,
"Phase2KWh": 5.0,
"Phase3KWh": 6.0,
"ID": 7
}
]
text/html
Sample:
[{"AddressID":"sample string 1","StartTime":"2025-11-10T14:59:28.5047135+01:00","KWH":3.0,"Phase1KWh":4.0,"Phase2KWh":5.0,"Phase3KWh":6.0,"ID":7},{"AddressID":"sample string 1","StartTime":"2025-11-10T14:59:28.5047135+01:00","KWH":3.0,"Phase1KWh":4.0,"Phase2KWh":5.0,"Phase3KWh":6.0,"ID":7}]
application/xml, text/xml
Sample:
<ArrayOfPower xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZPPModel">
<Power>
<ID>7</ID>
<AddressID>sample string 1</AddressID>
<KWH>3</KWH>
<Phase1KWh>4</Phase1KWh>
<Phase2KWh>5</Phase2KWh>
<Phase3KWh>6</Phase3KWh>
<StartTime>2025-11-10T14:59:28.5047135+01:00</StartTime>
</Power>
<Power>
<ID>7</ID>
<AddressID>sample string 1</AddressID>
<KWH>3</KWH>
<Phase1KWh>4</Phase1KWh>
<Phase2KWh>5</Phase2KWh>
<Phase3KWh>6</Phase3KWh>
<StartTime>2025-11-10T14:59:28.5047135+01:00</StartTime>
</Power>
</ArrayOfPower>