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

Training Assignment Schema

Schema-ID
training_assignment
Collection
training_assignments
Permissions
  • Lezentraining_assignment_view
  • Aanmakentraining_assignment_create
  • Wijzigentraining_assignment_edit
  • Verwijderentraining_assignment_delete

Velden

Training Assignment Schema

training_assignments4 permissions

Schema for validating training assignment entities (Schulungszuweisungen)

employeeIduuidvereist

UUID of the employee profile

assignedUserIduuidoptioneel

UUID of the user assigned to this training (for scope-based access)

nullable
courseIduuidoptioneel

UUID of the academy course (null for external trainings)

nullable
sourceTenantIdstringoptioneel

Tenant that owns the course when it is a course shared into this tenant (null = own course)

max. 64 tekensnullable
shareIduuidoptioneel

course_share that grants this tenant access to the shared course

nullable
courseTitlestringoptioneel

Snapshot of the course title — the course of a shared assignment lives in another tenant

max. 500 tekensnullable
enrollmentIduuidoptioneel

Enrollment that fulfils this assignment (for shared courses it lives in sourceTenantId)

nullable
trainingRequirementIduuidoptioneel

training_requirement (Schulungspflicht) this assignment was generated from

nullable
lastReminderAtdatetimeoptioneel

When the last deadline reminder was sent for this assignment

nullable
reminderCountnumberoptioneel

Number of deadline reminders sent for this assignment

≥ 0nullable
escalatedAtdatetimeoptioneel

When the overdue assignment was escalated to the manager

nullable
isExternalbooleanoptioneel

Whether this is an external (non-Academy) training

Default: false
externalTrainingNamestringoptioneel

Name of external training/certification (e.g. Microsoft AZ-900)

max. 500 tekensnullable
externalProviderstringoptioneel

External training provider (e.g. Microsoft, Cisco)

max. 500 tekensnullable
providerTypestringoptioneel

Non-Academy training held internally or by an external provider (null = EXTERNAL, legacy)

INTERNALEXTERNALnull
nullable
deliveryModestringoptioneel

Non-Academy training held remotely or on site (Präsenz); null = not specified

REMOTEONSITEnull
nullable
skillIduuidoptioneel

Linked skill definition UUID (auto-upgrade on completion)

nullable
typestringvereist

Assignment type

MANDATORYRECOMMENDEDVOLUNTARY
statusstringoptioneel
ASSIGNEDIN_PROGRESSCOMPLETEDOVERDUEEXEMPTEDPENDING_REVIEWREJECTED
Default: "ASSIGNED"
dueDatedateoptioneel

Deadline for completing the training

nullable
recurrenceMonthsnumberoptioneel

Recurrence interval in months (e.g. 12 for annual)

1 – 120nullable
completedAtdatetimeoptioneel
nullable
certificateFileIduuidoptioneel

UUID of uploaded completion certificate

nullable
certificateExpiresAtdateoptioneel

Certification expiry date

nullable
costCourseCentsnumberoptioneel

Course/registration fee in cents (WP-E). Sensitive — gated by training_cost_view.

≥ 0nullable
costLaborCentsnumberoptioneel

Labor cost (paid working time) in cents (WP-E).

≥ 0nullable
subsidyCentsnumberoptioneel

Subsidy / funding received in cents, reduces net cost (WP-E).

≥ 0nullable
costCurrencystringoptioneel

ISO 4217 currency for the cost fields (default EUR, WP-E).

max. 3 tekensnullable
costNotestringoptioneel

Free-text note on the training cost / funding (WP-E).

max. 500 tekensnullable
fleetDriverIduuidoptioneel

Fleet driver ID if this assignment was created by the UVV training workflow

nullable
trainingSessionIduuidoptioneel

Legacy (ADR 1197): linked this assignment to a training_session (Schulungsgruppe, removed). Kept for existing documents, no longer read.

nullable
registrationStatusstringoptioneel

Session registration state (only for session-linked assignments; capacity → WAITLISTED).

REGISTEREDWAITLISTEDCANCELLED
nullable
attendanceStatusstringoptioneel

Attendance confirmation for a session-linked assignment (Teilnahmebestätigung). ATTENDED additionally sets status=COMPLETED.

PENDINGATTENDEDNO_SHOWEXCUSED
nullable
attendanceConfirmedByuuidoptioneel

User who confirmed attendance.

nullable
attendanceConfirmedAtdatetimeoptioneel
nullable
cycleNumbernumberoptioneel

Which recurrence cycle this assignment represents (1, 2, 3...)

≥ 1nullable
previousAssignmentIduuidoptioneel

Link to previous cycle training_assignment for audit trail

nullable
notesstringoptioneel
max. 5000 tekensnullable
submittedByUserIduuidoptioneel

User who self-submitted this external training

nullable
reviewedByUserIduuidoptioneel

Admin/HR user who approved or rejected the submission

nullable
reviewedAtdatetimeoptioneel

When the submission was reviewed

nullable
rejectionReasonstringoptioneel

Reason for rejection (if status is REJECTED)

max. 2000 tekensnullable
rejectionCountnumberoptioneel

Number of times this assignment submission has been rejected

≥ 0nullable

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

Zoeken