Timetable

Get Set Counts For Every Pupil

Requires 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

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

yearGroupsstring[]
formsstring[]

Changes