State Machine Service
Instance State

Get the current state of the instance

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

This API is to get the current state of the instance.

Header/Path/QueryDescriptionTypeValidation
X-COREOS-REQUEST-ID*(header)Unique request ID.string
entityType*(path)Name of an entity type.string
instanceId*(path)Unique id of an instance of the entity type.string
type(query)Type of state data to be returned.stringAvailable values: current, all Default value: current
*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
*
instanceId
*
Header Parameters
X-COREOS-REQUEST-ID
*
X-COREOS-TID
*
X-COREOS-ACCESS
*
X-COREOS-USERINFO
Query Parameters
type
Responses
200
Instance State
error
data
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