academyFIVE API icon

academyFIVE API

Interact with academyFIVE API

Actions549

Documents → Deprecated: generate and download a document PDF

AI-generated

Summary

Sends the supplied document data to the academyFIVE API endpoint for generating and downloading a document PDF. The response is returned as binary file data with metadata in the item’s JSON output.

Inputs

  • data (required) — Document payload: required type and id strings, plus required attributes containing a targetId number. You can also provide an optional subTargetId number and customProperties JSON; the UI notes that empty customProperties uses default values.

Output shape

One item per input item, with the PDF in binary property data and JSON metadata containing mimeType, fileName, response headers, and statusCode.

The file name is taken from the response Content-Disposition header when available, otherwise from the request URL, with data as a fallback. If continue-on-fail is enabled, errors are returned in an item’s json.error field.

Links

Discussion