API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · objectives

Objective (OKR) Schema

Schema-ID
objective
Collection
objectives
Permissions
  • Lezenobjective_view
  • Aanmakenobjective_create
  • Wijzigenobjective_edit
  • Verwijderenobjective_delete

Velden

Objective (OKR) Schema

objectives4 permissions

Schema for validating objective entities (Zielvereinbarungen / OKRs)

employeeIduuidvereist

UUID of the employee profile

reviewIduuidoptioneel

Optional link to a performance review

nullable
titlestringvereist

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

1–500 tekens
descriptionstringoptioneel

Detailed objective description

max. 5000 tekensnullable
periodStartdatevereist

Period start

periodEnddatevereist

Period end

statusstringoptioneel
DRAFTACTIVECOMPLETEDCANCELLED
Default: "DRAFT"
keyResultsobject[]optioneel

Key results for this objective

Default: []
krIduuidoptioneel
titlestringvereist

Key result title

1–500 tekens
unitstringoptioneel

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

max. 50 tekensnullable
targetValuenumbervereist

Target value to achieve

currentValuenumberoptioneel

Current progress value

Default: 0
progressnumberoptioneel

Progress percentage (0-100)

0 – 100Default: 0
overallProgressnumberoptioneel

Overall objective progress

0 – 100Default: 0
notesstringoptioneel
max. 5000 tekensnullable

Standaard-endpoints

Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:

  • GET /api/v1/objectives — Lijst, gepagineerd + filterbaar
  • GET /api/v1/objectives/<id> — Enkele entity
  • POST /api/v1/objectives — Aanmaken
  • PATCH /api/v1/objectives/<id> — Gedeeltelijke update
  • DELETE /api/v1/objectives/<id> — Soft-delete
  • GET /api/v1/objectives/<id>/timeline — Audit + activiteiten

Zoeken