PUT api/EnergyPrices/TradesRestrict/{energyType}/{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 |
|---|---|---|---|
| energyType | EnergyTypes |
Required |
|
| Id | integer |
Required |
Body Parameters
Collection of integerRequest Formats
application/json, text/json
Sample:
[ 1, 2 ]
application/xml, text/xml
Sample:
<ArrayOflong xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <long>1</long> <long>2</long> </ArrayOflong>
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.