API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen

Shift Swap Requests

Alle operaties rond Shift Swap Requests.

Datamodel

De endpoints van deze module werken op de volgende entiteit. De schemareferentie toont elk veld met type, validatie en relaties:

Entiteit Schema-ID Velden Volgnummer Permissions
Shift Swap Request shift_swap_request 11 — shift_swap_request_*

Endpoints

Methode Pad Operatie Beschrijving
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.

Zoeken