SurveyQuestionResponse

Represents a participant’s answer to a specific question.

Supported Calls

describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve()

You can’t define custom fields for the SurveyQuestionResponse object using the Object Manager.

Note

Fields

Field Details
ChoiceValue
Type
textarea
Properties
Filter, Nillable, Sort
Description
Response provided by a participant for the following question types:
  • Multiple choice
  • Picklist
  • Radio
  • Ranking
Datatype
Type
Properties
Filter, Group, Nillable, Restricted picklist, Sort
Description
The data type of the question response. Possible values are:
  • Boolean This value is available in API v49.0 and later.
  • Date
  • Double
  • Int
  • Number
  • String
DateTimeValue
Type
dateTime
Properties
Filter, Nillable, Sort
Description
Response provided by a participant for a question of the type date time.
DateValue
Type
date
Properties
Filter, Group, Nillable, Sort
Description
Response provided by a participant for a question of the type date.
InvitationId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
The ID of the SurveyInvitation that was sent to the survey participant.
IsTrueOrFalse
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
Response provided by a participant for a question type which has only two possible values: True and False.
NumberValue
Type
int
Properties
Filter, Group, Nillable, Sort
Description
Response provided by a participant for the following question types:
  • Net Promoter Score (NPS)
  • Rating
  • Score
  • Slider
QuestionChoiceId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
The ID of SurveyQuestionChoice that a participant chose in response to a question.
QuestionId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
The ID of the SurveyQuestion that a participant provided an answer for.
Rank
Type
int
Properties
Filter, Group, Nillable, Sort
Description
Rank provided by a participant for an answer choice for the ranking question type.
ResponseId
Type
reference
Properties
Filter, Group, Sort
Description
The ID of the SurveyResponse that is the parent of this SurveyQuestionResponse.
ResponseShortText
Type
string
Properties
Filter, Group, idLookup, Sort
Description
Up to the first 250 characters of the response provided by a participant for a text type question.
ResponseValue
Type
textarea
Properties
Nillable
Description
Response provided by a participant for a question.
SurveyVersionId
Type
reference
Properties
Filter, Group, Sort
Description
The ID of the SurveyVersion that the response belongs to.

Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

SurveyQuestionResponseChangeEvent
Change events are available for the object.