COMPTYPE: Component type
The COMPTYPE entity stores component types. Classification type for components, providing a taxonomy to categorise catalogue entries.
Default definition. This article describes the default
COMPTYPE definition shipped with DemandFlow. Administrators can add, remove, rename, or re-type fields, change which ones are required, and alter the layout from the Definitions screen in Settings. Your tenant's current schema may differ from what is shown here. To read the current definition at any time, GET the DEFINITION object whose id matches COMPTYPE.Entity properties
| Property | Value |
|---|---|
| Entity code | COMPTYPE |
| Display name | Component type |
| Plural | Component types |
| Level | 100000 |
Use cases
COMPTYPE is a simple lookup/reference entity that provides a controlled vocabulary for classifying COMP records via their 'class' field. It exists as a separate entity rather than an inline select list so that organisations can define and manage their own component taxonomy without modifying the COMP definition.
Fields
Basic Information
| Field | Type | Required | Notes |
|---|---|---|---|
ref | text | Ref. Read-only | |
name | text | Yes | Name |
description | text (multi-line) | Description |
Relationships
- No declared relationships in the default definition.
Creating a Component type via the API
POST /v1/objects
Authorization: Bearer <your-pat>
Content-Type: application/json
{
"entity": "COMPTYPE",
"level": 100000,
"comboKey": "SUB:<your-sub-id>|ENT:",
"name": "Example value",
"description": "Example value"
}
Listing Component types
GET /v1/entities/COMPTYPE/SUB