POST api/EnergyPrices/CustomProvisions/{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
CustomProvisionModel| Name | Type | Additional information | Description |
|---|---|---|---|
| Id | integer |
None. |
|
| DateId | integer |
Required |
|
| CooperatorId | integer |
None. |
|
| Provision | decimal number |
Required Range: inclusive between 0 and 999.999999 |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"DateId": 2,
"CooperatorId": 3,
"Provision": 4.0
}
application/xml, text/xml
Sample:
<CustomProvisionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPITokenGenerator.Models"> <CooperatorId>3</CooperatorId> <DateId>2</DateId> <Id>1</Id> <Provision>4</Provision> </CustomProvisionModel>
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.