API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console

Shift Preferences

All operations for Shift Preferences.

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
Shift Preference shift_preference 18 — shift_preference_*

Endpoints

Method Path Operation Description
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.

Search