Export the academic-year school structure

Creates an Excel download for the selected academic year using the requested grade, class, and department sections.

Authentication

AuthorizationBearer

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

Path parameters

year_idintegerRequired

Request

This endpoint expects an object.
include_gradesbooleanRequired
include_classesbooleanRequired
include_departmentsbooleanRequired

Response

An Excel workbook containing the selected structure sections.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error