SurveyQuestionResponse

Represents a participant’s answer to a specific question.

Introduced in API version 40.0.

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

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

  • Type: textarea

  • Properties: Filter, Nillable, Sort

  • Introduced: API version 46.0

  • Description:

    Response provided by a participant for the following question types:

    • Multiple choice
    • Picklist
    • Radio
    • Ranking
  • Type: picklist

  • Properties: Filter, Group, Nillable, Restricted picklist, Sort

  • Introduced: API version 42.0

  • 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
  • Type: datetime
  • Properties: Filter, Nillable, Sort
  • Introduced: API version 46.0
  • Description: Response provided by a participant for a question of the type date time.
  • Type: date
  • Properties: Filter, Group, Nillable, Sort
  • Introduced: API version 46.0
  • Description: Response provided by a participant for a question of the type date.
  • Type: reference
  • Properties: Filter, Group, Nillable, Sort
  • Description: The ID of the SurveyInvitation that was sent to the survey participant.
  • Relationship name: Invitation
  • Relationship type: relationship
  • Refers to: SurveyInvitation
  • Type: boolean
  • Properties: Defaulted on create, Filter, Group, Sort
  • Introduced: API version 46.0
  • Description: Response provided by a participant for a question type which has only two possible values: True and False.
  • Default value: false
  • Type: int

  • Properties: Filter, Group, Nillable, Sort

  • Introduced: API version 46.0

  • Description:

    Response provided by a participant for the following question types:

    • Net Promoter Score (NPS)
    • Rating
    • Score
    • Slider
  • Type: reference
  • Properties: Filter, Group, Nillable, Sort
  • Description: The ID of SurveyQuestionChoice that a participant chose in response to a question.
  • Relationship name: QuestionChoice
  • Relationship type: relationship
  • Refers to: SurveyQuestionChoice
  • Type: reference
  • Properties: Filter, Group, Nillable, Sort
  • Description: The ID of the SurveyQuestion that a participant provided an answer for.
  • Relationship name: Question
  • Relationship type: relationship
  • Refers to: SurveyQuestion
  • Type: int
  • Properties: Filter, Group, Nillable, Sort
  • Introduced: API version 45.0
  • Description: Rank provided by a participant for an answer choice for the ranking question type.
  • Type: reference
  • Properties: Filter, Group, Sort
  • Description: The ID of the SurveyResponse that is the parent of this SurveyQuestionResponse.
  • Relationship name: Response
  • Relationship type: masterdetail
  • Refers to: SurveyResponse
  • 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.
  • Type: textarea
  • Properties: Nillable
  • Introduced: API version 46.0
  • Description: Response provided by a participant for a question.
  • Type: reference
  • Properties: Filter, Group, Sort
  • Description: The ID of the SurveyVersion that the response belongs to.
  • Relationship name: SurveyVersion
  • Relationship type: relationship
  • Refers to: SurveyVersion

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.