POST /v1/dms-templates/{id}/render-and-save POST /v1/dms-templates/{id}/render-and-save
Render a DMS template, create a DMS document, and upload the PDF to storage
Data model
This operation works on the entity DMS Template (dms_template). All 16 fields — type, validation, required status, relationships — are listed in the schema reference .
Request body
Name Type Description variablesrequired objectentityRefsobjecttitlerequired stringfolderIdstringtagsstring[]
Path parameters
Name Type Description idrequired string
Example
curl -X POST https://api.codemeta-os.de/v1/dms-templates/{id}/render-and-save \
-H "X-Tenant-Id: $TENANT " \
-H "Content-Type: application/json" \
-b cookies.txt \
-d '{
"variables": null,
"entityRefs": null,
"title": "string",
"folderId": "string",
"tags": []
}' const result = await cm.dms - templates. post ({
"variables" : null ,
"entityRefs" : null ,
"title" : "string" ,
"folderId" : "string" ,
"tags" : []
});
Response codes
HTTP
Meaning
200
Default Response
Description pending
This operation does not have a curated annotation yet. The content will be added with the next documentation update.