API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · employee_offboardings

Employee Offboarding Schema

Schema ID
employee_offboarding
Collection
employee_offboardings
Permissions
  • Reademployee_offboarding_view
  • Createemployee_offboarding_create
  • Editemployee_offboarding_edit
  • Deleteemployee_offboarding_delete

Fields

Employee Offboarding Schema

employee_offboardings4 permissions

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

stagestringrequired

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
employeeProfileIduuidoptional

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

read-onlynullable
ticketIduuidoptional

tickets UUID of the generated offboarding ticket.

read-onlynullable
submittedByIduuidoptional

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

nullable
orgUnitIduuidoptional

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

nullable
displayNamestringoptional

Full name of the exiting employee, for list display.

max 400 charactersnullable
emailstringoptional

Work email of the exiting employee.

max 320 charactersnullable
exitDatedateoptional

Last day of employment (Austrittsdatum).

nullable
requestedSystemsstring[]optional

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

Default: []nullable
formDataobjectrequired

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

Default: {}
missingEmployeeFieldsstring[]optional

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
configVersionintegeroptional

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
notesstringoptional

Free-text remarks (Besonderheiten).

max 10000 charactersnullable

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/employee_offboardings — List, paginated + filterable
  • GET /api/v1/employee_offboardings/<id> — Single entity
  • POST /api/v1/employee_offboardings — Create
  • PATCH /api/v1/employee_offboardings/<id> — Partial update
  • DELETE /api/v1/employee_offboardings/<id> — Soft delete
  • GET /api/v1/employee_offboardings/<id>/timeline — Audit + activities

Search