API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · hr_tickets

HR Ticket Schema

Schema-ID
hr_ticket
Collection
hr_tickets
Permissions
  • Lezenhr_ticket_view
  • Aanmakenhr_ticket_create
  • Wijzigenhr_ticket_edit
  • Verwijderenhr_ticket_delete

Velden

HR Ticket Schema

hr_tickets4 permissions

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

hrTicketNumberstringoptioneel

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

read-onlynullable
titlestringvereist

Short subject line of the HR ticket

1–500 tekens
descriptionstringoptioneel

Detailed description (plain text)

nullable
descriptionHtmlstringoptioneel

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

nullable
categorystringvereist

HR category — drives routing/filtering inside HR

equipmentpayrollpersonalitonboardingoffboardingtrainingfeedbackother
statusstringvereist

Workflow status. Only HR can transition.

OPENIN_PROGRESSWAITINGRESOLVEDCLOSED
Default: "OPEN"
prioritystringvereist

Priority chosen by requester; HR may re-prioritize

LOWNORMALHIGHCRITICAL
Default: "NORMAL"
requesterIduuidoptioneel

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

read-only
assignedToIduuidoptioneel

HR processor user UUID (assignee).

nullable
orgUnitIduuidoptioneel

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

nullable
contactUserIduuidoptioneel

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
dueAtdatetimeoptioneel

Due date for the HR ticket in ISO format

nullable
estimatedMinutesintegeroptioneel

Estimated work time in minutes

≥ 0nullable
affectedEmployeeIdsuuid[]optioneel

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.

Default: []nullable
confidentialbooleanoptioneel

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

Default: false
attachmentFileIdsstring[]optioneel

References to uploaded files via the DMS / file service

Default: []nullable
tagsstring[]optioneel

Free-form tags for filtering

Default: []nullable
statusChangedAtdatetimeoptioneel

Timestamp of last status change (denormalized)

nullable
resolvedAtdatetimeoptioneel

When status moved to RESOLVED

nullable
closedAtdatetimeoptioneel

When status moved to CLOSED

nullable
resolutionstringoptioneel

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 tekensnullable

Standaard-endpoints

Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:

  • GET /api/v1/hr_tickets — Lijst, gepagineerd + filterbaar
  • GET /api/v1/hr_tickets/<id> — Enkele entity
  • POST /api/v1/hr_tickets — Aanmaken
  • PATCH /api/v1/hr_tickets/<id> — Gedeeltelijke update
  • DELETE /api/v1/hr_tickets/<id> — Soft-delete
  • GET /api/v1/hr_tickets/<id>/timeline — Audit + activiteiten

Zoeken