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

Create DataForm Answers Template

POST /tenants/{tenant}/data-forms/{code}/export-template

Creates a Form Answers template for the form, written out from it: its sections as headings and every question's prompt with its answer token ({{ Form.Answers. }}), to rearrange into a letter or report. Questions without a token name get one from their prompt first. The template is not made the form's export layout: set exportDocumentTemplateCode on the form for that.

Requires: ViewAll on DataForms and Create on Templates.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

code* path string

Responses

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