Zum Inhalt springen

Work Manager

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

GET/api/v1/work-manager/worktime-account/{userId}Get a user worktime account (balance, live period, history)
Pfad
/api/v1/work-manager/worktime-account/{userId}
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/work-manager/worktime-account/{userId} \
  -H "X-API-Key: $CASHWERK_API_KEY"
POST/api/v1/work-manager/worktime-account/{userId}/adjustBook a manual correction (reason mandatory)
Pfad
/api/v1/work-manager/worktime-account/{userId}/adjust
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/work-manager/worktime-account/{userId}/adjust \
  -X POST \
  -H "X-API-Key: $CASHWERK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ … }'
GET/api/v1/work-manager/worktime-account/{userId}/ledgerGet the paginated worktime account ledger
Pfad
/api/v1/work-manager/worktime-account/{userId}/ledger
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/work-manager/worktime-account/{userId}/ledger \
  -H "X-API-Key: $CASHWERK_API_KEY"
POST/api/v1/work-manager/worktime-account/{userId}/payoutSettle overtime as payout (Auszahlung)
Pfad
/api/v1/work-manager/worktime-account/{userId}/payout
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/work-manager/worktime-account/{userId}/payout \
  -X POST \
  -H "X-API-Key: $CASHWERK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ … }'
POST/api/v1/work-manager/worktime-account/{userId}/recomputeRebuild closed-month accruals and reconcile the balance
Pfad
/api/v1/work-manager/worktime-account/{userId}/recompute
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/work-manager/worktime-account/{userId}/recompute \
  -X POST \
  -H "X-API-Key: $CASHWERK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ … }'
PATCH/api/v1/work-manager/worktime-account/{userId}/settingsUpdate account policy (cap, expiry, payout premium)
Pfad
/api/v1/work-manager/worktime-account/{userId}/settings
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/work-manager/worktime-account/{userId}/settings \
  -X PATCH \
  -H "X-API-Key: $CASHWERK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ … }'
POST/api/v1/work-manager/worktime-account/{userId}/time-offSettle overtime as compensatory time off (Freizeitausgleich)
Pfad
/api/v1/work-manager/worktime-account/{userId}/time-off
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/work-manager/worktime-account/{userId}/time-off \
  -X POST \
  -H "X-API-Key: $CASHWERK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ … }'