API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console
Entité · hr_tickets

HR Ticket Schema

ID du schéma
hr_ticket
Collection
hr_tickets
Autorisations
  • Lirehr_ticket_view
  • Créerhr_ticket_create
  • Modifierhr_ticket_edit
  • Supprimerhr_ticket_delete

Champs

HR Ticket Schema

hr_tickets4 autorisations

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

hrTicketNumberstringfacultatif

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

lecture seulenullable
titlestringobligatoire

Short subject line of the HR ticket

1–500 caractères
descriptionstringfacultatif

Detailed description (plain text)

nullable
descriptionHtmlstringfacultatif

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

nullable
categorystringobligatoire

HR category — drives routing/filtering inside HR

equipmentpayrollpersonalitonboardingoffboardingtrainingfeedbackother
statusstringobligatoire

Workflow status. Only HR can transition.

OPENIN_PROGRESSWAITINGRESOLVEDCLOSED
Par défaut : "OPEN"
prioritystringobligatoire

Priority chosen by requester; HR may re-prioritize

LOWNORMALHIGHCRITICAL
Par défaut : "NORMAL"
requesterIduuidfacultatif

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

lecture seule
assignedToIduuidfacultatif

HR processor user UUID (assignee).

nullable
orgUnitIduuidfacultatif

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

nullable
contactUserIduuidfacultatif

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.

nullable
dueAtdatetimefacultatif

Due date for the HR ticket in ISO format

nullable
estimatedMinutesintegerfacultatif

Estimated work time in minutes

≥ 0nullable
affectedEmployeeIdsuuid[]facultatif

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.

Par défaut : []nullable
confidentialbooleanfacultatif

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

Par défaut : false
attachmentFileIdsstring[]facultatif

References to uploaded files via the DMS / file service

Par défaut : []nullable
tagsstring[]facultatif

Free-form tags for filtering

Par défaut : []nullable
statusChangedAtdatetimefacultatif

Timestamp of last status change (denormalized)

nullable
resolvedAtdatetimefacultatif

When status moved to RESOLVED

nullable
closedAtdatetimefacultatif

When status moved to CLOSED

nullable
resolutionstringfacultatif

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.

max. 5000 caractèresnullable

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/hr_tickets — Liste, paginée et filtrable
  • GET /api/v1/hr_tickets/<id> — Une entité
  • POST /api/v1/hr_tickets — Créer
  • PATCH /api/v1/hr_tickets/<id> — Mise à jour partielle
  • DELETE /api/v1/hr_tickets/<id> — Suppression logique
  • GET /api/v1/hr_tickets/<id>/timeline — Audit et activités

Recherche