Sanctions
Get sanction tallies
Changed onRequires permission: SanctionsAccess
Aggregated sanction tally counts for the sanctions grid, scoped to the caller's permissions.
get/sanctions/tallies
Request
- Base URL: https://api.tonbridge.school
- URL: https://api.tonbridge.school/sanctions/tallies
- Auth: HTTP bearer
Query parameters
permissionNamestring nullable
staffNameIdinteger nullable
studentNameIdinteger nullable
studentYearinteger nullable
searchQuerystring nullable
houseCodesstring[] nullable
subjectIdsinteger[] nullable
sanctionTypeIdinteger nullable
attendance0 | 0 | 1 | 2
category0 | 0 | 1 | 2
boardingSanctionTypeboolean nullable
daySanctionTypeboolean nullable
fromDatestring date-time nullable
toDatestring date-time nullable
pageSizeinteger nullable
pageNumberinteger nullable
Response
Success - tallies returned
Changes
- breaking
the
///////response's property format changed fromint32toint64for status - breaking
the
///////response's property format changed fromint32toint64for status - info
for the
queryrequest parametersubjectIds, the format of propertyitems/was generalized fromint32toint64 - info
for the
queryrequest parameterstaffNameId, the format was generalized fromint32toint64 - info
for the
queryrequest parameterstudentNameId, the format was generalized fromint32toint64
- breaking