Courses API
Courses API
Abschnitt betitelt „Courses API“This section covers two distinct but related entities:
| Entity | German | Purpose |
|---|---|---|
Course | Kurs | The actual operational course — dates, lessons, teachers, classes. |
CourseListing | Kursausschreibung | The public-facing announcement of a course on a listing platform. |
ListingPlatform | Ausschreibungsplattform | A 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.
Sections
Abschnitt betitelt „Sections“- Courses — create, update and query
Courserecords - Course Listings — publish courses on a listing platform (Kursausschreibung)
Typical Flow
Abschnitt betitelt „Typical Flow“- Staff creates a
Course(schedule, teachers, price) — Courses. - Staff creates a
CourseListingand links the course to it viasaveCourseListingCourse— Course Listings. - The public website calls the public
publicCourse(guid)query to render the listing. - A visitor enrolls through
publicEnrollToCourse, producing aCourseRegistration. - Staff confirms (Buchen) — producing a
CourseParticipant.
Related
Abschnitt betitelt „Related“- Enrollment — registrations and participants
- Public Enrollment — anonymous sign-up using
courseGuidfrom a listing