Live webinar What's new in Sodium: Information Requests, plus Q&A. Thu 19 Nov, 12 noon Information Requests + Q&A, Thu 19 Nov Reserve your place

Preview Document from Template

POST /tenants/{tenant}/clients/{client}/clientdocument/from-template/preview-pdf

Returns the PDF the from-template route would create, including any edited HTML. Saves nothing.

Requires: Create on ClientDocuments.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

client* path string
{
  "templateCode": "string",
  "designThemeCode": "string",
  "title": "string",
  "summary": "string",
  "documentCategoryCode": "string"
}

Responses

200 OK
application/pdf
400 Bad Request
401 Unauthorized – Invalid or missing API key
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json
404 Not Found