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

Training Appointment Schema

ID du schéma
training_appointment
Collection
training_appointments
Autorisations
  • Lirecourse_view
  • Créercourse_edit
  • Modifiercourse_edit
  • Supprimercourse_edit

Champs

Training Appointment Schema

training_appointments4 autorisations

Training-specific data attached to exactly one calendar_event (ADR 1197): unit, run, attendance. Time, place and participants live only on the calendar event.

calendarEventIduuidobligatoire

The calendar_event this appointment belongs to (1:1)

lecture seule
courseIdstringobligatoire

Course of the live unit

min. 1 caractèreslecture seule
learningUnitIdstringobligatoire

Live unit (learning_unit.type = live)

min. 1 caractèreslecture seule
runIdstringobligatoire

Run (Durchführung) — id within learning_unit.live.runs[]

1–64 caractèreslecture seule
attendanceobject[]facultatif

Attendance per participant, written only by the attendance route

lecture seulenullable
userIdstringobligatoire
1–64 caractères
statusstringobligatoire
openpresentpartialexcusedno_show
confirmedBystringfacultatif
max. 64 caractèresnullable
confirmedAtdatetimefacultatif
nullable
notestringfacultatif
max. 1000 caractèresnullable
responsibleUserIdsstring[]facultatif

Terminverantwortliche (users._id). Empty/missing = the run instructors are responsible.

lecture seulenullable
attendanceReminderSentAtdatetimefacultatif

Job state of the attendance reminder (worker academy-live-attendance-reminder), set once per appointment

lecture seulenullable

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

Recherche