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

HR Ticket Schema

ID del esquema
hr_ticket
Colección
hr_tickets
Permisos
  • Leerhr_ticket_view
  • Crearhr_ticket_create
  • Modificarhr_ticket_edit
  • Eliminarhr_ticket_delete

Campos

HR Ticket Schema

hr_tickets4 permisos

Internal HR-only ticket. Any employee can create one; only HR (Personalabteilung) can edit/process.

hrTicketNumberstringopcional

Auto-generated HR ticket number (e.g. HR-2026-00042). Set by entity.service.

solo lecturaadmite null
titlestringobligatorio

Short subject line of the HR ticket

1–500 caracteres
descriptionstringopcional

Detailed description (plain text)

admite null
descriptionHtmlstringopcional

Rich-text HTML version of the description (sanitized server-side)

admite null
categorystringobligatorio

HR category — drives routing/filtering inside HR

equipmentpayrollpersonalitonboardingoffboardingtrainingfeedbackother
statusstringobligatorio

Workflow status. Only HR can transition.

OPENIN_PROGRESSWAITINGRESOLVEDCLOSED
Valor por defecto: "OPEN"
prioritystringobligatorio

Priority chosen by requester; HR may re-prioritize

LOWNORMALHIGHCRITICAL
Valor por defecto: "NORMAL"
requesterIduuidopcional

User UUID of the employee who raised the ticket. Auto-set on create.

solo lectura
assignedToIduuidopcional

HR processor user UUID (assignee).

admite null
orgUnitIduuidopcional

Org unit of the requester at time of creation (denormalized).

admite null
contactUserIduuidopcional

Optional additional contact person (user UUID) HR should coordinate with — e.g. line manager of the requester, mentor during onboarding. Distinct from requester/assignee/affected.

admite null
dueAtdatetimeopcional

Due date for the HR ticket in ISO format

admite null
estimatedMinutesintegeropcional

Estimated work time in minutes

≥ 0admite null
affectedEmployeeIdsuuid[]opcional

Additional employees (user IDs) affected by this HR ticket beyond the requester — e.g. payroll issue affecting a team, onboarding for a group. The requester is intentionally NOT auto-added since HR may file tickets on behalf of others.

Valor por defecto: []admite null
confidentialbooleanopcional

Marks the ticket as sensitive (e.g. complaints, art-9 topics). UI may hide previews accordingly.

Valor por defecto: false
attachmentFileIdsstring[]opcional

References to uploaded files via the DMS / file service

Valor por defecto: []admite null
tagsstring[]opcional

Free-form tags for filtering

Valor por defecto: []admite null
statusChangedAtdatetimeopcional

Timestamp of last status change (denormalized)

admite null
resolvedAtdatetimeopcional

When status moved to RESOLVED

admite null
closedAtdatetimeopcional

When status moved to CLOSED

admite null
resolutionstringopcional

DEPRECATED — kept for legacy data. New HR notes / resolutions are written as comments or internal notes via the EntityActivityCard. Existing values stay in the document and remain visible through the History dialog, but no UI surfaces this field for editing anymore.

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

Búsqueda