Skip to main content

Template

Template#

A survey template is a set of questions and settings on the basis of which a survey will be created.


AttributeTypeDescriptionNullable
idStringIdentifierfalse
typeStringType of template, default Surveyfalse
categoryIdStringIdentifier of categoryfalse
categoryNameStringCategory namefalse
deletedBooleanTemplate activityfalse
hiddenBooleanTemplate visibility for usersfalse
tenantStringClient nametrue
nameStringTemplate namefalse
withGradesBooleanWhether the template with scores isfalse
showGradesBooleanWhether to show grades when taking a surveyfalse
questionsCountIntegerNumber of questions in the templatefalse
gradeConditionsList of objectsPossible results listtrue
updateAtDate and time at ISO formatDate and time of the last updatefalse
labelsDictionary of stringsadditional labels to the templatetrue
quickBooleanIndication that the template is being used for quick surveysfalse
Example:
{
"id": "5d31a5b66df536000651f9a7",
"type": "SURVEY",
"deleted": false,
"hidden": false,
"tenant": "yourCompanyName",
"name": "Test template",
"withGrades": true,
"showGrades": true,
"questionsCount": 5,
"gradeConditions": [
{
"conditionNumber": 0,
"gradeFrom": 80,
"gradeTo": 100,
"resultText": "Successful"
}
],
"labels": {},
"quick": true
}