GET api/EnergyPrices/PowerUsageProfiles/{energyType}
Request Information
Requires Authorization!
Add to HTTP Headers "Authorization" => "Bearer " + access_token from api/User/LoginWithApiKEY?ApiKEY={ApiKEY}
for example: "Authorization" => "Bearer aBc123-D1eF3...rS45q-XyZ879"
URI Parameters
| Name | Type | Additional information | Description |
|---|---|---|---|
| energyType | EnergyTypes |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of PowerUsageProfileModel| Name | Type | Additional information | Description |
|---|---|---|---|
| Id | integer |
None. |
|
| CoopId | integer |
None. |
|
| Name | string |
None. |
|
| Type | string |
None. |
|
| YearUsage_kW | integer |
None. |
|
| Years | integer |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml, text/xml
Sample:
<ArrayOfPowerUsageProfileModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPITokenGenerator.Models">
<PowerUsageProfileModel>
<CoopId>1</CoopId>
<DataUnit>sample string 5</DataUnit>
<Id>1</Id>
<Name>sample string 2</Name>
<Type>sample string 3</Type>
<YearlUsage>4</YearlUsage>
<Years>6</Years>
</PowerUsageProfileModel>
<PowerUsageProfileModel>
<CoopId>1</CoopId>
<DataUnit>sample string 5</DataUnit>
<Id>1</Id>
<Name>sample string 2</Name>
<Type>sample string 3</Type>
<YearlUsage>4</YearlUsage>
<Years>6</Years>
</PowerUsageProfileModel>
</ArrayOfPowerUsageProfileModel>