DemandFlow Support Centre

DTYPE: Document Type

ReferenceEntity Reference16/04/2026Updated 16/04/2026
A document type definition with default workflow participants, deadlines, and revision schedules.

DTYPE: Document Type

A document type definition with default workflow participants, deadlines, and revision schedules.

Default definition. This article describes the default DTYPE 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 DTYPE.

Entity properties

PropertyValue
Entity codeDTYPE
Display nameDocument Type
PluralDocument Types
Level12000

Use cases

DTYPE classifies documents and configures their default workflow behaviour. Each document type belongs to a category (DTYPECAT) for hierarchical organisation. The workflow configuration section defines default reviewer and approver roles (via objectMultiselect to ROLE), review and approval deadline days, and a revision period that triggers mandatory re-review after expiry. These defaults are applied when a new document of this type is created, but can be overridden per document. The ref field provides a system-generated type identifier. The active flag allows types to be retired without deletion. DTYPE works with DRECORD (documents reference their type), DASSIGNEE (assignees can be scoped to specific types), and the workflow engine to determine who should review/approve documents and by when.

Fields

Document Type Details

FieldTypeRequiredNotes
reftextType ID. Read only.
nametextYesName.
descriptiontext (multi-line)Description.
categoryreference → DTYPECATCategory.
activeenumYesValid ids: 0 (No), 1 (Yes).

Workflow Configuration

FieldTypeRequiredNotes
defaultReviewersobjectMultiselectRoles that will review documents of this type by default
defaultApproversobjectMultiselectRoles that approve documents of this type by default
reviewDeadlineDaysnumberYesReview Deadline (days).
approvalDeadlineDaysnumberYesApproval Deadline (days).
revisionPeriodDaysnumberYesAfter this period, the document must be re-reviewed

Internal Notes

FieldTypeRequiredNotes
notestext (multi-line)Notes.

Relationships

  • Lookup: category (reference → DTYPECAT).

Creating a Document Type via the API

POST /v1/objects
Authorization: Bearer <your-pat>
Content-Type: application/json

{
  "entity":   "DTYPE",
  "level":    12000,
  "comboKey": "SUB:<your-sub-id>|ENT:",
  "name": "Example name",
  "active": "0",
  "reviewDeadlineDays": 0,
  "approvalDeadlineDays": 0
}

Listing Document Types records

GET /v1/entities/DTYPE/SUB:<your-sub-id>

See also

dtypedocumenttypetypesdocumenttypesdefinitionwithdefaultworkflowparticipantsdeadlines

Was this article helpful?

← Back to Knowledge Base