Shift Preferences
Todas las operaciones de Shift Preferences.
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 |
|---|---|---|---|---|
| Shift Preference | shift_preference |
18 | — | shift_preference_* |
Endpoints
| Método | Ruta | Operación | Descripción |
|---|---|---|---|
POST |
/v1/shift_preferences |
Create shift_preference | Create a new shift_preference in the active tenant. |
DELETE |
/v1/shift_preferences/{id} |
Delete shift_preference | Soft delete entity. |
GET |
/v1/shift_preferences/{id} |
Get shift_preference by id | Fetch a single shift_preference. |
GET |
/v1/shift_preferences/{id}/linked |
Get linked entities | CodeMeta OS API endpoint. |
GET |
/v1/shift_preferences/{id}/timeline |
Get timeline | CodeMeta OS API endpoint. |
GET |
/v1/shift_preferences/{id}/transitions |
List transitions | CodeMeta OS API endpoint. |
GET |
/v1/shift_preferences |
List shift_preferences | List shift_preferences for the active tenant. |
PATCH |
/v1/shift_preferences/{id} |
Patch shift_preference | JSON Merge Patch update. |
POST |
/v1/shift_preferences/bulk |
Bulk operation | CodeMeta OS API endpoint. |
POST |
/v1/shift_preferences/{id}/confirm-parse |
POST /v1/shift_preferences/{id}/confirm-parse | CodeMeta OS API endpoint. |
POST |
/v1/shift_preferences/{id}/lock |
POST /v1/shift_preferences/{id}/lock | CodeMeta OS API endpoint. |
POST |
/v1/shift_preferences/{id}/submit |
POST /v1/shift_preferences/{id}/submit | CodeMeta OS API endpoint. |
POST |
/v1/shift_preferences/{id}/transition |
POST /v1/shift_preferences/{id}/transition | CodeMeta OS API endpoint. |
POST |
/v1/shift_preferences/{id}/transitions/{transitionKey} |
Execute transition | CodeMeta OS API endpoint. |
PUT |
/v1/shift_preferences/{id} |
Replace shift_preference | Full replace with optimistic locking. |