Course Vouchers
Todas las operaciones de Course Vouchers.
Modelo de datos
Los endpoints de este módulo trabajan sobre la siguiente entidad. La referencia del esquema enumera cada campo con tipo, validación y relaciones:
| Entidad | ID del esquema | Campos | Secuencia | Permisos |
|---|---|---|---|---|
| Course Voucher | course_voucher |
13 | — | course_voucher_* |
Endpoints
| Método | Ruta | Operación | Descripción |
|---|---|---|---|
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. |