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

Schedule Period Schema

ID du schéma
schedule_period
Collection
schedule_periods
Autorisations
  • Lireschedule_period_view
  • Créerschedule_period_create
  • Modifierschedule_period_edit
  • Supprimerschedule_period_delete

Champs

Schedule Period Schema

schedule_periods4 autorisations

Schema for validating schedule period entities (Planungsperioden)

namestringobligatoire

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

1–200 caractères
orgUnitIduuidfacultatif

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

nullable
startDatedateobligatoire

Period start date (YYYY-MM-DD)

endDatedateobligatoire

Period end date (YYYY-MM-DD)

preferenceDeadlinedatetimefacultatif

Deadline for employee preference submission

nullable
publicationDeadlinedatetimefacultatif

Target date for schedule publication

nullable
federalStatestringfacultatif

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
statusstringfacultatif
DRAFTPREFERENCE_COLLECTIONGENERATINGREVIEWBETRIEBSRAT_REVIEWPUBLISHEDARCHIVED
Par défaut : "DRAFT"
betriebsratReviewRequiredbooleanfacultatif
Par défaut : false
betriebsratReviewNotestringfacultatif
max. 5000 caractèresnullable
publishedAtdatetimefacultatif
nullable
publishedByuuidfacultatif
nullable
generationJobIdstringfacultatif
max. 200 caractèresnullable
generationStartedAtdatetimefacultatif
nullable
generationFinishedAtdatetimefacultatif
nullable
generationErrorstringfacultatif
max. 5000 caractèresnullable
qualityScorenumberfacultatif
0 – 100nullable
qualityReportobjectfacultatif

Solver + Claude quality evaluation result (merged)

nullable
isFeasiblebooleanfacultatif

Whether the solver found a feasible plan covering all mandatory slots

nullable
solveTimeMsnumberfacultatif
≥ 0nullable
objectiveValuenumberfacultatif
nullable
neverViolationsobject[]facultatif

Assignments that violated employee NEVER preferences

nullable
unfilledSlotsobject[]facultatif

Mandatory coverage slots the solver could not fill, with reason

nullable
coverageShiftTemplateIdsuuid[]facultatif

Shift templates that must be covered in this period

Par défaut : []
constraintSetIduuidfacultatif

Tarifvertrag constraint set

nullable
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/schedule_periods — Liste, paginée et filtrable
  • GET /api/v1/schedule_periods/<id> — Une entité
  • POST /api/v1/schedule_periods — Créer
  • PATCH /api/v1/schedule_periods/<id> — Mise à jour partielle
  • DELETE /api/v1/schedule_periods/<id> — Suppression logique
  • GET /api/v1/schedule_periods/<id>/timeline — Audit et activités

Recherche