Shift Blocks
Alle Operationen rund um Shift Blocks.
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 |
|---|---|---|---|---|
| Shift Block | shift_block |
12 | — | shift_block_* |
Endpoints
| Methode | Pfad | Operation | Beschreibung |
|---|---|---|---|
POST |
/v1/shift_blocks |
Create shift_block | Create a new shift_block in the active tenant. |
DELETE |
/v1/shift_blocks/{id} |
Delete shift_block | Soft delete entity. |
GET |
/v1/shift_blocks/{id} |
Get shift_block by id | Fetch a single shift_block. |
GET |
/v1/shift_blocks/{id}/linked |
Get linked entities | CodeMeta OS API endpoint. |
GET |
/v1/shift_blocks/{id}/timeline |
Get timeline | CodeMeta OS API endpoint. |
GET |
/v1/shift_blocks/{id}/transitions |
List transitions | CodeMeta OS API endpoint. |
GET |
/v1/shift_blocks |
List shift_blocks | List shift_blocks for the active tenant. |
PATCH |
/v1/shift_blocks/{id} |
Patch shift_block | JSON Merge Patch update. |
POST |
/v1/shift_blocks/bulk |
Bulk operation | CodeMeta OS API endpoint. |
POST |
/v1/shift_blocks/{id}/transition |
POST /v1/shift_blocks/{id}/transition | CodeMeta OS API endpoint. |
POST |
/v1/shift_blocks/{id}/transitions/{transitionKey} |
Execute transition | CodeMeta OS API endpoint. |
PUT |
/v1/shift_blocks/{id} |
Replace shift_block | Full replace with optimistic locking. |