Working Time Models
All operations for Working Time Models.
Data model
The endpoints of this module work on the following entity. The schema reference lists every field with type, validation and relationships:
| Entity | Schema ID | Fields | Sequence | Permissions |
|---|---|---|---|---|
| Working Time Model | working_time_model |
40 | — | working_time_model_* |
Endpoints
| Method | Path | Operation | Description |
|---|---|---|---|
POST |
/v1/working_time_models |
Create working_time_model | Create a new working_time_model in the active tenant. |
DELETE |
/v1/working_time_models/{id} |
Delete working_time_model | Soft delete entity. |
GET |
/v1/working_time_models/{id} |
Get working_time_model by id | Fetch a single working_time_model. |
GET |
/v1/working_time_models/{id}/linked |
Get linked entities | CodeMeta OS API endpoint. |
GET |
/v1/working_time_models/{id}/timeline |
Get timeline | CodeMeta OS API endpoint. |
GET |
/v1/working_time_models/{id}/transitions |
List transitions | CodeMeta OS API endpoint. |
GET |
/v1/working_time_models |
List working_time_models | List working_time_models for the active tenant. |
PATCH |
/v1/working_time_models/{id} |
Patch working_time_model | JSON Merge Patch update. |
PATCH |
/v1/working_time_models/{id}/approval |
PATCH /v1/working_time_models/{id}/approval | Record a works-council decision on a working time model (ADR 0036b Phase 6.5) |
POST |
/v1/working_time_models/bulk |
Bulk operation | CodeMeta OS API endpoint. |
POST |
/v1/working_time_models/{id}/transition |
POST /v1/working_time_models/{id}/transition | CodeMeta OS API endpoint. |
POST |
/v1/working_time_models/{id}/transitions/{transitionKey} |
Execute transition | CodeMeta OS API endpoint. |
PUT |
/v1/working_time_models/{id} |
Replace working_time_model | Full replace with optimistic locking. |