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

Save DataForm Answers to Documents

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

Saves the PDF of the edited answers from the editable-html route as a document on the request's client, and returns it. The document has no link back to the request. 400 when the request has no answers.

Requires: ViewAll on DataForms and Create on ClientDocuments.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

code* path string
{
  "editedHtml": "string",
  "title": "string",
  "documentCategoryCode": "string",
  "visibleInClientPortal": false,
  "portalFolderPath": "string"
}

Responses

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