Entité · employee_documents
Employee Document Schema
Champs
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 caractères
category
Document category for the personnel file
Valeurs
CONTRACTCERTIFICATESICK_NOTEEVALUATIONTRAININGID_DOCUMENTOTHERfileId
UUID of the uploaded file
fileName
Original file name
max. 500 caractères
mimeType
MIME type of the file
max. 200 caractères
validFrom
Document validity start date
nullable
validUntil
Document expiry date (for certification tracking)
nullable
isConfidential
Whether only HR admins can access this document
Par défaut : false
notes
Additional notes
max. 2000 caractèresnullable
Aucun champ ne correspond au filtre.
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/employee_documents— Liste, paginée et filtrableGET /api/v1/employee_documents/<id>— Une entitéPOST /api/v1/employee_documents— CréerPATCH /api/v1/employee_documents/<id>— Mise à jour partielleDELETE /api/v1/employee_documents/<id>— Suppression logiqueGET /api/v1/employee_documents/<id>/timeline— Audit et activités