API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console

POST /v1/policies/{id}/publish-to-dms

POST/v1/policies/{id}/publish-to-dms

Generate a PDF and store it as a DMS document

Modèle de données

Cette opération porte sur l'entité Policy (policy). Les 28 champs (type, validation, caractère obligatoire, relations) figurent dans la référence du schéma.

Corps de la requête

NomTypeDescription
folderIdstring

Paramètres de chemin

NomTypeDescription
idobligatoirestring

Exemple

curl -X POST https://api.codemeta-os.de/v1/policies/{id}/publish-to-dms \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "folderId": "string"
}'
const result = await cm.policies.post({
  "folderId": "string"
});

Codes de réponse

HTTP Signification
200 Default Response

Recherche