API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console

Shift Swap Requests

All operations for Shift Swap Requests.

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 Swap Request shift_swap_request 11 — shift_swap_request_*

Endpoints

Method Path Operation Description
POST /v1/shift_swap_requests Create shift_swap_request Create a new shift_swap_request in the active tenant.
DELETE /v1/shift_swap_requests/{id} Delete shift_swap_request Soft delete entity.
GET /v1/shift_swap_requests/{id} Get shift_swap_request by id Fetch a single shift_swap_request.
GET /v1/shift_swap_requests/{id}/linked Get linked entities CodeMeta OS API endpoint.
GET /v1/shift_swap_requests/suggestions/{assignmentId} GET /v1/shift_swap_requests/suggestions/{assignmentId} CodeMeta OS API endpoint.
GET /v1/shift_swap_requests/{id}/timeline Get timeline CodeMeta OS API endpoint.
GET /v1/shift_swap_requests/{id}/transitions List transitions CodeMeta OS API endpoint.
GET /v1/shift_swap_requests List shift_swap_requests List shift_swap_requests for the active tenant.
PATCH /v1/shift_swap_requests/{id} Patch shift_swap_request JSON Merge Patch update.
POST /v1/shift_swap_requests/{id}/accept POST /v1/shift_swap_requests/{id}/accept CodeMeta OS API endpoint.
POST /v1/shift_swap_requests/{id}/approve POST /v1/shift_swap_requests/{id}/approve CodeMeta OS API endpoint.
POST /v1/shift_swap_requests/bulk Bulk operation CodeMeta OS API endpoint.
POST /v1/shift_swap_requests/{id}/reject POST /v1/shift_swap_requests/{id}/reject CodeMeta OS API endpoint.
POST /v1/shift_swap_requests/{id}/transition POST /v1/shift_swap_requests/{id}/transition CodeMeta OS API endpoint.
POST /v1/shift_swap_requests/{id}/transitions/{transitionKey} Execute transition CodeMeta OS API endpoint.
PUT /v1/shift_swap_requests/{id} Replace shift_swap_request Full replace with optimistic locking.

Search