Export & Import
DLS-Import vorschauen
Parse the uploaded export and return what an import would do (no writes)
AuthentifizierungBearer <token>
Bearer-Token, erhalten über den Login-Endpunkt (POST /rest/login).
Ort: header
Request-Body
multipart/form-data
TypeScript-Definitionen
TypeScript-Typ für request body.
Response-Body
application/json
application/json
application/json
curl -X POST "https://example.com/import/dls/preview" \ -F file="string"{ "data": { "employer": { "property1": "string", "property2": "string" }, "employees": [ { "personnel_number": "string", "name": "string", "surname": "string", "full_name": "string", "position": "string", "employed_start": "string", "employed_end": "string", "has_payroll_data": true, "status": "string", "warnings": [ "string" ] } ], "stats": { "total": 0, "new": 0, "existing": 0, "departed": 0, "conflicts": 0 } }}Export-Protokolle GET
Scoped to the requesting user's own export history. The route already requires `time-tracking:export`, but the tenant-wide log additionally leaked who exported which employees over which periods; each exporter only needs to see (and re-download context for) their own runs.
DLS-Import ausführen POST
Import the export: create new employees and, when `update` is set, refresh existing ones matched by personnel number