Calculate 15-min Energy Sharing allocation time-series (§ 42c EnWG)
Executes a deterministic allocation pipeline: input validation → generation time-series fetch (Stufe A: forecast / Stufe B: inhouse metering) → optional EDM consumption-data availability check (#281, includeConsumptionData) → redispatch deduction → allocation arithmetic → summary assembly → PouchDB persist. Returns metadata and per-consumer summaries. Full 15-min time-series is available for download via GET /energy-sharing/allocations/:id/download. Regulatory basis: § 42c EnWG, § 12 StromNZV (Viertelstundenwerte), § 20b EnWG Interimsprozess (operative deadline 01.06.2026). KRITIS constraint: raw generation data is never persisted — only metadata.
Request
- Base URL: https://api.cernion.de
- URL: https://api.cernion.de/api/energy-sharing-allocation/allocate
- Auth: none declared
Query parameters
Optional Cernion MCP token as URL query parameter. If provided, it overrides CERNION_TOKEN for this request. Prefer Authorization Bearer header in production to reduce token exposure in URLs/logs.
Request body
Example request
{
"communityId": "ES-2026-001",
"validationReportId": "a1b2c3d4-...",
"supersedesAllocationId": "b2c3d4e5-...",
"correctionReason": "Korrigierte Verbrauchsdaten für Müller (DE000...) nachgemeldet",
"generators": [
{
"mastrNummer": "SEE904837264953",
"sharePercent": 100
}
],
"consumers": [
{
"maloId": "DE0001234567890123456789012345678",
"sharePercent": 100,
"name": "Whg. 1"
}
],
"dateFrom": "2026-06-01",
"dateTo": "2026-06-30",
"inhouseSourceId": "pv-generation-es-2026-001",
"gridOperatorId": "SNB935578300972"
}Response
Allocation metadata with per-consumer summaries. Time-series available via /download endpoint.
Changes
No recorded changes to this operation across all 2 revisions of this API.