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 DataForm Answers PDF

POST /tenants/{tenant}/data-form-requests/{code}/export/preview-pdf

Returns the PDF of the edited answers from the editable-html route, finished with the practice's design theme. The HTML is not parsed as a template. Saves nothing. 400 when the request has no answers.

Requires: ViewAll on DataForms.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

code* path string

Request Body*

{
  "editedHtml": "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