Resource
Reports.
Generierte PDFs und Daten-Exports (GAEB-XML, IFC, GeoJSON). Templates sind vorgegeben — eigene Templates auf Anfrage.
/v1/reportsReport generieren
Triggert die Report-Generierung. Asynchron. Webhook beim Fertigwerden.
Body
| Name | Typ | Beschreibung |
|---|---|---|
| project_id* | string | Projekt-ID |
| template* | rail_din_en_13848 | construction_gaeb | kritis_audit | flight_log | custom | Vorlage |
| format | pdf | xml | docx | Default = pdf |
| period | string? | z.B. last_30_days, kw17_2026, full |
| analyses | string[]? | ANL_… IDs, sonst alle des Periods |
| signed | bool? | Default = false. XAdES-Signatur via PRD 09 |
Beispiel-Response
{
"id": "RPT_3sN7v9",
"status": "queued",
"estimated_seconds": 45,
"template": "rail_din_en_13848",
"format": "pdf"
}Beispiel-Request
curl https://api.geospatial.gddc-sh.de/v1/reports \
-H "Authorization: Bearer $GDDC_TOKEN" \
-d '{
"project_id": "PRJ_aT3Dd9",
"template": "rail_din_en_13848",
"period": "kw17_2026",
"signed": true
}'/v1/reports/{id}Report holen
Status + Download-URL.
Path-Parameter
| Name | Typ | Beschreibung |
|---|---|---|
| id* | string | RPT_… |
Beispiel-Response
{
"id": "RPT_3sN7v9",
"status": "ready",
"template": "rail_din_en_13848",
"format": "pdf",
"pages": 28,
"size_bytes": 2_482_104,
"download_url": "https://files.geospatial.gddc-sh.de/RPT_3sN7v9.pdf?...",
"signed": true,
"signature_id": "SIG_aB3kF8",
"generated_at": "2026-04-27T09:14:22Z"
}Beispiel-Request
curl https://api.geospatial.gddc-sh.de/v1/reports/RPT_3sN7v9 \ -H "Authorization: Bearer $GDDC_TOKEN"