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

Employee Offboarding Schema

Schema-ID
employee_offboarding
Collection
employee_offboardings
Permissions
  • Lezenemployee_offboarding_view
  • Aanmakenemployee_offboarding_create
  • Wijzigenemployee_offboarding_edit
  • Verwijderenemployee_offboarding_delete

Velden

Employee Offboarding Schema

employee_offboardings4 permissions

Process record for offboarding an employee (configurable form + workflow state)

stagestringvereist

Workflow stage. DRAFT = just submitted/not yet processed; HR = waiting on HR to complete person master data (employee_profile incomplete); SECOND_LEVEL = HR done (or skipped), deactivation/return tasks active; DONE = offboarding complete; CANCELLED = aborted. Server-managed by the offboarding orchestration — never client-written via generic PATCH.

DRAFTHRSECOND_LEVELDONECANCELLED
Default: "DRAFT"read-only
employeeProfileIduuidoptioneel

employee_profiles UUID of the exiting employee (set at submit).

read-onlynullable
ticketIduuidoptioneel

tickets UUID of the generated offboarding ticket.

read-onlynullable
submittedByIduuidoptioneel

Internal users UUID of the team lead who submitted the form.

nullable
orgUnitIduuidoptioneel

Org unit / department (Abteilung) of the exiting employee.

nullable
displayNamestringoptioneel

Full name of the exiting employee, for list display.

max. 400 tekensnullable
emailstringoptioneel

Work email of the exiting employee.

max. 320 tekensnullable
exitDatedateoptioneel

Last day of employment (Austrittsdatum).

nullable
requestedSystemsstring[]optioneel

Keys of the systems/accounts to deactivate as selected in the form (Confluence, Baramundi, …). Quick-access copy; the canonical source is formData.

Default: []nullable
formDataobjectvereist

Raw submitted values keyed by the configurable form field ids (tenant.settings.offboarding.formDefinition).

Default: {}
missingEmployeeFieldsstring[]optioneel

Snapshot of the employee_profile fields that were missing at submit time and routed the ticket to HR (drives the HR person-data tasks).

Default: []read-onlynullable
configVersionintegeroptioneel

Version of tenant.settings.offboarding (boarding_config_versions, ADR 0992) this record was submitted with; the worker builds the tasks from exactly this version. Null for records submitted before versioning or while the tenant runs on the default config (the live config applies then). Server-managed.

≥ 1read-onlynullable
notesstringoptioneel

Free-text remarks (Besonderheiten).

max. 10000 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/employee_offboardings — Lijst, gepagineerd + filterbaar
  • GET /api/v1/employee_offboardings/<id> — Enkele entity
  • POST /api/v1/employee_offboardings — Aanmaken
  • PATCH /api/v1/employee_offboardings/<id> — Gedeeltelijke update
  • DELETE /api/v1/employee_offboardings/<id> — Soft-delete
  • GET /api/v1/employee_offboardings/<id>/timeline — Audit + activiteiten

Zoeken