Entity Service
Entity Type

Create a new entity type

1min
POST
https://{tenantSubdomain}.io/core/api/v2/entity/entity-type

API for creating a new Entity Type

Header Parameters
X-COREOS-REQUEST-ID
*
X-COREOS-TID
*
X-COREOS-ACCESS
*
X-COREOS-USERINFO
X-COREOS-APPID
*
X-COREOS-ORIGIN-TOKEN
*
X-COREOS-CALLBACK-SECRET
Body Parameters
body
*
Description
Create new entity type
name
*
alias
category
attributes
coreAttributes
callback
isStateMachineEnabled
ttlOnInactive
events
entityCode
terminalTTL
enableOrchestrator
Responses
202
OK
All Of
object +
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
*
Curl
JS
Ruby
Python
Responses
202
400
401