API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console

POST /v1/dms-templates/{id}/render

POST/v1/dms-templates/{id}/render

Render a DMS template with provided variables and return a PDF

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

NameTypeDescription
variablesrequiredobject
entityRefsobject

Path parameters

NameTypeDescription
idrequiredstring

Example

curl -X POST https://api.codemeta-os.de/v1/dms-templates/{id}/render \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "variables": null,
  "entityRefs": null
}'
const result = await cm.dms-templates.post({
  "variables": null,
  "entityRefs": null
});

Response codes

HTTP Meaning
200 Default Response

Search