API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · training_appointments

Training Appointment Schema

Schema ID
training_appointment
Collection
training_appointments
Permissions
  • Readcourse_view
  • Createcourse_edit
  • Editcourse_edit
  • Deletecourse_edit

Fields

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.

calendarEventIduuidrequired

The calendar_event this appointment belongs to (1:1)

read-only
courseIdstringrequired

Course of the live unit

min 1 charactersread-only
learningUnitIdstringrequired

Live unit (learning_unit.type = live)

min 1 charactersread-only
runIdstringrequired

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

1–64 charactersread-only
attendanceobject[]optional

Attendance per participant, written only by the attendance route

read-onlynullable
userIdstringrequired
1–64 characters
statusstringrequired
openpresentpartialexcusedno_show
confirmedBystringoptional
max 64 charactersnullable
confirmedAtdatetimeoptional
nullable
notestringoptional
max 1000 charactersnullable
responsibleUserIdsstring[]optional

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

read-onlynullable
attendanceReminderSentAtdatetimeoptional

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

read-onlynullable

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/training_appointments — List, paginated + filterable
  • GET /api/v1/training_appointments/<id> — Single entity
  • POST /api/v1/training_appointments — Create
  • PATCH /api/v1/training_appointments/<id> — Partial update
  • DELETE /api/v1/training_appointments/<id> — Soft delete
  • GET /api/v1/training_appointments/<id>/timeline — Audit + activities

Search