Entidad · employee_documents
Employee Document Schema
Campos
Employee Document Schema
Schema for validating employee document entities (Personalakte-Dokumente)
employeeId
UUID of the employee profile
userId
User UUID of the employee
title
Document title
1–500 caracteres
category
Document category for the personnel file
Valores
CONTRACTCERTIFICATESICK_NOTEEVALUATIONTRAININGID_DOCUMENTOTHERfileId
UUID of the uploaded file
fileName
Original file name
máx. 500 caracteres
mimeType
MIME type of the file
máx. 200 caracteres
validFrom
Document validity start date
admite null
validUntil
Document expiry date (for certification tracking)
admite null
isConfidential
Whether only HR admins can access this document
Valor por defecto: false
notes
Additional notes
máx. 2000 caracteresadmite null
Ningún campo coincide con el filtro.
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/employee_documents— Lista, paginada y filtrableGET /api/v1/employee_documents/<id>— Una entidadPOST /api/v1/employee_documents— CrearPATCH /api/v1/employee_documents/<id>— Actualización parcialDELETE /api/v1/employee_documents/<id>— Eliminación lógicaGET /api/v1/employee_documents/<id>/timeline— Auditoría y actividades