Zielnetzplanung (ZNP)
Load Layer 0 — MaStR assets into a ZNP project graph
Adds MaStR installation nodes and CONTRIBUTES_LOAD edges to the in-memory graph. All assets are wired to the virtual substation SUB_1 in Layer 0 because MaStR contains no network topology (physical wiring is resolved in Layer 1 / Layer 2). Duplicate mastrNummer entries are skipped (idempotent). Returns counts of added nodes and edges.
post/api/znp/projects/:projectId/layer0
Request
- Base URL: https://api.cernion.de
- URL: https://api.cernion.de/api/znp/projects/:projectId/layer0
- Auth: none declared
Path parameters
projectIdstring required
Query parameters
tokenstring
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
{
"assets": [
{
"mastrNummer": "SEE900123456789",
"capacity": 10.5,
"assetType": "solar",
"lat": 49.491,
"lon": 8.471
},
{
"mastrNummer": "SEE900987654321",
"capacity": 7,
"assetType": "solar",
"lat": 49.492,
"lon": 8.472
}
]
}Response
Successful response
object required
Changes
No recorded changes to this operation across all 2 revisions of this API.