academyFIVE API icon

academyFIVE API

Interact with academyFIVE API

Actions549

Documents → Generate and download a lecturer contract document PDF

AI-generated

Summary

Generate a lecturer contract document PDF with specified details and download it as a binary file within the workflow.

Inputs

  • data (required) — An object containing required properties to generate the document including 'type' (string), 'id' (string), and 'attributes' with 'lecturerContractId' (number, required), optional 'lecturerContractEmploymentId' (number), and optional 'customProperties' (JSON) to override default values.

Output shape

binary file data containing the generated lecturer contract PDF

The operation returns binary execution data including the PDF file, metadata such as MIME type, file name, headers, and HTTP status code. This binary data can be used directly in the workflow for further processing or saving.

Examples

Example 1: Generate and download a lecturer contract PDF

Set 'resource' to 'Documents' and 'operation' to 'Generate and download a lecturer contract document PDF'. Provide the required 'data' object with the contract type, id, lecturerContractId, and optionally lecturerContractEmploymentId and customProperties. The node sends an authenticated request to the academyFIVE API and returns the PDF file data as binary output.

Links

Discussion