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

Schedule Period Schema

Schema-ID
schedule_period
Collection
schedule_periods
Permissions
  • Lezenschedule_period_view
  • Aanmakenschedule_period_create
  • Wijzigenschedule_period_edit
  • Verwijderenschedule_period_delete

Velden

Schedule Period Schema

schedule_periods4 permissions

Schema for validating schedule period entities (Planungsperioden)

namestringvereist

Period name, e.g. "März 2026 – Pflege A"

1–200 tekens
orgUnitIduuidoptioneel

Organizational unit UUID. Null/omitted = tenant-wide period.

nullable
startDatedatevereist

Period start date (YYYY-MM-DD)

endDatedatevereist

Period end date (YYYY-MM-DD)

preferenceDeadlinedatetimeoptioneel

Deadline for employee preference submission

nullable
publicationDeadlinedatetimeoptioneel

Target date for schedule publication

nullable
federalStatestringoptioneel

German federal state for holiday calendar. Deprecated: new periods derive the region from org_unit.holidayRegion (with fallback to tenant.settings.defaultHolidayRegion). Retained for legacy records.

BBBEBWBYHBHEHHMVNINWRPSHSLSNSTTHnull
nullable
statusstringoptioneel
DRAFTPREFERENCE_COLLECTIONGENERATINGREVIEWBETRIEBSRAT_REVIEWPUBLISHEDARCHIVED
Default: "DRAFT"
betriebsratReviewRequiredbooleanoptioneel
Default: false
betriebsratReviewNotestringoptioneel
max. 5000 tekensnullable
publishedAtdatetimeoptioneel
nullable
publishedByuuidoptioneel
nullable
generationJobIdstringoptioneel
max. 200 tekensnullable
generationStartedAtdatetimeoptioneel
nullable
generationFinishedAtdatetimeoptioneel
nullable
generationErrorstringoptioneel
max. 5000 tekensnullable
qualityScorenumberoptioneel
0 – 100nullable
qualityReportobjectoptioneel

Solver + Claude quality evaluation result (merged)

nullable
isFeasiblebooleanoptioneel

Whether the solver found a feasible plan covering all mandatory slots

nullable
solveTimeMsnumberoptioneel
≥ 0nullable
objectiveValuenumberoptioneel
nullable
neverViolationsobject[]optioneel

Assignments that violated employee NEVER preferences

nullable
unfilledSlotsobject[]optioneel

Mandatory coverage slots the solver could not fill, with reason

nullable
coverageShiftTemplateIdsuuid[]optioneel

Shift templates that must be covered in this period

Default: []
constraintSetIduuidoptioneel

Tarifvertrag constraint set

nullable
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/schedule_periods — Lijst, gepagineerd + filterbaar
  • GET /api/v1/schedule_periods/<id> — Enkele entity
  • POST /api/v1/schedule_periods — Aanmaken
  • PATCH /api/v1/schedule_periods/<id> — Gedeeltelijke update
  • DELETE /api/v1/schedule_periods/<id> — Soft-delete
  • GET /api/v1/schedule_periods/<id>/timeline — Audit + activiteiten

Zoeken