Working Time Models
Todas las operaciones de Working Time Models.
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 |
|---|---|---|---|---|
| Working Time Model | working_time_model |
40 | — | working_time_model_* |
Endpoints
| Método | Ruta | Operación | Descripción |
|---|---|---|---|
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. |