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

Employee Offboarding Schema

ID du schéma
employee_offboarding
Collection
employee_offboardings
Autorisations
  • Lireemployee_offboarding_view
  • Créeremployee_offboarding_create
  • Modifieremployee_offboarding_edit
  • Supprimeremployee_offboarding_delete

Champs

Employee Offboarding Schema

employee_offboardings4 autorisations

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

stagestringobligatoire

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
Par défaut : "DRAFT"lecture seule
employeeProfileIduuidfacultatif

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

lecture seulenullable
ticketIduuidfacultatif

tickets UUID of the generated offboarding ticket.

lecture seulenullable
submittedByIduuidfacultatif

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

nullable
orgUnitIduuidfacultatif

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

nullable
displayNamestringfacultatif

Full name of the exiting employee, for list display.

max. 400 caractèresnullable
emailstringfacultatif

Work email of the exiting employee.

max. 320 caractèresnullable
exitDatedatefacultatif

Last day of employment (Austrittsdatum).

nullable
requestedSystemsstring[]facultatif

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

Par défaut : []nullable
formDataobjectobligatoire

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

Par défaut : {}
missingEmployeeFieldsstring[]facultatif

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

Par défaut : []lecture seulenullable
configVersionintegerfacultatif

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.

≥ 1lecture seulenullable
notesstringfacultatif

Free-text remarks (Besonderheiten).

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

Recherche