List Holiday
Query parameters
-
Global search
-
Current page
-
Number of items per page
-
Determines if all items are selected
-
App\Holidays\Core\Models\Holiday Filters: 0, 1, 2, 3, 4
Hide where attributes Show where attributes object
-
App\Holidays\Core\Models\Holiday Sorting by name, startAt, endAt, createdAt
-
Determines whether to return only archived records in the response.
GET
/v1/holidays/
curl \
--request GET 'https://api-dev.classmanager.io/v1/holidays/'
Response examples (200)
{
"data": [
{
"id": "hol_xxxxxxxxxxx",
"companyId": "co_123123123123",
"name": "Christmas",
"startAt": "2023-12-25",
"endAt": "2023-12-25",
"createdAt": "2023-12-05 14:30:41"
}
],
"pagination": {
"total": 15,
"count": 10,
"perPage": 10,
"currentPage": 1,
"totalPages": 2
}
}
Response examples (403)
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}