Calculate report-card metrics

Calculates marked-student totals, subject-entry totals, scale distributions, and average or median statistics for the selected report-card batches and school-structure scope.

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
batch_idslist of integersRequired
subject_idslist of integersOptional
node_idslist of integersOptional
student_idslist of integersOptional
class_idslist of integersOptional
excluded_node_idslist of integersOptional
excluded_student_idslist of integersOptional
excluded_class_idslist of integersOptional

Response

Metrics calculated; the data object is empty when no scope, entries, or subjects produce metrics.

statusstring
messagestring
dataobject

Errors

401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error