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

Training Assignment Schema

ID du schéma
training_assignment
Collection
training_assignments
Autorisations
  • Liretraining_assignment_view
  • Créertraining_assignment_create
  • Modifiertraining_assignment_edit
  • Supprimertraining_assignment_delete

Champs

Training Assignment Schema

training_assignments4 autorisations

Schema for validating training assignment entities (Schulungszuweisungen)

employeeIduuidobligatoire

UUID of the employee profile

assignedUserIduuidfacultatif

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

nullable
courseIduuidfacultatif

UUID of the academy course (null for external trainings)

nullable
sourceTenantIdstringfacultatif

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

max. 64 caractèresnullable
shareIduuidfacultatif

course_share that grants this tenant access to the shared course

nullable
courseTitlestringfacultatif

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

max. 500 caractèresnullable
enrollmentIduuidfacultatif

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

nullable
trainingRequirementIduuidfacultatif

training_requirement (Schulungspflicht) this assignment was generated from

nullable
lastReminderAtdatetimefacultatif

When the last deadline reminder was sent for this assignment

nullable
reminderCountnumberfacultatif

Number of deadline reminders sent for this assignment

≥ 0nullable
escalatedAtdatetimefacultatif

When the overdue assignment was escalated to the manager

nullable
isExternalbooleanfacultatif

Whether this is an external (non-Academy) training

Par défaut : false
externalTrainingNamestringfacultatif

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

max. 500 caractèresnullable
externalProviderstringfacultatif

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

max. 500 caractèresnullable
providerTypestringfacultatif

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

INTERNALEXTERNALnull
nullable
deliveryModestringfacultatif

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

REMOTEONSITEnull
nullable
skillIduuidfacultatif

Linked skill definition UUID (auto-upgrade on completion)

nullable
typestringobligatoire

Assignment type

MANDATORYRECOMMENDEDVOLUNTARY
statusstringfacultatif
ASSIGNEDIN_PROGRESSCOMPLETEDOVERDUEEXEMPTEDPENDING_REVIEWREJECTED
Par défaut : "ASSIGNED"
dueDatedatefacultatif

Deadline for completing the training

nullable
recurrenceMonthsnumberfacultatif

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

1 – 120nullable
completedAtdatetimefacultatif
nullable
certificateFileIduuidfacultatif

UUID of uploaded completion certificate

nullable
certificateExpiresAtdatefacultatif

Certification expiry date

nullable
costCourseCentsnumberfacultatif

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

≥ 0nullable
costLaborCentsnumberfacultatif

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

≥ 0nullable
subsidyCentsnumberfacultatif

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

≥ 0nullable
costCurrencystringfacultatif

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

max. 3 caractèresnullable
costNotestringfacultatif

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

max. 500 caractèresnullable
fleetDriverIduuidfacultatif

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

nullable
trainingSessionIduuidfacultatif

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

nullable
registrationStatusstringfacultatif

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

REGISTEREDWAITLISTEDCANCELLED
nullable
attendanceStatusstringfacultatif

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

PENDINGATTENDEDNO_SHOWEXCUSED
nullable
attendanceConfirmedByuuidfacultatif

User who confirmed attendance.

nullable
attendanceConfirmedAtdatetimefacultatif
nullable
cycleNumbernumberfacultatif

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

≥ 1nullable
previousAssignmentIduuidfacultatif

Link to previous cycle training_assignment for audit trail

nullable
notesstringfacultatif
max. 5000 caractèresnullable
submittedByUserIduuidfacultatif

User who self-submitted this external training

nullable
reviewedByUserIduuidfacultatif

Admin/HR user who approved or rejected the submission

nullable
reviewedAtdatetimefacultatif

When the submission was reviewed

nullable
rejectionReasonstringfacultatif

Reason for rejection (if status is REJECTED)

max. 2000 caractèresnullable
rejectionCountnumberfacultatif

Number of times this assignment submission has been rejected

≥ 0nullable

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

Recherche