Control
Control a bidding zone
Control
Control a bidding zone
Set a control action for a bidding zone.
POST
/
v1
/
bidding-zones
/
{bidding_zone_id}
/
control
curl --request POST \
--url https://api.amberflow.io/v1/bidding-zones/{bidding_zone_id}/control \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"time_from": "2025-05-09T15:30:00+00:00",
"time_to": "2025-05-09T16:30:00+00:00",
"type": "MAX_PRODUCTION"
}'
{
"id": "ctrl_test8j9ahjsdf",
"created_at": "2025-05-09T15:30:00+00:00",
"time_from": "2025-05-09T15:30:00+00:00",
"time_to": "2025-05-09T16:30:00+00:00",
"type": "MAX_PRODUCTION",
"results": [
{
"time_from": "2025-05-09T15:30:00+00:00",
"time_to": "2025-05-09T16:30:00+00:00",
"isp": 1,
"before": 100,
"after": 10,
"delta": -90
}
]
}
Authorizations
Path Parameters
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
curl --request POST \
--url https://api.amberflow.io/v1/bidding-zones/{bidding_zone_id}/control \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"time_from": "2025-05-09T15:30:00+00:00",
"time_to": "2025-05-09T16:30:00+00:00",
"type": "MAX_PRODUCTION"
}'
{
"id": "ctrl_test8j9ahjsdf",
"created_at": "2025-05-09T15:30:00+00:00",
"time_from": "2025-05-09T15:30:00+00:00",
"time_to": "2025-05-09T16:30:00+00:00",
"type": "MAX_PRODUCTION",
"results": [
{
"time_from": "2025-05-09T15:30:00+00:00",
"time_to": "2025-05-09T16:30:00+00:00",
"isp": 1,
"before": 100,
"after": 10,
"delta": -90
}
]
}