API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen

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

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

Render a DMS template with provided variables and return a PDF

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

NaamTypeBeschrijving
variablesvereistobject
entityRefsobject

Padparameters

NaamTypeBeschrijving
idvereiststring

Voorbeeld

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
});

Antwoordcodes

HTTP Betekenis
200 Default Response

Zoeken