Download the immunization report PDF

Generates the active school's immunization report for an optional academic year and streams the generated PDF as a download. The frontend requests a blob and also accepts a JSON error body with HTTP 200 from its legacy response handling.

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
academic_year_idinteger or nullOptional

Response

Generated PDF download; on a report-generation failure the legacy client may receive a JSON status/error payload instead.

statusstring
messagestring
datalist of any

Errors

401
Unauthorized Error
403
Forbidden Error