Public Holidays
All operations for Public Holidays.
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 |
|---|---|---|---|---|
| Public Holiday | public_holiday |
7 | — | public_holiday_* |
Endpoints
| Method | Path | Operation | Description |
|---|---|---|---|
POST |
/v1/public_holidays |
Create public_holiday | Create a new public_holiday in the active tenant. |
DELETE |
/v1/public_holidays/{id} |
Delete public_holiday | Soft delete entity. |
GET |
/v1/public_holidays/{id} |
Get public_holiday by id | Fetch a single public_holiday. |
GET |
/v1/public_holidays/{id}/linked |
Get linked entities | CodeMeta OS API endpoint. |
GET |
/v1/public_holidays/{id}/timeline |
Get timeline | CodeMeta OS API endpoint. |
GET |
/v1/public_holidays/{id}/transitions |
List transitions | CodeMeta OS API endpoint. |
GET |
/v1/public_holidays |
List public_holidays | List public_holidays for the active tenant. |
PATCH |
/v1/public_holidays/{id} |
Patch public_holiday | JSON Merge Patch update. |
POST |
/v1/public_holidays/bulk |
Bulk operation | CodeMeta OS API endpoint. |
POST |
/v1/public_holidays/{id}/transition |
POST /v1/public_holidays/{id}/transition | CodeMeta OS API endpoint. |
POST |
/v1/public_holidays/{id}/transitions/{transitionKey} |
Execute transition | CodeMeta OS API endpoint. |
PUT |
/v1/public_holidays/{id} |
Replace public_holiday | Full replace with optimistic locking. |