SURVEYQ: Survey question
The SURVEYQ entity represents survey question records in DemandFlow.
Default definition. This article describes the default
SURVEYQ 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 SURVEYQ.Entity properties
| Property | Value |
|---|---|
| Entity code | SURVEYQ |
| Display name | Survey question |
| Plural | Survey questions |
| Level | 521 |
Use cases
General-purpose Survey question records.
Fields
General
| Field | Type | Required | Notes |
|---|---|---|---|
name | text | Yes | Name. |
group | text | Group. | |
questionType | enum | Valid ids: rating (Rating), select (Select). | |
ratingMin | number | Minimum. | |
ratingMax | number | Maximum. | |
selectOptions | text (multi-line) | Options (one per line). |
Relationships
No declared relationships in the default definition.
Creating a Survey question via the API
POST /v1/objects
Authorization: Bearer <your-pat>
Content-Type: application/json
{
"entity": "SURVEYQ",
"level": 521,
"comboKey": "SUB:<your-sub-id>|ENT:",
"name": "Example name",
"group": "Example group",
"questionType": "rating",
"ratingMin": 0
}
Listing Survey questions
GET /v1/entities/SURVEYQ/SUB