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
Datamodel
Deze operatie werkt op de entiteit DMS Template (dms_template). Alle 16 velden — type, validatie, verplichte velden, relaties — staan in de schemareferentie .
Request body
Naam Type Beschrijving variablesvereist objectentityRefsobjecttitlevereist stringfolderIdstringtagsstring[]
Padparameters
Naam Type Beschrijving idvereist string
Voorbeeld
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" : []
});
Antwoordcodes
HTTP
Betekenis
200
Default Response
Beschrijving volgt
Deze operatie heeft nog geen gecureerde annotatie. De inhoud wordt bij de volgende documentatie-update aangevuld.