Skip to main content

SurveyQuestion

Represents a question within a survey.

type SurveyQuestion {
category: QuestionCategory
createdAt: DateTime!
createdBy: String
id: ID!
instructions: String
lastModifiedAt: DateTime!
lastModifiedBy: String
name: String!
order: NonNegativeInt!
question: String!
surveyQuestionType: SurveyQuestionType!
}

Fields

SurveyQuestion.category ● QuestionCategory object

The category this question belongs to. Optional.

SurveyQuestion.createdAt ● DateTime! non-null scalar

The date and time the record was created.

SurveyQuestion.createdBy ● String scalar

UTF-8 string value that represents the username of the user who created the record. Optional.

SurveyQuestion.id ● ID! non-null scalar

The unique identifier of the survey question.

SurveyQuestion.instructions ● String scalar

Instructional text displayed beneath the question to guide respondents. Optional.

SurveyQuestion.lastModifiedAt ● DateTime! non-null scalar

The date and time the record was last modified.

SurveyQuestion.lastModifiedBy ● String scalar

UTF-8 string value that represents the username of the user who last modified the record. Optional.

SurveyQuestion.name ● String! non-null scalar

A short name/title for the question.

SurveyQuestion.order ● NonNegativeInt! non-null scalar

The order the question appears in the survey.

SurveyQuestion.question ● String! non-null scalar

The text of the question as displayed to respondents.

SurveyQuestion.surveyQuestionType ● SurveyQuestionType! non-null enum

The type of question, which determines how it is rendered and what responses are accepted.

Member Of

QuestionResponse object