Redispatching B2B API (1.0.0)

Download OpenAPI specification:

B2B API for TSO redispatching services.

Part 1 — Real-time SSE + REST for redispatching orders workflow

  1. Client connects to /redispatch/{entityId}/stream.
  2. Resumption: If the connection drops, the Client MUST reconnect providing the Last-Event-ID header with the ID of the last received event. The server will replay missed events.
  3. Client listens for ORDER_ISSUED events and heartbeat signals.
  4. When an ORDER_ISSUED event is received, Client fetches details via GET.
  5. Client sends confirmation and decision via POST.

Part 2 — Batch REST settlement API Endpoints for submitting and querying redispatching data: DSO redispatches, grid constraints, certified energy volumes, auction support requests, balancing entity changes, and object configuration.

SSE Streaming

Server-Sent Events stream for real-time order notifications

Subscribe to order-issued events

Opens a Server-Sent Events (SSE) stream for a specific entity.

Resumption: To resume a broken connection without missing events, the client MUST provide the Last-Event-ID header containing the ID of the last event successfully processed. The server will replay events occurring after that ID.

Authorizations:
mTLS
path Parameters
entityId
required
string

Unique 5-character identifier of the entity.

header Parameters
Last-Event-ID
string

The ID of the last event the client received. If provided, the server will replay all subsequent events that occurred after this ID before sending new real-time events.

Responses

Response samples

Content type
text/event-stream
Example
{
  "eventType": "connected",
  "connectionId": "550e8400-e29b-41d4-a716-446655440000",
  "timestamp": "2025-07-22T08:00:00Z"
}

Subscribe to validation status events

Opens a Server-Sent Events (SSE) stream for a validation status notification events.

Resumption: To resume a broken connection without missing events, the client MUST provide the Last-Event-ID header containing the ID of the last event successfully processed. The server will replay events occurring after that ID.

Authorizations:
mTLS
header Parameters
Last-Event-ID
string

The ID of the last event the client received. If provided, the server will replay all subsequent events that occurred after this ID before sending new real-time events.

Responses

Response samples

Content type
text/event-stream
Example
{
  "eventType": "connected",
  "connectionId": "550e8400-e29b-41d4-a716-446655440000",
  "timestamp": "2025-07-22T08:00:00Z"
}

Redispatch Orders

Retrieve and acknowledge redispatching orders

Get redispatching order details

Fetches the full technical details of a specific redispatching order.

Authorizations:
mTLS
path Parameters
entityId
required
string
redispatchOrderId
required
string

The business ID of the order (URL encoded).

Responses

Response samples

Content type
application/json
{
  • "redispatchOrderId": "1/I/22.07.2025",
  • "entityId": "strin",
  • "issueOrderTs": "2019-08-24T14:15:22Z",
  • "isInformational": true,
  • "redispatchOrderReason": "B",
  • "redispatchOrderPeriod": {
    },
  • "redispatchOrders": [
    ]
}

Send acknowledgement or decision

Used for three stages of feedback:

  1. Confirm Receipt: Send status RECEIVED immediately after fetching the order.
  2. Accept: Send status ACCEPTED if the order can be realized.
  3. Reject: Send status REJECTED if the order cannot be realized.
Authorizations:
mTLS
path Parameters
entityId
required
string
redispatchOrderId
required
string
Request Body schema: application/json
required
redispatchOrderId
required
string

Reference to the order ID.

entityId
required
string = 5 characters
status
required
string
Enum: "RECEIVED" "ACCEPTED" "REJECTED"

Status: RECEIVED, ACCEPTED, REJECTED.

reason
string <= 512 characters

Optional comment for the decision.

Responses

Request samples

Content type
application/json
{
  • "redispatchOrderId": "string",
  • "entityId": "strin",
  • "status": "RECEIVED",
  • "reason": "string"
}

Retrieve redispatching orders for a given date

Returns the list of TSO redispatching orders issued for the specified delivery day.

Authorizations:
mTLS
query Parameters
redispatchDate
required
string <date>

Delivery day for which redispatching orders are requested.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

DSO Redispatch

Submit and query DSO redispatching redispatches

Submit DSO redispatches

Submits the list of redispatching orders issued by the DSO for a given delivery day.

Authorizations:
mTLS
Request Body schema: application/json
Array
mRID
string

Unikalny identyfikator MWE

redispatchDate
string <date>

Doba redysponowania wynikająca z polecenia wydanego przez OSP

Array of objects (DsoRedispatchTable)

Responses

Request samples

Content type
application/json
[
  • {
    }
]

Response samples

Content type
application/json
{
  • "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6"
}

Get DSO redispatching processing status

Retrieves the processing status of previously submitted DSO redispatches.

Authorizations:
mTLS
query Parameters
requestId
required
string

Identifier of the submitted data.

Responses

Response samples

Content type
application/json
{
  • "requestId": "550e8400-e29b-41d4-a716-446655440000",
  • "status": "APPROVED",
  • "validationViolations": [
    ]
}

Grid Constraints

Submit and query DSO grid constraints unrelated to TSO orders

Submit DSO grid constraints

Submits DSO grid constraints unrelated to a TSO-issued redispatching order.

Authorizations:
mTLS
Request Body schema: application/json
Array
mRID
string

Unique generation unit (MWE) identifier.

constraintDate
string <date>

Grid coinstraint day.

Array of objects

Responses

Request samples

Content type
application/json
[
  • {
    }
]

Response samples

Content type
application/json
{
  • "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6"
}

Get grid constraints processing status

Retrieves the processing status of previously submitted DSO grid constraints.

Authorizations:
mTLS
query Parameters
requestId
required
string

Identifier of the submitted data.

Responses

Response samples

Content type
application/json
{
  • "requestId": "550e8400-e29b-41d4-a716-446655440000",
  • "status": "APPROVED",
  • "validationViolations": [
    ]
}

Certified Energy

Submit and query certified generated energy volumes (E_WYK_CERT)

Submit certified generated energy volumes

Submits certified generated energy (E_WYK_CERT) volumes measured at generator terminals.

Authorizations:
mTLS
Request Body schema: application/json
Array
mRID
string

Unique generation unit (MWE) identifier.

redispatchDate
string <date>

Redispatch delivery day as determined by the TSO order.

Array of objects

Responses

Request samples

Content type
application/json
[
  • {
    }
]

Response samples

Content type
application/json
{
  • "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6"
}

Get certified energy processing status

Retrieves the processing status of previously submitted E_WYK_CERT values.

Authorizations:
mTLS
query Parameters
requestId
required
string

Identifier of the submitted data.

Responses

Response samples

Content type
application/json
{
  • "requestId": "550e8400-e29b-41d4-a716-446655440000",
  • "status": "APPROVED",
  • "validationViolations": [
    ]
}

Auction Support

Submit and query auction support requests (uOZE)

Retrieve auction support requests

Returns auction support requests (uOZE) forwarded to the DSO via the WOZE system for the given delivery day.

Authorizations:
mTLS
query Parameters
redispatchDate
required
string <date>

Delivery day for which auction support requests are retrieved.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Submit auction support requests

Submits auction support requests (uOZE) forwarded to the DSO outside of the WOZE system.

Authorizations:
mTLS
Request Body schema: application/json
Array
mRID
string

Unique generation unit (MWE) identifier.

redispatchDate
string <date>

Redispatch delivery day as determined by the TSO order.

notificationDate
string <date>

Date when the DSO was notified about whether and what portion of reduced energy should be settled under the given support system.

energy
integer <int32>

Percentage of reduced energy that should be settled under the given support system (per Art. 93(18) of the Renewable Energy Sources Act).

Responses

Request samples

Content type
application/json
[
  • {
    }
]

Response samples

Content type
application/json
{
  • "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6"
}

Get auction support request processing status

Retrieves the processing status of previously submitted auction support requests (uOZE).

Authorizations:
mTLS
query Parameters
requestId
required
string

Identifier of the submitted data.

Responses

Response samples

Content type
application/json
{
  • "requestId": "550e8400-e29b-41d4-a716-446655440000",
  • "status": "APPROVED",
  • "validationViolations": [
    ]
}

Configuration

Retrieve redispatching object configuration

Get redispatching object configuration

Retrieves the configuration of redispatching objects for the specified entity and date.

The type parameter controls the level of detail:

  • 0 — list all redispatching objects for the given DSO
  • 1 — list all redispatching objects with their constituent resources
  • 2 — list resources for a specific redispatching object (use objects query parameter to filter)
Authorizations:
mTLS
path Parameters
entityId
required
string

Entity identifier.

type
required
string
Enum: "0" "1" "2"

Query type. 0 — all objects, 1 — objects with resources, 2 — resources of specified objects.

date
required
string <date>

Configuration date. The response returns the object configuration as of this date.

query Parameters
objects
Array of strings <uuid> [ items <uuid > ]

List of redispatching object mRIDs to filter (used with type=2).

Responses

Response samples

Content type
application/json
{
  • "type": "0",
  • "date": "2023-09-24",
  • "objects": [
    ]
}