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

Objective (OKR) Schema

ID du schéma
objective
Collection
objectives
Autorisations
  • Lireobjective_view
  • Créerobjective_create
  • Modifierobjective_edit
  • Supprimerobjective_delete

Champs

Objective (OKR) Schema

objectives4 autorisations

Schema for validating objective entities (Zielvereinbarungen / OKRs)

employeeIduuidobligatoire

UUID of the employee profile

reviewIduuidfacultatif

Optional link to a performance review

nullable
titlestringobligatoire

Objective title (e.g. "Kundenzufriedenheit steigern")

1–500 caractères
descriptionstringfacultatif

Detailed objective description

max. 5000 caractèresnullable
periodStartdateobligatoire

Period start

periodEnddateobligatoire

Period end

statusstringfacultatif
DRAFTACTIVECOMPLETEDCANCELLED
Par défaut : "DRAFT"
keyResultsobject[]facultatif

Key results for this objective

Par défaut : []
krIduuidfacultatif
titlestringobligatoire

Key result title

1–500 caractères
unitstringfacultatif

Unit of measurement (e.g. "%", "Stunden", "NPS")

max. 50 caractèresnullable
targetValuenumberobligatoire

Target value to achieve

currentValuenumberfacultatif

Current progress value

Par défaut : 0
progressnumberfacultatif

Progress percentage (0-100)

0 – 100Par défaut : 0
overallProgressnumberfacultatif

Overall objective progress

0 – 100Par défaut : 0
notesstringfacultatif
max. 5000 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/objectives — Liste, paginée et filtrable
  • GET /api/v1/objectives/<id> — Une entité
  • POST /api/v1/objectives — Créer
  • PATCH /api/v1/objectives/<id> — Mise à jour partielle
  • DELETE /api/v1/objectives/<id> — Suppression logique
  • GET /api/v1/objectives/<id>/timeline — Audit et activités

Recherche