Add New EntityType
POST/entityTypes
Creates a Entity Type
Request
Query Parameters
siteId string
Site Identifier
- application/json
Body
required
entityType
object
namespace EntityTypeNamespace (string)
Entity Type namespace
Possible values: [PRESET, CUSTOM]
name string
Entity Type Name
Responses
- 201
- 400
201 CREATED
Response Headers
Access-Control-Allow-Origin
string
Access-Control-Allow-Methods
string
Access-Control-Allow-Headers
string
- application/json
- Schema
- Example (from schema)
Schema
entityTypeId string
Entity Type Identifier
{
"entityTypeId": "string"
}
400 OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
errors
object[]
List of errors
key string
Error Key
error string
Error Message
{
"errors": [
{
"key": "string",
"error": "string"
}
]
}
Loading...