API · v1 · estable
CODEMETA OSDeveloper Center
ES
Abrir la consola
Entidad · employee_offboardings

Employee Offboarding Schema

ID del esquema
employee_offboarding
Colección
employee_offboardings
Permisos
  • Leeremployee_offboarding_view
  • Crearemployee_offboarding_create
  • Modificaremployee_offboarding_edit
  • Eliminaremployee_offboarding_delete

Campos

Employee Offboarding Schema

employee_offboardings4 permisos

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

stagestringobligatorio

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
Valor por defecto: "DRAFT"solo lectura
employeeProfileIduuidopcional

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

solo lecturaadmite null
ticketIduuidopcional

tickets UUID of the generated offboarding ticket.

solo lecturaadmite null
submittedByIduuidopcional

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

admite null
orgUnitIduuidopcional

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

admite null
displayNamestringopcional

Full name of the exiting employee, for list display.

máx. 400 caracteresadmite null
emailstringopcional

Work email of the exiting employee.

máx. 320 caracteresadmite null
exitDatedateopcional

Last day of employment (Austrittsdatum).

admite null
requestedSystemsstring[]opcional

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

Valor por defecto: []admite null
formDataobjectobligatorio

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

Valor por defecto: {}
missingEmployeeFieldsstring[]opcional

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

Valor por defecto: []solo lecturaadmite null
configVersionintegeropcional

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.

≥ 1solo lecturaadmite null
notesstringopcional

Free-text remarks (Besonderheiten).

máx. 10000 caracteresadmite null

Endpoints estándar

Este recurso sigue el contrato CRUD genérico de la plataforma. Lea las convenciones sobre paginación, idempotencia, bloqueo optimista y auditoría. Los endpoints principales:

  • GET /api/v1/employee_offboardings — Lista, paginada y filtrable
  • GET /api/v1/employee_offboardings/<id> — Una entidad
  • POST /api/v1/employee_offboardings — Crear
  • PATCH /api/v1/employee_offboardings/<id> — Actualización parcial
  • DELETE /api/v1/employee_offboardings/<id> — Eliminación lógica
  • GET /api/v1/employee_offboardings/<id>/timeline — Auditoría y actividades

Búsqueda