academyFIVE API Beta icon

academyFIVE API Beta

Interact with academyFIVE API

Actions482

Documents → Generate and download a course ticket document PDF

AI-generated

Summary

Generates and downloads a course ticket document PDF using the academyFIVE API. Provide the document data, including its type, ID, and required course ticket ID; custom properties are optional and use the API’s defaults when omitted.

Inputs

  • data (required) — Document data object containing the required type, id, and attributes.
  • data.attributes.courseTicketId (required) — Course ticket ID for the document to generate.
  • data.attributes.customProperties — JSON object of custom properties; if empty or omitted, the API’s default values are used.

Output shape

One item containing binary PDF data and JSON metadata.

The binary file is returned in the data property. JSON metadata includes mimeType, fileName, response headers, and statusCode. The file name is taken from the response Content-Disposition header when available, otherwise inferred from the request URL, with data as a fallback.

Links

Discussion