SECZONE: Security zone
The SECZONE entity: Security zone levels for rooms and areas, defining access requirements and visual colour coding.
SECZONE 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 SECZONE.Entity properties
| Property | Value |
|---|---|
| Entity code | SECZONE |
| Display name | Security zone |
| Plural | Security zones |
| Level | 55800 |
Use cases
SECZONE is a lookup entity referenced by ROOM (as securityZone) to classify the security clearance tier of a physical space. Each zone has a numeric securityLevel (1-5, where 5 is highest) for programmatic comparison, a color for floor plan visualisation, and multi-select accessRequirements defining what authentication methods are needed to enter (badge, biometric, PIN, two-factor, escort, security clearance, mantrap/airlock). This enables layered security zones within a facility: public lobbies at level 1, office areas at level 2, NOC at level 3, server rooms at level 4, and high-security cages at level 5.
Uses a flat definition structure with grid view.
Fields
Security zone
| Field | Type | Required | Notes |
|---|---|---|---|
name | text | Yes | Name |
securityLevel | number | Numeric security level (1-5, where 5 is highest security) | |
color | color | Color for visualization on floor plans | |
description | text (multi-line) | Description | |
accessRequirements | enum | Access Requirements Valid ids: 1 (Badge Access), 2 (Biometric), 3 (PIN Code), 4 (Two-Factor Auth), 5 (Escort Required), 6 (Security Clearance), 7 (Mantrap/Airlock). |
Relationships
- No declared relationships in the default definition.
Creating a Security zone via the API
POST /v1/objects
Authorization: Bearer <your-pat>
Content-Type: application/json
{
"entity": "SECZONE",
"level": 55800,
"comboKey": "SUB:|ENT:",
"name": "Example name",
"securityLevel": 1,
"color": "Example value",
"description": "Example Description"
}
Listing Security zones records
GET /v1/entities/SECZONE/SUB