Document Generation
Change template metadata and fields by key
Changed onMetadata and field changes by key; fields not named stay as they are. A field may be renamed, given another source and confirmed, but a field cannot be added: the places a template fills come from the Word file. Unknown field keys, a source of no known shape, and conditions that read themselves are refused with 422. With dry_run, the response is the template as it would be and nothing is stored. Requires a person at or above member behind the key.
patch/v1/doc-gen/templates/{id}
Request
- Base URLhttps://api.talonic.com
- AuthHTTP bearer
Path parameters
id, string uuid required
Request body
Doc Gen Update Template Request required
name, string
group, string nullable
kind, 'letter' | 'agreement' nullable
pair_template_id, string uuid nullable
version, string nullable
fields, Doc Gen Field Change[]
dry_run, boolean
Response
The template after the change, or as it would be with dry_run.
Doc Gen Update Template Result required
dry_run, boolean
template, Doc Gen Template
Changes
- info
endpoint added
- info