Entity Service
State Machine Config
Register State Machine Config for Entity Type
1min
POST
PATH PARAMETERS
entityTypePluralName
EntityTypePluralName
*A unique *plural name* i.e. a term that defines multiple Entities of this entity type. This is used as collection name in resource URL for this entity type and as Entity id prefix.
HEADER PARAMETERS
X-COREOS-REQUEST-ID
string
*Unique requestId
X-COREOS-TID
string
*Tenant id
X-COREOS-ACCESS
string
*core-os access token
X-COREOS-USERINFO
string
core-os userinfo token
X-COREOS-APPID
string
*BODY PARAMETERS
body
StateMachineRequest
*State-machine configuration for the entity type
states
States
*List of main states with its substates and transitions
terminalTTL
object
callback
CallbackURL
Represents callback url, which can be called to get any info about state transition of an instance.
RESPONSES
200
OK
EntityTypeSuccessResponse
data
object
*request
Request
*400
Bad request - The server is unable to process the request due to something that is perceived to be a client error.
ErrorResponse
error
Error
*Error Information
request
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.
ErrorResponse
error
Error
*Error Information
request
Request
*404
Not found - The server can not find the requested resource.
ErrorResponse
error
Error
*Error Information
request
Request
*

Updated 24 Aug 2023
Did this page help you?