Generate

Generate

Main API resource to generate a PDF from a Template and input File.

  • HTTP Method: POST
  • Endpoint: https://eledo.online/api/RESTv1/Generate

Request Body Parameters

NameTypeRequiredDescription
templateIdStringYesUnique identifier of the Template
templateVersionIntegerNoTemplate version
fileObjectNoFile to be processed

Response Headers

HeaderValue
Content-Typeapplication/pdf
Content-Dispositionattachment; filename="file_name"

Response Body

Binary PDF stream.


Error Response Headers

HeaderValue
Content-Typeapplication/json

Error Response Body Parameters

NameTypeDescription
errorsArrayList of errors that occurred during the request

Was this article helpful?

Yes

No