Create Category Type
Create a category type.
Returns 409 if a type with the same name already exists.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
name
Unique name of the type within the organization.
displayname
Name shown to users.
hierarchical
Whether categories of this type can be nested under a parent.
system
Marks a built-in type, which cannot be renamed or deleted.
closed
Whether new top-level categories are blocked for this type.
relationtype
How many categories of this type one term may carry: 0 at least one, 1 zero or more, 2 exactly one, 3 at most one.
membershaveseparatedisplayname
Whether this type's categories may have a display name that differs from their name.
Response
Successful Response
id
Identifier used by this API.
name
Unique name; ACTIF documents refer to it.
displayname
hierarchical
system
Built-in types cannot be renamed or deleted.
closed
relationtype
How many categories of this type one term may carry: 0 at least one, 1 zero or more, 2 exactly one, 3 at most one.
membershaveseparatedisplayname
uuid
Stable identifier carried over from Acrolinx terminology.
external_id
External identifier; built-in types use the Acrolinx system identifier, for example com.acrolinx.api.category.SystemCategoryTypeIdentifier.DOMAIN.
category_count
Number of categories of this type.
Errors
401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error
500
Internal Server Error