GET api/EnergyPrices/Tariff/{energyType}/{tariffId}

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

NameTypeAdditional informationDescription
energyType EnergyTypes

Required

tariffId integer

Required

Body Parameters

None.

Response Information

Resource Description

EnergyPrices_TariffModel
NameTypeAdditional informationDescription
Id integer

None.

SupplierNumber integer

None.

Name string

None.

SupplierTariffCode string

None.

IsBusinessTariff boolean

None.

IsPrivateTariff boolean

None.

IsEcological boolean

None.

IsDifferentialTariff boolean

None.

IsRLM boolean

None.

IsDisabled boolean

None.

RestrictedPostalCodes boolean

None.

IsBundle boolean

None.

BundleGroup string

None.

FixedContractLenght integer

None.

FixedLenghtContractEndDate date

None.

IsFixedProvision boolean

None.

AllowChangeOptions boolean

None.

IsTerminTariff boolean

None.

IsSpotTariff boolean

None.

IsVESTariff boolean

None.

VESTariff_ProductCode string

None.

IsHPFCTariff boolean

None.

ShowPricesForYears boolean

None.

Info string

None.

PDFInfo string

None.

IsRequiredStartYearEqual boolean

None.

IsRequiredEndYearEqual boolean

None.

IsMultiTradePrices boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "SupplierNumber": 2,
  "Name": "sample string 3",
  "SupplierTariffCode": "sample string 4",
  "IsBusinessTariff": true,
  "IsPrivateTariff": true,
  "IsEcological": true,
  "IsDifferentialTariff": true,
  "IsRLM": true,
  "IsDisabled": true,
  "RestrictedPostalCodes": true,
  "IsBundle": true,
  "BundleGroup": "sample string 12",
  "FixedContractLenght": 1,
  "FixedLenghtContractEndDate": "2025-12-06T05:47:57.586863+01:00",
  "IsFixedProvision": true,
  "AllowChangeOptions": true,
  "IsTerminTariff": true,
  "IsSpotTariff": true,
  "IsVESTariff": true,
  "VESTariff_ProductCode": "sample string 18",
  "IsHPFCTariff": true,
  "ShowPricesForYears": true,
  "Info": "sample string 21",
  "PDFInfo": "sample string 22",
  "IsRequiredStartYearEqual": true,
  "IsRequiredEndYearEqual": true,
  "IsMultiTradePrices": true
}

application/xml, text/xml

Sample:
<EnergyPrices_TariffModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Global_classes.BusinessObject.Energy">
  <AllowChangeOptions>true</AllowChangeOptions>
  <BundleGroup>sample string 12</BundleGroup>
  <FixedContractLenght>1</FixedContractLenght>
  <FixedLenghtContractEndDate>2025-12-06T05:47:57.586863+01:00</FixedLenghtContractEndDate>
  <Id>1</Id>
  <Info>sample string 21</Info>
  <IsBundle>true</IsBundle>
  <IsBusinessTariff>true</IsBusinessTariff>
  <IsDifferentialTariff>true</IsDifferentialTariff>
  <IsDisabled>true</IsDisabled>
  <IsEcological>true</IsEcological>
  <IsFixedProvision>true</IsFixedProvision>
  <IsHPFCTariff>true</IsHPFCTariff>
  <IsMultiTradePrices>true</IsMultiTradePrices>
  <IsPrivateTariff>true</IsPrivateTariff>
  <IsRLM>true</IsRLM>
  <IsRequiredEndYearEqual>true</IsRequiredEndYearEqual>
  <IsRequiredStartYearEqual>true</IsRequiredStartYearEqual>
  <IsSpotTariff>true</IsSpotTariff>
  <IsTerminTariff>true</IsTerminTariff>
  <IsVESTariff>true</IsVESTariff>
  <Name>sample string 3</Name>
  <PDFInfo>sample string 22</PDFInfo>
  <RestrictedPostalCodes>true</RestrictedPostalCodes>
  <ShowPricesForYears>true</ShowPricesForYears>
  <SupplierNumber>2</SupplierNumber>
  <SupplierTariffCode>sample string 4</SupplierTariffCode>
  <VESTariff_ProductCode>sample string 18</VESTariff_ProductCode>
</EnergyPrices_TariffModel>