Zum Inhalt springen

Data Import

62 Bereiche, 612 Operationen. Basis-URL https://production.cashwerk.io, Anmeldung mit X-API-Key.

POST/api/v1/data-import/jobsStart an import run and receive the job to upload rows into
Pfad
/api/v1/data-import/jobs
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/data-import/jobs \
  -X POST \
  -H "X-API-Key: $CASHWERK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ … }'
GET/api/v1/data-import/jobs/{id}Read an import job and its counters
Pfad
/api/v1/data-import/jobs/{id}
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/data-import/jobs/{id} \
  -H "X-API-Key: $CASHWERK_API_KEY"
POST/api/v1/data-import/jobs/{id}/commitClose the upload and hand the run to the worker
Pfad
/api/v1/data-import/jobs/{id}/commit
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/data-import/jobs/{id}/commit \
  -X POST \
  -H "X-API-Key: $CASHWERK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ … }'
GET/api/v1/data-import/jobs/{id}/rowsThe run's rows, filtered by outcome — what the panel lists
Pfad
/api/v1/data-import/jobs/{id}/rows
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/data-import/jobs/{id}/rows \
  -H "X-API-Key: $CASHWERK_API_KEY"
PUT/api/v1/data-import/jobs/{id}/rowsStage a slice of the file; idempotent on (job, rowIndex)
Pfad
/api/v1/data-import/jobs/{id}/rows
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/data-import/jobs/{id}/rows \
  -X PUT \
  -H "X-API-Key: $CASHWERK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ … }'