Shift Preferences
Alle Operationen rund um Shift Preferences.
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 Preference | shift_preference |
18 | — | shift_preference_* |
Endpoints
| Methode | Pfad | Operation | Beschreibung |
|---|---|---|---|
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. |