Create state machine
Creates a new state machine within the caller account. The transition graph is validated against the Kruzer mandatory skeleton (mandatory statuses present, cancellation route, no post-invoice cancellation, arrow integrity, custom status placement, nature composition).
Request body
Response
State machine created.
Changes
Changed in 2 of the 9 revisions of this API.14511
- ▲
added the new required request property
codenew-required-request-property
- ▲
added the new required request property
entityTypenew-required-request-property
- ▲
added the new required request property
namenew-required-request-property
- ▲
added the new required request property
transitionsnew-required-request-property
- ○
added the new optional request property
statesnew-optional-request-property
- ○
added the required property
activeto the response with the201statusresponse-required-property-added
- ○
added the required property
codeto the response with the201statusresponse-required-property-added
- ○
added the required property
created_atto the response with the201statusresponse-required-property-added
- ○
added the required property
entity_typeto the response with the201statusresponse-required-property-added
- ○
added the required property
idto the response with the201statusresponse-required-property-added
- ○
added the required property
is_defaultto the response with the201statusresponse-required-property-added
- ○
added the required property
nameto the response with the201statusresponse-required-property-added
- ○
added the required property
transitionsto the response with the201statusresponse-required-property-added
- ○
added the required property
updated_atto the response with the201statusresponse-required-property-added
- ○
added the required property
versionto the response with the201statusresponse-required-property-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the response property
states/items/actionsbecame optional for the status201response-property-became-optional
- ▲
the response property
states/items/statusbecame optional for the status201response-property-became-optional
- ▲
removed the required property
activefrom the response with the201statusresponse-required-property-removed
- ▲
removed the required property
codefrom the response with the201statusresponse-required-property-removed
- ▲
removed the required property
created_atfrom the response with the201statusresponse-required-property-removed
- ▲
removed the required property
entity_typefrom the response with the201statusresponse-required-property-removed
- ▲
removed the required property
idfrom the response with the201statusresponse-required-property-removed
- ▲
removed the required property
namefrom the response with the201statusresponse-required-property-removed
- ▲
removed the required property
transitionsfrom the response with the201statusresponse-required-property-removed
- ▲
removed the required property
updated_atfrom the response with the201statusresponse-required-property-removed
- ●
removed the request property
coderequest-property-removed
- ●
removed the request property
entityTyperequest-property-removed
- ●
removed the request property
namerequest-property-removed
- ●
removed the request property
statesrequest-property-removed
- ●
removed the request property
transitionsrequest-property-removed
This revision also has 36 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲