PUT api/EnergyPrices/Tariffs/Gas/{Id}
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 |
|---|---|---|---|
| Id | integer |
Required |
Body Parameters
EnergyPrices_Tariffs_Gas_Post_Model| Name | Type | Additional information | Description |
|---|---|---|---|
| SupplierNumber | integer |
Required |
|
| Name | string |
Required |
|
| IsBusinessTariff | boolean |
Required |
|
| IsPrivateTariff | boolean |
Required |
|
| IsEcological | boolean |
Required |
|
| IsRLM | boolean |
Required |
|
| IsDisabled | boolean |
Required |
|
| RestrictedPostalCodes | boolean |
None. |
|
| IsBundle | boolean |
None. |
|
| BundleGroup | string |
None. |
|
| FixedContractLenght | integer |
None. |
|
| IsFixedProvision | boolean |
None. |
|
| IsTerminTariff | boolean |
None. |
|
| IsSpotTariff | boolean |
None. |
|
| IsVESTariff | boolean |
None. |
|
| VESTariff_ProductCode | string |
None. |
|
| ShowPricesForYears | boolean |
None. |
|
| Info | string |
None. |
|
| PDFInfo | string |
None. |
|
| IsRequiredStartYearEqual | boolean |
None. |
|
| IsRequiredEndYearEqual | boolean |
None. |
|
| IsMultiTradePrices | boolean |
None. |
|
| SupplierTariffCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"SupplierNumber": 1,
"Name": "sample string 2",
"IsBusinessTariff": true,
"IsPrivateTariff": true,
"IsEcological": true,
"IsRLM": true,
"IsDisabled": true,
"RestrictedPostalCodes": true,
"IsBundle": true,
"BundleGroup": "sample string 9",
"FixedContractLenght": 1,
"IsFixedProvision": true,
"IsTerminTariff": true,
"IsSpotTariff": true,
"IsVESTariff": true,
"VESTariff_ProductCode": "sample string 12",
"ShowPricesForYears": true,
"Info": "sample string 14",
"PDFInfo": "sample string 15",
"IsRequiredStartYearEqual": true,
"IsRequiredEndYearEqual": true,
"IsMultiTradePrices": true,
"SupplierTariffCode": "sample string 19"
}
application/xml, text/xml
Sample:
<EnergyPrices_Tariffs_Gas_Post_Model xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPITokenGenerator.Models"> <BundleGroup>sample string 9</BundleGroup> <FixedContractLenght>1</FixedContractLenght> <Info>sample string 14</Info> <IsBundle>true</IsBundle> <IsBusinessTariff>true</IsBusinessTariff> <IsDisabled>true</IsDisabled> <IsEcological>true</IsEcological> <IsFixedProvision>true</IsFixedProvision> <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 2</Name> <PDFInfo>sample string 15</PDFInfo> <RestrictedPostalCodes>true</RestrictedPostalCodes> <ShowPricesForYears>true</ShowPricesForYears> <SupplierNumber>1</SupplierNumber> <SupplierTariffCode>sample string 19</SupplierTariffCode> <VESTariff_ProductCode>sample string 12</VESTariff_ProductCode> </EnergyPrices_Tariffs_Gas_Post_Model>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.