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

POST /v1/dms/documents/{id}/transition

POST/v1/dms/documents/{id}/transition

Transition a DMS document to a new status

Corps de la requête

NomTypeDescription
toStatusobligatoirestring
commentstring

Paramètres de chemin

NomTypeDescription
idobligatoirestring

Exemple

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

Codes de réponse

HTTP Signification
200 Default Response

Recherche