Generate completed documents
Fills a template for the selected entities. Small jobs download immediately as a PDF or ZIP; jobs exceeding the server page threshold are queued and return a JSON status envelope instead.
Authentication
AuthorizationBearer
The signed-in SchoolSet user token sent by the frontend.
Request
This endpoint expects an object.
document_id
entity_ids
entity_type
output_type
Allowed values:
academic_year_id
Response
Either an immediate generated file or a queued generation result.
Errors
404
Not Found Error
422
Unprocessable Entity Error

