Get all school holiday cycles with pagination
GET
/api/v1/school-holiday-cycle
Retrieve a paginated list of school holiday cycles based on query parameters
query Parameters
pagenumberCurrent page
pageSizenumberPage size
Responses
dataobject[] · requiredData
pagenumberCurrent page
pageSizenumberPage size
totalnumberTotal
lastPagenumberLast page
nextstringNext page (endpoint)
previousstringPrevious page (endpoint)
Create a new school holiday cycle
POST
/api/v1/school-holiday-cycle
Create a new school holiday cycle with the provided data
Request Body
startHolidaysstring · date-time · requiredStart date of the holidays
Example: 2025-01-14T01:14:37.659ZendHolidaysstring · date-time · requiredEnd date of the holidays
Example: 2025-01-14T01:14:37.659ZschoolConfigurationIdnumber · min: 1 · requiredSchool Configuration id
Example: 1
Responses
SchoolHolidayCycle created
idnumber · requiredId
createdAtstring · date-time · requiredCreation Date
updatedAtstring · date-time · requiredUpdated Date
startHolidaysstring · date-time · requiredStart date of the holidays
Example: 2025-01-14T01:14:37.659ZendHolidaysstring · date-time · requiredEnd date of the holidays
Example: 2025-01-14T01:14:37.659Z
Get school holiday cycle by ID
GET
/api/v1/school-holiday-cycle/{id}
Retrieve a specific school holiday cycle by its ID
path Parameters
idnumber · min: 1 · requiredId
Responses
SchoolHolidayCycle detail
idnumber · requiredId
createdAtstring · date-time · requiredCreation Date
updatedAtstring · date-time · requiredUpdated Date
startHolidaysstring · date-time · requiredStart date of the holidays
Example: 2025-01-14T01:14:37.659ZendHolidaysstring · date-time · requiredEnd date of the holidays
Example: 2025-01-14T01:14:37.659Z
Update a school holiday cycle
PUT
/api/v1/school-holiday-cycle/{id}
Update an existing school holiday cycle by its ID
path Parameters
idnumber · min: 1 · requiredId
Request Body
startHolidaysstring · date-timeStart date of the holidays
Example: 2025-01-14T01:14:37.659ZendHolidaysstring · date-timeEnd date of the holidays
Example: 2025-01-14T01:14:37.659Z
Responses
SchoolHolidayCycle updated
No data returned

