Generate a PDF from a custom template
Generates one or more documents for selected school entities. A single PDF returns a temporary file descriptor; ZIP output or more than ten entities is queued and returns a background-job descriptor.
Authentication
AuthorizationBearer
The signed-in SchoolSet user token sent by the frontend.
Path parameters
id
Custom document template ID.
Request
This endpoint expects an object.
entity_type
entity_id
entity_ids
node_ids
class_ids
excluded_node_ids
excluded_class_ids
excluded_entity_ids
output_type
Allowed values:
academic_year_id
Response
PDF descriptor or queued-generation descriptor.
status
message
data
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
502
Bad Gateway Error

