Stampfactory
Dokumentation
Export & Import

DLS-Import vorschauen

Parse the uploaded export and return what an import would do (no writes)

POST
/import/dls/preview
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    }  }}