Course Vouchers
Alle operaties rond Course Vouchers.
Datamodel
De endpoints van deze module werken op de volgende entiteit. De schemareferentie toont elk veld met type, validatie en relaties:
| Entiteit | Schema-ID | Velden | Volgnummer | Permissions |
|---|---|---|---|---|
| Course Voucher | course_voucher |
13 | — | course_voucher_* |
Endpoints
| Methode | Pad | Operatie | Beschrijving |
|---|---|---|---|
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. |