Get attendance dashboard metrics

Calculates attendance totals and marking-type breakdowns for the selected tracks, date range, grades, and classes.

Authentication

AuthorizationBearer

The signed-in SchoolSet user token sent by the frontend.

Request

This endpoint expects an object.
start_datedateRequired
end_datedateRequired
track_idslist of integersOptional
grade_idslist of integersOptional
class_idslist of integersOptional

Response

Metrics (or an empty array when no grade/class/session matches).

statusstringOptional
messagestringOptional
datalist of any or objectOptional

Errors

401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error