/documenttemplates/{templateId}/render

Render a document template to PDF and optionally create document links.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

The unique identifier of the document template to render

Body Params

Render a document template to a PDF: resolve the supplied data object ids to entities, fill the template's HTML, convert to PDF, and store it. Optionally create DocumentLinks to attach it to entities.

dataObjectIds
object
required

Map of data object type to its id (e.g. { tour:

string
enum
Defaults to de

Language to render the template in; defaults to 'de', falling back to another language if the chosen one is absent from the template.

Allowed:
documentLinks
array of objects
boolean

When true, append a new version to the document already filed for this template + documentLinks[0] key instead of creating a new one. Requires exactly one documentLinks entry. Serialize concurrent upserts against the same document (they can collide on versionId).

Responses

400

Bad request - missing required data objects, invalid entity IDs, or template rendering error

401

Unauthorized - invalid or missing API key

404

Document template not found

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json