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

Employee Document Schema

ID del esquema
employee_document
Colección
employee_documents
Permisos
  • Leeremployee_document_view
  • Crearemployee_document_create
  • Modificaremployee_document_edit
  • Eliminaremployee_document_delete

Campos

Employee Document Schema

employee_documents4 permisos

Schema for validating employee document entities (Personalakte-Dokumente)

employeeIduuidobligatorio

UUID of the employee profile

userIduuidobligatorio

User UUID of the employee

titlestringobligatorio

Document title

1–500 caracteres
categorystringobligatorio

Document category for the personnel file

CONTRACTCERTIFICATESICK_NOTEEVALUATIONTRAININGID_DOCUMENTOTHER
fileIduuidobligatorio

UUID of the uploaded file

fileNamestringobligatorio

Original file name

máx. 500 caracteres
mimeTypestringobligatorio

MIME type of the file

máx. 200 caracteres
validFromdateopcional

Document validity start date

admite null
validUntildateopcional

Document expiry date (for certification tracking)

admite null
isConfidentialbooleanopcional

Whether only HR admins can access this document

Valor por defecto: false
notesstringopcional

Additional notes

máx. 2000 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/employee_documents — Lista, paginada y filtrable
  • GET /api/v1/employee_documents/<id> — Una entidad
  • POST /api/v1/employee_documents — Crear
  • PATCH /api/v1/employee_documents/<id> — Actualización parcial
  • DELETE /api/v1/employee_documents/<id> — Eliminación lógica
  • GET /api/v1/employee_documents/<id>/timeline — Auditoría y actividades

Búsqueda