API Documentation
/holidays
Public holidays that are different for each state.
Endpoints
| Method | Path |
|---|---|
| GET | / |
| GET | /{id} |
| GET | /search/findByFederalStateAndDayBetween |
Structure
| Fieldname | Fieldtype | Validations |
|---|---|---|
| id | Long | |
| day | Date | |
| name | String | |
| federalState | federal state |
GET /▲
Get all holidays.
Returns
A list of holidays.
GET /{id}▲
Get a single holiday by its id.
Returns
One holiday.
GET /search/findByFederalStateAndDayBetween▲
Find holidays for a federal state between two dates.
Returns
A list of holidays.
Parameters
| name | type | required | description |
|---|---|---|---|
| federalState | federal state | true | The federal state to search for. |
| start | Date | true | The start of the interval. |
| end | Date | true | The end of the interval. |