API · v1 · stabil
CODEMETA OSDeveloper Center
Konsole öffnen
Entity · payroll_audit_events

Payroll Audit Event Schema

Schema-ID
payroll_audit_event
Collection
payroll_audit_events
Permissions
  • Lesenpayroll_view
  • Anlegenpayroll_view
  • Ändernpayroll_view
  • Löschenpayroll_view

Felder

Payroll Audit Event Schema

payroll_audit_events4 Permissions

Append-only audit log of payroll data access events.

actionstringerforderlich

Type of action performed

DECRYPT_RECORDDECRYPT_PERIODENCRYPT_RECORDENCRYPT_PERIODEXPORT_DATEVMEMBER_ADDEDMEMBER_REMOVEDKEY_ROTATEDRECOVERY_PERFORMEDPERIOD_LOCKEDUNLOCK_SESSION
read-only
actorUserIduuiderforderlich

User UUID of the HR member who performed the action

read-only
targetTypestringoptional

Kind of resource the action targeted

employee_profilepayroll_recordpayroll_periodpayroll_exporttenant_membertenant_confignull
nullable
targetIdstringoptional

UUID of the affected resource (record/period/user/export)

max 64 Zeichennullable
targetEmployeeProfileIduuidoptional

When the action concerns a specific employee, their profile UUID — supports per-employee audit queries (DSGVO-Auskunftsrecht).

nullable
periodstringoptional

YYYY-MM payroll period if the action is period-scoped

Patternnullable
occurredAtdatetimeerforderlich

When the action happened (client clock — server stores its own createdAt)

read-only
sourceIpstringoptional

Client IP captured by the server (filled by route handler, not client)

max 45 Zeichenread-onlynullable
userAgentstringoptional

User-Agent header captured by the server

max 500 Zeichenread-onlynullable
notesstringoptional

Free-text context (e.g. recovery reason, export filename hash, member-removal justification)

max 1000 Zeichennullable

Standard-Endpoints

Diese Resource folgt dem generischen CRUD-Vertrag der Plattform. Lesen Sie die Konventionen für Pagination, Idempotenz, Optimistic Locking und Audit. Die wichtigsten Endpoints:

  • GET /api/v1/payroll_audit_events — Liste, paginiert + filterbar
  • GET /api/v1/payroll_audit_events/<id> — Einzelne Entity
  • POST /api/v1/payroll_audit_events — Anlegen
  • PATCH /api/v1/payroll_audit_events/<id> — Teil-Update
  • DELETE /api/v1/payroll_audit_events/<id> — Soft-Delete
  • GET /api/v1/payroll_audit_events/<id>/timeline — Audit + Aktivitäten

Suche