API · v1 · estable
CODEMETA OSDeveloper Center
ES
Abrir la consola
Entidad · payroll_audit_events

Payroll Audit Event Schema

ID del esquema
payroll_audit_event
Colección
payroll_audit_events
Permisos
  • Leerpayroll_view
  • Crearpayroll_view
  • Modificarpayroll_view
  • Eliminarpayroll_view

Campos

Payroll Audit Event Schema

payroll_audit_events4 permisos

Append-only audit log of payroll data access events.

actionstringobligatorio

Type of action performed

DECRYPT_RECORDDECRYPT_PERIODENCRYPT_RECORDENCRYPT_PERIODEXPORT_DATEVMEMBER_ADDEDMEMBER_REMOVEDKEY_ROTATEDRECOVERY_PERFORMEDPERIOD_LOCKEDUNLOCK_SESSION
solo lectura
actorUserIduuidobligatorio

User UUID of the HR member who performed the action

solo lectura
targetTypestringopcional

Kind of resource the action targeted

employee_profilepayroll_recordpayroll_periodpayroll_exporttenant_membertenant_confignull
admite null
targetIdstringopcional

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

máx. 64 caracteresadmite null
targetEmployeeProfileIduuidopcional

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

admite null
periodstringopcional

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

Patrónadmite null
occurredAtdatetimeobligatorio

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

solo lectura
sourceIpstringopcional

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

máx. 45 caracteressolo lecturaadmite null
userAgentstringopcional

User-Agent header captured by the server

máx. 500 caracteressolo lecturaadmite null
notesstringopcional

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

máx. 1000 caracteresadmite null

Endpoints estándar

Este recurso sigue el contrato CRUD genérico de la plataforma. Lea las convenciones sobre paginación, idempotencia, bloqueo optimista y auditoría. Los endpoints principales:

  • GET /api/v1/payroll_audit_events — Lista, paginada y filtrable
  • GET /api/v1/payroll_audit_events/<id> — Una entidad
  • POST /api/v1/payroll_audit_events — Crear
  • PATCH /api/v1/payroll_audit_events/<id> — Actualización parcial
  • DELETE /api/v1/payroll_audit_events/<id> — Eliminación lógica
  • GET /api/v1/payroll_audit_events/<id>/timeline — Auditoría y actividades

Búsqueda