Dynamic Document API

The following endpoints are for use in rendering dynamic documents.

The following endpoints are for use in rendering dynamic documents.

The following endpoints are for use in rendering dynamic documents.

The following endpoints are for use in rendering dynamic documents.

Endpoint Index

ActionEndpoint
Render a document for an existing policy, given a liquid templatePOST /document/renderPolicyDocument
Render a document for an existing policy, given a liquid template filenamePOST /document/renderPolicyDocumentFromConfig

Details

Render a document for an existing policy, given a liquid template
POST /document/renderPolicyDocument
PolicyDocumentRenderRequest
required
policyDisplayId string
template string
  • Renders a document for a policy, given the policyDisplayId and the template (liquid template content (not filename), passed in as a string) in the PolicyDocumentRenderRequest request body).

  • Returns urls for the rendered document in pdf and html format.

  • Does not attach the document to the policy.

Render a document for an existing policy, given a liquid template filename
POST /document/renderPolicyDocumentFromConfig
PolicyDocumentRenderRequestWithTemplate
required
configProductTemplate string
policyDisplayId string
  • Renders a document for a policy, given the configProductTemplate liquid template filename from the configuration and the the policyDisplayId, as specified in the PolicyDocumentRenderRequestWithTemplate request body.

  • Returns urls for the rendered document in pdf and html format.

  • Does not attach the document to the policy.

DocumentRenderResponse
required
assignedVariables map<string,object>

optional
renderedHtmlUrl string
renderedPdfUrl string

Note

This API is for use in rendering dynamic documents. For configuring static documents, see the Static Documents API topic for for information about the static documents configuration API.