GET request/customer/{CustomerId}/sitesummary
Lists all the Sites Half Hourly Summary
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
CustomerId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
SiteSummaryName | Description | Type | Additional information |
---|---|---|---|
Electricity | Collection of SiteSummaryHH |
None. |
|
Gas | Collection of SiteSummaryHH |
None. |
Response Formats
application/json, text/json
Sample:
{ "electricity": [ { "siteCount": 1, "meterCount": 1, "totalConsumption": 1, "totalValue": 1.0, "totalCommission": 1.0, "meterType": 1, "meterTypeValue": "sample string 1" }, { "siteCount": 1, "meterCount": 1, "totalConsumption": 1, "totalValue": 1.0, "totalCommission": 1.0, "meterType": 1, "meterTypeValue": "sample string 1" } ], "gas": [ { "siteCount": 1, "meterCount": 1, "totalConsumption": 1, "totalValue": 1.0, "totalCommission": 1.0, "meterType": 1, "meterTypeValue": "sample string 1" }, { "siteCount": 1, "meterCount": 1, "totalConsumption": 1, "totalValue": 1.0, "totalCommission": 1.0, "meterType": 1, "meterTypeValue": "sample string 1" } ] }
text/html
Sample:
{"electricity":[{"siteCount":1,"meterCount":1,"totalConsumption":1,"totalValue":1.0,"totalCommission":1.0,"meterType":1,"meterTypeValue":"sample string 1"},{"siteCount":1,"meterCount":1,"totalConsumption":1,"totalValue":1.0,"totalCommission":1.0,"meterType":1,"meterTypeValue":"sample string 1"}],"gas":[{"siteCount":1,"meterCount":1,"totalConsumption":1,"totalValue":1.0,"totalCommission":1.0,"meterType":1,"meterTypeValue":"sample string 1"},{"siteCount":1,"meterCount":1,"totalConsumption":1,"totalValue":1.0,"totalCommission":1.0,"meterType":1,"meterTypeValue":"sample string 1"}]}
application/xml, text/xml
Sample:
<SiteSummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MyUtilityGeniusForBusiness.Api.Models.MeterDto"> <Electricity> <SiteSummaryHH> <MeterCount>1</MeterCount> <MeterType>1</MeterType> <MeterTypeValue>sample string 1</MeterTypeValue> <SiteCount>1</SiteCount> <TotalCommission>1</TotalCommission> <TotalConsumption>1</TotalConsumption> <TotalValue>1</TotalValue> </SiteSummaryHH> <SiteSummaryHH> <MeterCount>1</MeterCount> <MeterType>1</MeterType> <MeterTypeValue>sample string 1</MeterTypeValue> <SiteCount>1</SiteCount> <TotalCommission>1</TotalCommission> <TotalConsumption>1</TotalConsumption> <TotalValue>1</TotalValue> </SiteSummaryHH> </Electricity> <Gas> <SiteSummaryHH> <MeterCount>1</MeterCount> <MeterType>1</MeterType> <MeterTypeValue>sample string 1</MeterTypeValue> <SiteCount>1</SiteCount> <TotalCommission>1</TotalCommission> <TotalConsumption>1</TotalConsumption> <TotalValue>1</TotalValue> </SiteSummaryHH> <SiteSummaryHH> <MeterCount>1</MeterCount> <MeterType>1</MeterType> <MeterTypeValue>sample string 1</MeterTypeValue> <SiteCount>1</SiteCount> <TotalCommission>1</TotalCommission> <TotalConsumption>1</TotalConsumption> <TotalValue>1</TotalValue> </SiteSummaryHH> </Gas> </SiteSummary>