State Machine Service
State Machine Config

Get state-machine configuration of an entity type

1min
GET
https://{tenantSubDomain}.fxtrt.io/core/api/v1/state-machine/config/{entityCode}

API to get current state-machine configurtion (states, sub-states and state transition rules) of an entity type specified by entityType.

Header/PathDescriptionType
X-COREOS-REQUEST-ID*(header)Unique request ID.string
entityType*(path)Name of an entity type.string
*This is required.

HTTP Status Code Summary

CodeDescription
200 - OKEverything worked as expected.
| **400 - Bad Request** | The request was unacceptable, often due to missing a required parameter. |
| **401 - Unauthorized** | No valid API key provided. |
| **404 - Not Found** | The requested resource doesn't exist. |
| **503 - Server Errors** | Something went wrong on our end. (These are rare.) |
Path Parameters
entityCode
*
Header Parameters
X-COREOS-REQUEST-ID
*
X-COREOS-TID
*
X-COREOS-ACCESS
*
X-COREOS-USERINFO
Responses
200
State Machine Config
error
data
All Of
StateMachineConfig +
request
400
Bad request - The server is unable to process the request due to something that is perceived to be a client error.
error
*
request
*
401
Unauthorized - The client's identity is unknown to the server. Verify that you are accessing the correct tenant and that your client ID and client secret are valid on that Tenant.
error
*
request
*
404
Not found - The server can not find the requested resource.
error
*
request
*
503
Server error - The server is not ready to handle the request. This could be due to maintenance downtime or system resource constraints.
error
*
request
*
Curl
JS
Ruby
Python
Responses
200
400
401
404
503