Tasks
Alle Operationen rund um Tasks.
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 |
|---|---|---|---|---|
| Task | task |
104 | — | task_* |
Endpoints
| Methode | Pfad | Operation | Beschreibung |
|---|---|---|---|
POST |
/v1/tasks |
Create task | Create a new task in the active tenant. |
DELETE |
/v1/tasks/{id} |
Delete task | Soft delete entity. |
DELETE |
/v1/tasks/{id}/occurrences/{date} |
DELETE /v1/tasks/{id}/occurrences/{date} | CodeMeta OS API endpoint. |
GET |
/v1/tasks/{id} |
Get task by id | Fetch a single task. |
GET |
/v1/tasks/{id}/linked |
Get linked entities | CodeMeta OS API endpoint. |
GET |
/v1/tasks/{id}/nearby-appointments |
GET /v1/tasks/{id}/nearby-appointments | CodeMeta OS API endpoint. |
GET |
/v1/tasks/{id}/occurrences |
GET /v1/tasks/{id}/occurrences | CodeMeta OS API endpoint. |
GET |
/v1/tasks/{id}/timeline |
Get timeline | CodeMeta OS API endpoint. |
GET |
/v1/tasks/{id}/transitions |
List transitions | CodeMeta OS API endpoint. |
GET |
/v1/tasks |
List tasks | List tasks for the active tenant. |
PATCH |
/v1/tasks/{id} |
Patch task | JSON Merge Patch update. |
POST |
/v1/tasks/{id}/budget-override |
POST /v1/tasks/{id}/budget-override | Raise (or lower) the budget cap on an order-linked task. |
POST |
/v1/tasks/bulk |
Bulk operation | CodeMeta OS API endpoint. |
POST |
/v1/tasks/{id}/occurrences/{date} |
POST /v1/tasks/{id}/occurrences/{date} | CodeMeta OS API endpoint. |
POST |
/v1/tasks/plan/commit |
POST /v1/tasks/plan/commit | CodeMeta OS API endpoint. |
POST |
/v1/tasks/plan/preview |
POST /v1/tasks/plan/preview | CodeMeta OS API endpoint. |
POST |
/v1/tasks/plan/slots |
POST /v1/tasks/plan/slots | CodeMeta OS API endpoint. |
POST |
/v1/tasks/{id}/schedule-into-event |
POST /v1/tasks/{id}/schedule-into-event | CodeMeta OS API endpoint. |
POST |
/v1/tasks/{id}/transition |
POST /v1/tasks/{id}/transition | CodeMeta OS API endpoint. |
POST |
/v1/tasks/{id}/transitions/{transitionKey} |
Execute transition | CodeMeta OS API endpoint. |
POST |
/v1/tasks/{id}/unschedule-from-event |
POST /v1/tasks/{id}/unschedule-from-event | CodeMeta OS API endpoint. |
PUT |
/v1/tasks/{id} |
Replace task | Full replace with optimistic locking. |