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

Position Schema

ID del esquema
position
Colección
positions
Permisos
  • Leerposition_view
  • Crearposition_create
  • Modificarposition_edit
  • Eliminarposition_delete

Campos

Position Schema

positions4 permisos

Schema for organisational positions / Planstellen (Spec docs/specs/org-chart-v2.md, ADR 0097b)

namestringobligatorio

Display name of the position (e.g. "Head of Marketing")

1–200 caracteres
codestringopcional

Stable internal position code (e.g. "POS-2026-00042"). Generated by sequence service; protected against client writes.

máx. 50 caracteressolo lecturaadmite null
orgUnitIduuidopcional

Anchoring org unit. NULL is allowed for top-level positions without OU (Geschäftsführung, Aufsichtsrat, Datenschutzbeauftragter). Settings inheritance skips the OU layer when null.

admite null
parentPositionIduuidopcional

Disciplinary parent position (Linie). Resolver climbs this chain for MANAGER(DISCIPLINARY,…) lookups.

admite null
dottedLineParentIdsuuid[]opcional

Functional / dotted-line parent positions (Matrix). Resolver uses these for MANAGER(FUNCTIONAL,…) lookups.

máx. 10 elementosValor por defecto: []
positionTypestringobligatorio

LINE: regular org-chart position. STAFF: staff position with read access over the parent branch (no own subordinates). PROJECT: project-bound. EXECUTIVE: GF/C-Level without disciplinary parent.

LINESTAFFPROJECTEXECUTIVE
roleTypestringopcional

Role flavour — purely informational, drives UI badges.

MANAGERINDIVIDUAL_CONTRIBUTORLEADASSISTANTnull
admite null
requiredSkillIdsuuid[]opcional

Skills expected for this position (FK skill_definition).

Valor por defecto: []
requiredLanguagesobject[]opcional

Required languages with minimum CEFR level for this position.

Valor por defecto: []
codestringobligatorio
máx. 10 caracteressolo lectura
minLevelstringobligatorio
máx. 10 caracteres
requiredDocumentsobject[]opcional

Documents the holder must provide (e.g. Führungszeugnis, NDA). Phase 6 generates onboarding tasks from this list.

Valor por defecto: []
documentTypeIduuidobligatorio
mandatorybooleanobligatorio
Valor por defecto: true
renewalIntervalMonthsintegeropcional
1 – 1200
blockingForOnboardingbooleanopcional
Valor por defecto: false
costCenterIduuidopcional

FK auf cost_center. Übersteuert org_unit.costCenterId. Siehe ADR 0116a.

admite null
defaultApprovalLimitnumberopcional

Approval budget limit in EUR for this position (e.g. CFO: 50000).

≥ 0admite null
validFromdateopcional

First day this position is effective.

admite null
validTodateopcional

Last day this position is effective. NULL = open-ended.

admite null
isActivebooleanopcional

Soft activation flag. Inactive positions are excluded from approver resolution.

Valor por defecto: true
descriptionstringopcional

Long-form description / Stellenbeschreibung.

máx. 4000 caracteresadmite null
responsibilitiesstring[]opcional
máx. 50 elementosValor por defecto: []

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

Búsqueda