GET api/Other/GetRestrictedTariffsInNetworks?PostalCode={PostalCode}&TownName={TownName}&EnergyType={EnergyType}
Request Information
URI Parameters
| Name | Type | Additional information | Description |
|---|---|---|---|
| PostalCode | integer |
Required |
|
| TownName | string |
Required |
|
| EnergyType | Energy_Types |
Required |
Body Parameters
None.
Response Information
Resource Description
RestrictedTariffsInfoModel| Name | Type | Additional information | Description |
|---|---|---|---|
| IsDataInDB | boolean |
None. |
|
| Tariffs | Collection of RestrictedTariff |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsDataInDB": true,
"Tariffs": [
{
"Id": 1,
"NetworkNr": 2
},
{
"Id": 1,
"NetworkNr": 2
}
]
}
application/xml, text/xml
Sample:
<RestrictedTariffsInfoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPITokenGenerator.Models">
<IsDataInDB>true</IsDataInDB>
<Tariffs>
<RestrictedTariff>
<Id>1</Id>
<NetworkNr>2</NetworkNr>
</RestrictedTariff>
<RestrictedTariff>
<Id>1</Id>
<NetworkNr>2</NetworkNr>
</RestrictedTariff>
</Tariffs>
</RestrictedTariffsInfoModel>