Entity Service
Entity Instance State

Apply Event to the entity instance

1min
PUT
https://{tenantSubdomain}.io/core/api/v2/entity/{entityTypePluralName}/{entityId}/event

API will apply an event to an instance. If the event is transitionable, then the instance will transition to the particular state. Otherwise it will remain in the existing state

Path Parameters
entityTypePluralName
*
entityId
*
Header Parameters
X-COREOS-REQUEST-ID
*
X-COREOS-TID
*
X-COREOS-ACCESS
*
X-COREOS-USERINFO
X-COREOS-APPID
*
Body Parameters
body
*
Description
Event for instance of an entity type for state transition.
All Of
Event +
eventCode
*
reasonCode
timestamp
All Of
EpochTimestamp +
data
source
callback
Responses
202
OK
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
*
Curl
JS
Ruby
Python
Responses
202
400
401
404