API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console

Sick Leaves

All operations for Sick Leaves.

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
Sick Leave sick_leave 16 — sick_leave_*

Endpoints

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

Search