API · v1 · stabil
CODEMETA OSDeveloper Center
Konsole öffnen
Entity · training_sessions

Training Session Schema

Schema-ID
training_session
Collection
training_sessions
Permissions
  • Lesentraining_session_view
  • Anlegentraining_session_create
  • Änderntraining_session_edit
  • Löschentraining_session_delete

Felder

Training Session Schema

training_sessions4 Permissions

A scheduled training group / session (Schulungsgruppe) with one or more dates, capacity targets (Sollzahlen) and participants (WP-F).

courseIdstringoptional

Optional linked academy course (a session may also be a pure presence training).

nullable
titlestringerforderlich

Session title (inherits/overrides the linked course title).

1–200 Zeichen
descriptionstringoptional
max 2000 Zeichennullable
trainingCodestringoptional

Optional internal training code (intern/extern).

max 50 Zeichennullable
modestringerforderlich
ONLINEPRESENCEHYBRID
Default: "PRESENCE"
locationstringoptional

Physical location for presence/hybrid sessions.

max 300 Zeichennullable
onlineUrlstringoptional

Meeting URL for online/hybrid sessions.

max 1000 Zeichennullable
sessionsobject[]optional

One or more individual dates (a series). Each has a start/end and optional room.

nullable
startAtdatetimeerforderlich
endAtdatetimeerforderlich
roomstringoptional
max 100 Zeichennullable
minParticipantsnumberoptional

Minimum participants for the session to take place (Mindestzahl, #14).

≥ 0nullable
targetParticipantsnumberoptional

Target number of participants (Sollzahl, #14).

≥ 0nullable
maxParticipantsnumberoptional

Maximum capacity; registrations beyond go to the waitlist (#14).

≥ 0nullable
statusstringerforderlich
PLANNEDCONFIRMEDRUNNINGCOMPLETEDCANCELLED
Default: "PLANNED"
instructorUserIdsstring[]optional

Users leading the session.

nullable
skillIdstringoptional

Optional linked skill: confirming a participant as ATTENDED awards XP on this skill (reuses WP-A).

nullable
registrationDeadlinedateoptional
nullable

Standard-Endpoints

Diese Resource folgt dem generischen CRUD-Vertrag der Plattform. Lesen Sie die Konventionen für Pagination, Idempotenz, Optimistic Locking und Audit. Die wichtigsten Endpoints:

  • GET /api/v1/training_sessions — Liste, paginiert + filterbar
  • GET /api/v1/training_sessions/<id> — Einzelne Entity
  • POST /api/v1/training_sessions — Anlegen
  • PATCH /api/v1/training_sessions/<id> — Teil-Update
  • DELETE /api/v1/training_sessions/<id> — Soft-Delete
  • GET /api/v1/training_sessions/<id>/timeline — Audit + Aktivitäten

Suche