POST request/supplier/energyoptions
Request Information
URI Parameters
None.
Body Parameters
EnergyOptionPost| Name | Description | Type | Additional information |
|---|---|---|---|
| EnergyOption | Collection of EnergyOptions |
None. |
|
| PricingMethod | Collection of PricingMethods |
None. |
|
| TariffType | Collection of TariffTypes |
None. |
Request Formats
application/json, text/json
Sample:
{
"tariffType": null,
"pricingMethod": null,
"energyOption": null
}
text/html
Sample:
{"tariffType":null,"pricingMethod":null,"energyOption":null}
application/xml, text/xml
Sample:
<EnergyOptionPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CCSCommercialAPI.Models.EnergyOptions"> <EnergyOption i:nil="true" /> <PricingMethod i:nil="true" /> <TariffType i:nil="true" /> </EnergyOptionPost>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json, text/html
Sample:
1
application/xml, text/xml
Sample:
<long xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</long>