Entity · surveys
Survey Schema
Velden
Survey Schema
Schema for survey/form definitions with embedded questions and logic
title
1–200 tekens
description
max. 5000 tekensnullable
descriptionHtml
nullable
status
Waarden
DRAFTACTIVEPAUSEDCLOSEDARCHIVEDsurveyType
Waarden
GENERALCSATNPSONBOARDINGSERVICE_REVIEWCUSTOMDefault: "GENERAL"
surveyNumber
nullable
isTemplate
Default: false
templateId
nullable
questions
Default: []
sortOrder
≥ 0
type
Waarden
SHORT_TEXTLONG_TEXTEMAILPHONEURLNUMBERSINGLE_CHOICEMULTIPLE_CHOICEDROPDOWNRATINGNPSDATEDATETIMEFILE_UPLOADYES_NOOPINION_SCALEMATRIXRANKINGLISTSTATEMENTTICKET_INFOPAGE_BREAKWELCOME_SCREENTHANK_YOU_SCREENrequired
Default: false
title
1–2000 tekens
description
max. 5000 tekensnullable
descriptionHtml
nullable
placeholder
max. 200 tekensnullable
mediaUrl
nullable
mediaType
Waarden
IMAGEVIDEOnullable
config
Type-specific configuration, discriminated by kind
nullable
kind
Waarden
textnumberchoiceratingnpsdatefileUploadyesNoopinionScalematrixrankingliststatementmin
nullable
max
nullable
step
nullable
unit
max. 50 tekensnullable
allowOther
nullable
randomize
nullable
maxRating
2 – 10nullable
icon
Waarden
STARHEARTTHUMBNUMBERnullable
includeTime
nullable
minDate
nullable
maxDate
nullable
maxFiles
1 – 20nullable
maxSizeMb
1 – 100nullable
allowedTypes
nullable
yesLabel
max. 100 tekensnullable
noLabel
max. 100 tekensnullable
minLabel
max. 100 tekensnullable
maxLabel
max. 100 tekensnullable
rows
nullable
columns
nullable
allowMultiple
nullable
items
nullable
minItems
≥ 0nullable
maxItems
≥ 1nullable
addButtonLabel
max. 100 tekensnullable
translations
nullable
skillId
Optional skill_definition UUID this question rates; used for explicit skill updates on ticket assignee
nullable
skillScoringMode
direct = higher answer means stronger skill; inverted = lower answer means stronger skill
Waarden
directinvertednullnullable
logicRules
Default: []
action
type
Waarden
SHOWHIDEJUMP_TOEND_SURVEYtargetQuestionId
nullable
design
nullable
primaryColor
max. 20 tekensnullable
backgroundColor
max. 20 tekensnullable
backgroundImageUrl
nullable
logoUrl
nullable
fontFamily
Waarden
defaultserifmononullable
showProgressBar
Default: true
showQuestionNumbers
Default: true
layout
Waarden
ONE_PER_PAGEALL_AT_ONCESECTIONSDefault: "ALL_AT_ONCE"
colorMode
Waarden
lightdarkautoDefault: "light"nullable
useTenantBranding
Default: true
theme
Waarden
defaultminimalvibrantnatureoceansunsetlavenderslatenullable
cardRadius
0 – 30nullable
buttonRadius
0 – 30nullable
distribution
nullable
publicSlug
3–100 tekensnullable
allowAnonymous
Default: true
requireAuth
Default: false
oneResponsePerPerson
Default: false
deduplicationField
Waarden
emailuserIdipnonenullable
maxResponses
≥ 1nullable
password
max. 200 tekensnullable
passwordHash
nullable
allowedDomains
nullable
embedEnabled
Default: false
completion
nullable
thankYouTitle
max. 500 tekensnullable
thankYouMessage
max. 5000 tekensnullable
redirectUrl
max. 2000 tekensnullable
showSummary
Default: false
reminders
nullable
enabled
Default: false
intervalDays
1 – 90nullable
maxReminders
1 – 10nullable
emailSubject
max. 200 tekensnullable
emailBody
max. 5000 tekensnullable
integration
nullable
triggerOnTicketClose
Default: false
triggerTicketTypes
nullable
linkToPartyId
nullable
linkToContractId
nullable
languages
Default: []
translations
nullable
responseCount
≥ 0Default: 0
completionRate
0 – 100nullable
averageCompletionTimeSec
≥ 0nullable
npsScore
-100 – 100nullable
assignedToId
nullable
orgUnitId
nullable
tags
nullable
Geen velden komen overeen met het filter.
Standaard-endpoints
Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:
GET /api/v1/surveys— Lijst, gepagineerd + filterbaarGET /api/v1/surveys/<id>— Enkele entityPOST /api/v1/surveys— AanmakenPATCH /api/v1/surveys/<id>— Gedeeltelijke updateDELETE /api/v1/surveys/<id>— Soft-deleteGET /api/v1/surveys/<id>/timeline— Audit + activiteiten