Entity Service
Entity Type
Create a new entity type
1min
POST
https://{tenantSubdomain}.io/core/api/v2/entity/apps/{appId}/entity-type
Path Parameters
appId
string
*
Header Parameters
X-COREOS-REQUEST-ID
string
*
X-COREOS-TID
string
*
X-COREOS-ACCESS
string
*
X-COREOS-USERINFO
string
X-COREOS-ORIGIN-TOKEN
string
*
X-COREOS-CALLBACK-SECRET
string
Body Parameters
body
EntityTypeCreateSchema
*
Description
Create new entity type
name
object
*
alias
object
category
Category[]
attributes
AttributeConfig[]
coreAttributes
CoreAttributeConfig[]
callback
CallbackMeta
isStateMachineEnabled
boolean
events
string[]
entityCode
string
terminalTTL
TimeToLive
enableOrchestrator
boolean
Responses
202
OK
EntityTypeSuccessResponse
All Of
object +
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
*
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
*
request
Request
*
Updated 25 Jun 2024
Did this page help you?