academyFIVE API icon

academyFIVE API

Interact with academyFIVE API

Actions549

Documents → Generate and download an exam document PDF

AI-generated

Summary

Generate a PDF exam document by providing required identifiers and optional customization data, then download it as a binary file within the workflow.

Inputs

  • data (required) — An object containing data to generate the PDF. Must include 'type' (string), 'id' (string), and 'attributes' with examId (number, required), optional examPartId (number), and optional customProperties (JSON) for custom PDF properties.

Output shape

a single binary file containing the generated exam document PDF

The output includes binary data with file name and mime type. If customProperties are omitted, default PDF generation settings are used. The binary response headers may include 'content-disposition' to suggest file name.

Links

Discussion