API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · working_time_assignments

Working Time Assignment Schema

Schema ID
working_time_assignment
Collection
working_time_assignments
Permissions
  • Readworking_time_assignment_view
  • Createworking_time_assignment_employee
  • Editworking_time_assignment_employee
  • Deleteworking_time_assignment_employee

Fields

Working Time Assignment Schema

working_time_assignments4 permissions

Hierarchische Zuweisung eines Arbeitszeitmodells an einen Scope mit Gültigkeit

scopestringrequired

Auflösungs-Ebene: Tenant (Fallback), Org-Unit (Vererbung), Employee (Override)

TENANTORG_UNITEMPLOYEE
scopeIdstringrequired

Ziel-ID passend zum Scope: tenantId | org_unit._id | employee_profile._id. Für EMPLOYEE-Scope ist `employee_profile._id` der kanonische Schlüssel (ADR 0036b, Folge-Update 2026-05). Damit lassen sich Arbeitszeitmodelle auch Mitarbeitern ohne verknüpften User-Account zuweisen.

1–64 characters
workingTimeModelIdstringrequired

Referenz auf working_time_models._id

1–64 characters
validFromstringrequired

ISO 8601 Beginn der Zuweisung

Pattern
validTostringrequired

ISO 8601 Ende; "9999-12-31" = unbefristet (Sentinel)

Pattern
weeklyHoursnumberoptional

Individuelle Wochenstunden (Instanz-Parameter). Nicht gesetzt = Modell-Default.

0 – 80nullable
partTimePercentnumberoptional

Teilzeit-Prozentsatz auf dem partTime-Modifier des Modells. Nur sinnvoll, wenn Model partTime definiert.

0 – 100nullable
collectiveAgreementIdstringoptional

Optionale Tarifvertragsbindung (collective_agreements._id)

max 64 charactersnullable
approvalStatestringoptional

Freigabestatus. Resolver berücksichtigt nur APPROVED für scope ∈ {TENANT, ORG_UNIT}.

DRAFTPENDING_WORKS_COUNCILAPPROVEDREJECTED
Default: "DRAFT"read-only
submittedForApprovalAtdatetimeoptional

Zeitpunkt der BR-Vorlage

read-onlynullable
submittedBystringoptional

userId der Person, die die Freigabe angefragt hat

max 64 charactersread-onlynullable
approvedAtdatetimeoptional

Zeitpunkt der BR-Freigabe oder Ablehnung

read-onlynullable
approvedBystringoptional

userId des freigebenden BR-Mitglieds (muss != submittedBy sein)

max 64 charactersread-onlynullable
worksCouncilCaseRefstringoptional

BR-Beschluss-Referenz (Nummer/Datum), frei formatiert

max 200 charactersnullable
rejectionReasonstringoptional

Begründung bei approvalState === "REJECTED"

max 4000 charactersnullable
notesstringoptional

Zusätzliche Notizen zur Zuweisung

max 4000 charactersnullable

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/working_time_assignments — List, paginated + filterable
  • GET /api/v1/working_time_assignments/<id> — Single entity
  • POST /api/v1/working_time_assignments — Create
  • PATCH /api/v1/working_time_assignments/<id> — Partial update
  • DELETE /api/v1/working_time_assignments/<id> — Soft delete
  • GET /api/v1/working_time_assignments/<id>/timeline — Audit + activities

Search