-
Notifications
You must be signed in to change notification settings - Fork 0
Time Table
Path: /api/TimeTable/GetTimeTable/Student/<school id>/<date>/<date>
Method: GET
Notes
~~Not sure why you need to supply date twice~~Edit: After further testing, not supplying two different dates returns a range for the timetable, and only one date will return that date's timetable.
Date is formatted like this: ddmmyyyy, example: 07122022
Description: Retuns the user's timetable, including:
- class code
- period (a space, not sure what that's about)
- block (can be null)
- school code
- date
- cycle day
- Friendly cycle name
- Teacher name
- Teacher email
Note: Also returns some other planner things, looks like it's unused though.
Path: /api/TimeTable/GetDayNameDayCycle/<school>/20222023/Regular/05092022/09092022
Method: GET
Note: Not sure what this is, returns an empty array...
I Didn't replace dates here as they may become helpful.
Path: /api/TimeTable/GetHolidays/<school>
Method: GET
Description: Returns a json array of holidays such as PA days, National holidays (Labour day, Thanksgiving etc...), all with IDs incrementing from 1