API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console
Entité · payroll_audit_events

Payroll Audit Event Schema

ID du schéma
payroll_audit_event
Collection
payroll_audit_events
Autorisations
  • Lirepayroll_view
  • Créerpayroll_view
  • Modifierpayroll_view
  • Supprimerpayroll_view

Champs

Payroll Audit Event Schema

payroll_audit_events4 autorisations

Append-only audit log of payroll data access events.

actionstringobligatoire

Type of action performed

DECRYPT_RECORDDECRYPT_PERIODENCRYPT_RECORDENCRYPT_PERIODEXPORT_DATEVMEMBER_ADDEDMEMBER_REMOVEDKEY_ROTATEDRECOVERY_PERFORMEDPERIOD_LOCKEDUNLOCK_SESSION
lecture seule
actorUserIduuidobligatoire

User UUID of the HR member who performed the action

lecture seule
targetTypestringfacultatif

Kind of resource the action targeted

employee_profilepayroll_recordpayroll_periodpayroll_exporttenant_membertenant_confignull
nullable
targetIdstringfacultatif

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

max. 64 caractèresnullable
targetEmployeeProfileIduuidfacultatif

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

nullable
periodstringfacultatif

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

Motifnullable
occurredAtdatetimeobligatoire

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

lecture seule
sourceIpstringfacultatif

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

max. 45 caractèreslecture seulenullable
userAgentstringfacultatif

User-Agent header captured by the server

max. 500 caractèreslecture seulenullable
notesstringfacultatif

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

max. 1000 caractèresnullable

Endpoints standard

Cette ressource suit le contrat CRUD générique de la plateforme. Lisez les conventions pour la pagination, l'idempotence, le verrouillage optimiste et l'audit. Les endpoints principaux :

  • GET /api/v1/payroll_audit_events — Liste, paginée et filtrable
  • GET /api/v1/payroll_audit_events/<id> — Une entité
  • POST /api/v1/payroll_audit_events — Créer
  • PATCH /api/v1/payroll_audit_events/<id> — Mise à jour partielle
  • DELETE /api/v1/payroll_audit_events/<id> — Suppression logique
  • GET /api/v1/payroll_audit_events/<id>/timeline — Audit et activités

Recherche