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

Training Appointment Schema

Schema-ID
training_appointment
Collection
training_appointments
Permissions
  • Lezencourse_view
  • Aanmakencourse_edit
  • Wijzigencourse_edit
  • Verwijderencourse_edit

Velden

Training Appointment Schema

training_appointments4 permissions

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

calendarEventIduuidvereist

The calendar_event this appointment belongs to (1:1)

read-only
courseIdstringvereist

Course of the live unit

min. 1 tekensread-only
learningUnitIdstringvereist

Live unit (learning_unit.type = live)

min. 1 tekensread-only
runIdstringvereist

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

1–64 tekensread-only
attendanceobject[]optioneel

Attendance per participant, written only by the attendance route

read-onlynullable
userIdstringvereist
1–64 tekens
statusstringvereist
openpresentpartialexcusedno_show
confirmedBystringoptioneel
max. 64 tekensnullable
confirmedAtdatetimeoptioneel
nullable
notestringoptioneel
max. 1000 tekensnullable
responsibleUserIdsstring[]optioneel

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

read-onlynullable
attendanceReminderSentAtdatetimeoptioneel

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

read-onlynullable

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

Zoeken