Entity · surveys
Survey Schema
Felder
Survey Schema
Schema for survey/form definitions with embedded questions and logic
title
1–200 Zeichen
description
max 5000 Zeichennullable
descriptionHtml
nullable
status
Werte
DRAFTACTIVEPAUSEDCLOSEDARCHIVEDsurveyType
Werte
GENERALCSATNPSONBOARDINGSERVICE_REVIEWCUSTOMDefault: "GENERAL"
surveyNumber
nullable
isTemplate
Default: false
templateId
nullable
questions
Default: []
sortOrder
≥ 0
type
Werte
SHORT_TEXTLONG_TEXTEMAILPHONEURLNUMBERSINGLE_CHOICEMULTIPLE_CHOICEDROPDOWNRATINGNPSDATEDATETIMEFILE_UPLOADYES_NOOPINION_SCALEMATRIXRANKINGLISTSTATEMENTPAGE_BREAKWELCOME_SCREENTHANK_YOU_SCREENrequired
Default: false
title
1–2000 Zeichen
description
max 5000 Zeichennullable
descriptionHtml
nullable
placeholder
max 200 Zeichennullable
mediaUrl
nullable
mediaType
Werte
IMAGEVIDEOnullable
config
Type-specific configuration, discriminated by kind
nullable
kind
Werte
textnumberchoiceratingnpsdatefileUploadyesNoopinionScalematrixrankingliststatementmin
nullable
max
nullable
step
nullable
unit
max 50 Zeichennullable
allowOther
nullable
randomize
nullable
maxRating
2 – 10nullable
icon
Werte
STARHEARTTHUMBNUMBERnullable
includeTime
nullable
minDate
nullable
maxDate
nullable
maxFiles
1 – 20nullable
maxSizeMb
1 – 100nullable
allowedTypes
nullable
yesLabel
max 100 Zeichennullable
noLabel
max 100 Zeichennullable
minLabel
max 100 Zeichennullable
maxLabel
max 100 Zeichennullable
rows
nullable
columns
nullable
allowMultiple
nullable
items
nullable
minItems
≥ 0nullable
maxItems
≥ 1nullable
addButtonLabel
max 100 Zeichennullable
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
Werte
directinvertednullnullable
logicRules
Default: []
action
type
Werte
SHOWHIDEJUMP_TOEND_SURVEYtargetQuestionId
nullable
design
nullable
primaryColor
max 20 Zeichennullable
backgroundColor
max 20 Zeichennullable
backgroundImageUrl
nullable
logoUrl
nullable
fontFamily
Werte
defaultserifmononullable
showProgressBar
Default: true
showQuestionNumbers
Default: true
layout
Werte
ONE_PER_PAGEALL_AT_ONCESECTIONSDefault: "ALL_AT_ONCE"
colorMode
Werte
lightdarkautoDefault: "auto"nullable
useTenantBranding
Default: true
theme
Werte
defaultminimalvibrantnatureoceansunsetlavenderslatenullable
cardRadius
0 – 30nullable
buttonRadius
0 – 30nullable
distribution
nullable
publicSlug
3–100 Zeichennullable
allowAnonymous
Default: true
requireAuth
Default: false
oneResponsePerPerson
Default: false
deduplicationField
Werte
emailuserIdipnonenullable
maxResponses
≥ 1nullable
password
max 200 Zeichennullable
passwordHash
nullable
allowedDomains
nullable
embedEnabled
Default: false
completion
nullable
thankYouTitle
max 500 Zeichennullable
thankYouMessage
max 5000 Zeichennullable
redirectUrl
max 2000 Zeichennullable
showSummary
Default: false
reminders
nullable
enabled
Default: false
intervalDays
1 – 90nullable
maxReminders
1 – 10nullable
emailSubject
max 200 Zeichennullable
emailBody
max 5000 Zeichennullable
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
Keine Felder passen zum Filter.
Standard-Endpoints
Diese Resource folgt dem generischen CRUD-Vertrag der Plattform. Lesen Sie die Konventionen für Pagination, Idempotenz, Optimistic Locking und Audit. Die wichtigsten Endpoints:
GET /api/v1/surveys— Liste, paginiert + filterbarGET /api/v1/surveys/<id>— Einzelne EntityPOST /api/v1/surveys— AnlegenPATCH /api/v1/surveys/<id>— Teil-UpdateDELETE /api/v1/surveys/<id>— Soft-DeleteGET /api/v1/surveys/<id>/timeline— Audit + Aktivitäten