POST /v1/toms/{id}/transition
POST/v1/toms/{id}/transition
CodeMeta OS API endpoint.
Modèle de données
Cette opération porte sur l'entité TOM (tom). Les 9 champs (type, validation, caractère obligatoire, relations) figurent dans la référence du schéma.
Corps de la requête
| Nom | Type | Description |
|---|
toStatusobligatoire | string | |
dialogResponse | object | |
checklistReopenReason | string | |
Paramètres de chemin
| Nom | Type | Description |
|---|
idobligatoire | string | |
Exemple
curl -X POST https://api.codemeta-os.de/v1/toms/{id}/transition \
-H "X-Tenant-Id: $TENANT" \
-H "Content-Type: application/json" \
-b cookies.txt \
-d '{
"toStatus": "string",
"dialogResponse": null,
"checklistReopenReason": "string"
}'
const result = await cm.toms.post({
"toStatus": "string",
"dialogResponse": null,
"checklistReopenReason": "string"
});
Codes de réponse
| HTTP |
Signification |
200 |
Default Response |