Course Vouchers
Alle Operationen rund um Course Vouchers.
Datenmodell
Die Endpoints dieses Moduls arbeiten auf folgender Entität. Die Schema-Referenz listet jedes Feld mit Typ, Validierung und Beziehungen:
| Entität | Schema-ID | Felder | Sequenz | Permissions |
|---|---|---|---|---|
| Course Voucher | course_voucher |
13 | — | course_voucher_* |
Endpoints
| Methode | Pfad | Operation | Beschreibung |
|---|---|---|---|
POST |
/v1/course_vouchers |
Create course_voucher | Create a new course_voucher in the active tenant. |
DELETE |
/v1/course_vouchers/{id} |
Delete course_voucher | Soft delete entity. |
GET |
/v1/course_vouchers/{id} |
Get course_voucher by id | Fetch a single course_voucher. |
GET |
/v1/course_vouchers/{id}/linked |
Get linked entities | CodeMeta OS API endpoint. |
GET |
/v1/course_vouchers/{id}/timeline |
Get timeline | CodeMeta OS API endpoint. |
GET |
/v1/course_vouchers/{id}/transitions |
List transitions | CodeMeta OS API endpoint. |
GET |
/v1/course_vouchers |
List course_vouchers | List course_vouchers for the active tenant. |
PATCH |
/v1/course_vouchers/{id} |
Patch course_voucher | JSON Merge Patch update. |
POST |
/v1/course_vouchers/bulk |
Bulk operation | CodeMeta OS API endpoint. |
POST |
/v1/course_vouchers/{id}/transition |
POST /v1/course_vouchers/{id}/transition | CodeMeta OS API endpoint. |
POST |
/v1/course_vouchers/{id}/transitions/{transitionKey} |
Execute transition | CodeMeta OS API endpoint. |
PUT |
/v1/course_vouchers/{id} |
Replace course_voucher | Full replace with optimistic locking. |