Skip to main content
POST
/
schedule-management
/
v1
/
mabis
/
clearing-periods
/
{uid}
/
objections
Create Objection
curl --request POST \
  --url https://api.engrate.io/schedule-management/v1/mabis/clearing-periods/{uid}/objections \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "disputed_values": {},
  "reason": "<string>"
}
'
import requests

url = "https://api.engrate.io/schedule-management/v1/mabis/clearing-periods/{uid}/objections"

payload = {
    "disputed_values": {},
    "reason": "<string>"
}
headers = {
    "Authorization": "<api-key>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
  method: 'POST',
  headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
  body: JSON.stringify({disputed_values: {}, reason: '<string>'})
};

fetch('https://api.engrate.io/schedule-management/v1/mabis/clearing-periods/{uid}/objections', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => "https://api.engrate.io/schedule-management/v1/mabis/clearing-periods/{uid}/objections",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'disputed_values' => [
        
    ],
    'reason' => '<string>'
  ]),
  CURLOPT_HTTPHEADER => [
    "Authorization: <api-key>",
    "Content-Type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.engrate.io/schedule-management/v1/mabis/clearing-periods/{uid}/objections"

	payload := strings.NewReader("{\n  \"disputed_values\": {},\n  \"reason\": \"<string>\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "<api-key>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://api.engrate.io/schedule-management/v1/mabis/clearing-periods/{uid}/objections")
  .header("Authorization", "<api-key>")
  .header("Content-Type", "application/json")
  .body("{\n  \"disputed_values\": {},\n  \"reason\": \"<string>\"\n}")
  .asString();
require 'uri'
require 'net/http'

url = URI("https://api.engrate.io/schedule-management/v1/mabis/clearing-periods/{uid}/objections")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"disputed_values\": {},\n  \"reason\": \"<string>\"\n}"

response = http.request(request)
puts response.read_body
{
  "clearing_period_uid": "<string>",
  "created_ts": "<string>",
  "disputed_values": {},
  "last_modified_ts": "<string>",
  "objection_type": "<string>",
  "status": "<string>",
  "uid": "<string>",
  "reason": "<string>",
  "resolved_ts": "<string>",
  "submitted_ts": "<string>",
  "tso_response": "<string>"
}
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "ctx": {},
      "input": "<unknown>"
    }
  ]
}
Coming soon.

Authorizations

Authorization
string
header
required

Path Parameters

uid
string<uuid>
required

Clearing period unique identifier.

Body

application/json

Request to create an objection.

disputed_values
Disputed Values · object
required

Free-form dict describing the disputed values. Example: {"date": "2026-01-15", "interval": 42, "our_value_mwh": 1.5, "tso_value_mwh": 1.8}.

objection_type
enum<string>
required

Objection type. 'volume': disputed energy quantity (MWh). 'price': disputed reBAP price. 'metering_point': incorrect metering point assignment. 'allocation': incorrect balance group allocation. 'timing': wrong delivery period or timestamp. 'other': any other dispute.

Available options:
volume,
price,
metering_point,
allocation,
timing,
other
reason
string | null

Human-readable reason for the objection.

Response

Successful Response

An Objection (Einspruch) filed against settlement data within a clearing period.

clearing_period_uid
string
required

Parent Clearing Period identifier.

created_ts
string
required

ISO 8601 datetime when this objection was created.

Example:

"2026-02-26T10:00:00+00:00"

disputed_values
Disputed Values · object
required

Free-form data describing the disputed values (dates, intervals, amounts).

last_modified_ts
string
required

ISO 8601 datetime of the most recent status change.

Example:

"2026-03-01T14:00:00+00:00"

objection_type
string
required

Objection category: volume, price, metering_point, allocation, timing, or other.

Examples:

"volume"

"price"

status
string
required

Objection status: draft, submitted, accepted, rejected, or withdrawn.

Examples:

"submitted"

"accepted"

"rejected"

uid
string
required

Unique identifier for this objection.

Example:

"e7f8a9b0-c1d2-4e3f-8a4b-5c6d7e8f9a0b"

reason
string | null

Human-readable reason for the objection.

resolved_ts
string | null

ISO 8601 datetime when the objection was resolved (accepted or rejected).

submitted_ts
string | null

ISO 8601 datetime when the objection was submitted to the TSO.

tso_response
string | null

TSO response text, if the objection has been reviewed.