Zum Inhalt springen

Courses API

This section covers two distinct but related entities:

EntityGermanPurpose
CourseKursThe actual operational course — dates, lessons, teachers, classes.
CourseListingKursausschreibungThe public-facing announcement of a course on a listing platform.
ListingPlatformAusschreibungsplattformA named collection of listings (e.g. per school site or brand).

A listing exposes one or more courses to the public website; the course itself lives in SwissMentor and holds the schedule, participants and billing setup.

  • Courses — create, update and query Course records
  • Course Listings — publish courses on a listing platform (Kursausschreibung)
  1. Staff creates a Course (schedule, teachers, price) — Courses.
  2. Staff creates a CourseListing and links the course to it via saveCourseListingCourse — Course Listings.
  3. The public website calls the public publicCourse(guid) query to render the listing.
  4. A visitor enrolls through publicEnrollToCourse, producing a CourseRegistration.
  5. Staff confirms (Buchen) — producing a CourseParticipant.