Timetable
Get Set Counts For Every Pupil
Changed onRequires permission: TimetableAdmin
How many sets each pupil belongs to this academic year, with their timetabled lessons per two-week cycle and a flag for anyone outside their year group's normal band. Also returns the year group / house / form values present on the roll so the filters offer real options. Four projected queries, no N+1 — this is the same payload the pupil PDF export selects from.
get/Timetable/Admin/SetCounts
Request
- Base URL: https://api.tonbridge.school
- URL: https://api.tonbridge.school/Timetable/Admin/SetCounts
- Auth: HTTP bearer
Query parameters
yearGroupstring nullable
houseIdstring guid nullable
formstring nullable
searchstring nullable
pageinteger required
pageSizeinteger required
includesstring[] nullable
sortstring nullable
filterstring nullable
Response
Success - Returned set counts
Changes
- info
endpoint added
- info