Document API

Render a document for an existing policy

POST /document/renderPolicyDocument

This will return urls for the rendered document in pdf and html format. It will not attach the document to the policy.

PolicyDocumentRenderRequest

{
  // Required
  policyDisplayId : string
  template : string
}

DocumentRenderResponse

{
  // Required
  assignedVariables : map<string,object>

  // Optional
  renderedHtmlUrl : string
  renderedPdfUrl : string
}