POST /v1/events/{id}/transition
POST /v1/events/{id}/transition
CodeMeta OS API endpoint.
Request Body
| Name | Typ | Beschreibung |
toStatus erforderlich | string | |
dialogResponse | object | |
Pfad-Parameter
| Name | Typ | Beschreibung |
id erforderlich | string | |
Beispiel
curl -X POST https://api.codemeta-os.de/v1/events/{id}/transition \
-H "X-Tenant-Id: $TENANT" \
-H "Content-Type: application/json" \
-b cookies.txt \
-d '{\n \"toStatus\": \"string\",\n \"dialogResponse\": null\n}'
const result = await cm.v1.post(, {
"toStatus": "string",
"dialogResponse": null
});
Antwortcodes
| HTTP | Bedeutung |
|---|
200 | Default Response |