Training Appointment Schema
Campos
Training Appointment Schema
Training-specific data attached to exactly one calendar_event (ADR 1197): unit, run, attendance. Time, place and participants live only on the calendar event.
calendarEventId
The calendar_event this appointment belongs to (1:1)
courseId
Course of the live unit
learningUnitId
Live unit (learning_unit.type = live)
runId
Run (Durchführung) — id within learning_unit.live.runs[]
attendance
Attendance per participant, written only by the attendance route
userId
status
openpresentpartialexcusedno_showconfirmedBy
confirmedAt
note
responsibleUserIds
Terminverantwortliche (users._id). Empty/missing = the run instructors are responsible.
attendanceReminderSentAt
Job state of the attendance reminder (worker academy-live-attendance-reminder), set once per appointment
Ningún campo coincide con el filtro.
Endpoints estándar
Este recurso sigue el contrato CRUD genérico de la plataforma. Lea las convenciones sobre paginación, idempotencia, bloqueo optimista y auditoría. Los endpoints principales:
GET /api/v1/training_appointments— Lista, paginada y filtrableGET /api/v1/training_appointments/<id>— Una entidadPOST /api/v1/training_appointments— CrearPATCH /api/v1/training_appointments/<id>— Actualización parcialDELETE /api/v1/training_appointments/<id>— Eliminación lógicaGET /api/v1/training_appointments/<id>/timeline— Auditoría y actividades