academyFIVE API Beta icon

academyFIVE API Beta

Interact with academyFIVE API

Actions482

Documents → Generate and download a lecturer contract document PDF

AI-generated

Summary

Submits a lecturer contract document request to the academyFIVE API and returns the generated PDF as binary data for downstream workflow steps.

Inputs

  • data (required) — Request body data. Supply the required type and id, plus required attributes.
  • data.attributes.lecturerContractId (required) — Numeric ID of the lecturer contract to generate.
  • data.attributes.lecturerContractEmploymentId — Optional numeric employment ID associated with the contract.
  • data.attributes.customProperties — Optional JSON custom properties; when empty, the API's default values are used.

Output shape

One n8n item per input item, with the PDF in binary property data.

The item JSON includes mimeType, fileName, response headers, and statusCode. The MIME type and filename are taken from the response headers when available, with fallbacks when they are absent. If Continue On Fail is enabled, a failed request produces an item with an error field.

Links

Discussion