---
schema_version: "1"
id: 05d6fcf520b218388632096787ee9bf254a276aa48c5362de498c684c2246eb3
title: SurveyResponse
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_surveyresponse.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_surveyresponse.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: c775bbab827806f767f85c1cf781f526888293a83f82c67614c383f4ed57c2bb
description: Represents information about a participant’s response to a survey, such as the status of the response, the participant’s location, and when the survey was completed.
---
# SurveyResponse

Represents information about a participant’s response to a survey, such as the status of the response, the participant’s location, and when the survey was completed.

## Supported Calls

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

![Note](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/images/icon_note.png)

#### Note

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

## Fields

| Field Name | Details |
| --- | --- |
| CompletionDateTime | 
Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date and time that the participant completed the survey.



 |
| DataMapperExecutionStatus | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

Status of all the survey data maps after a response is received. This field is available in API v49.0 and later, with Feedback Management - Starter and Feedback Management - Growth licenses.

Possible values are:

- Pending
- InProgress
- Success
- Error





 |
| InterviewGuid | 

Type

string

Properties

Filter, Group, idLookup, Nillable

Description

An automatically-generated, unique ID for a saved survey response.



 |
| InterviewId | 

Type

reference

Properties

Filter, Group, Nillable, Sort

Description

The ID of the FlowInterview object that’s associated with this response.



 |
| InvitationId | 

Type

reference

Properties

Filter, Group, Sort

Description

The ID of the SurveyInvitation object that’s associated with this response.



 |
| IpAddress | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The IP address of the device the participant used to take the survey.



 |
| Language | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

The language that the participant used to complete the survey.

Possible values are:

- af—Afrikaans
- ar—Arabic
- ar\_AE—Arabic (United Arab Emirates)
- ar\_BH—Arabic (Bahrain)
- ar\_DZ—Arabic (Algeria)
- ar\_EG—Arabic (Egypt)
- ar\_IQ—Arabic (Iraq)
- ar\_JO—Arabic (Jordan)
- ar\_KW—Arabic (Kuwait)
- ar\_LB—Arabic (Lebanon)
- ar\_LY—Arabic (Libya)
- ar\_MA—Arabic (Morocco)
- ar\_OM—Arabic (Oman)
- ar\_QA—Arabic (Qatar)
- ar\_SA—Arabic (Saudi Arabia)
- ar\_SD—Arabic (Sudan)
- ar\_SY—Arabic (Syria)
- ar\_TN—Arabic (Tunisia)
- ar\_YE—Arabic (Yemen)
- bg—Bulgarian
- bn—Bengali
- bs—Bosnian
- ca—Catalan
- cs—Czech
- cy—Welsh
- da—Danish
- de—German
- de\_AT—German (Austria)
- de\_BE—German (Belgium)
- de\_CH—German (Switzerland)
- de\_LU—German (Luxembourg)
- el—Greek
- en\_AU—English (Australian)
- en\_CA—English (Canadian)
- en\_GB—English (UK)
- en\_HK—English (Hong Kong)
- en\_IE—English (Ireland)
- en\_IN—English (Indian)
- en\_MY—English (Malaysian)
- en\_NZ—English (New Zealand)
- en\_PH—English (Philippines)
- en\_SG—English (Singapore)
- en\_US—English
- en\_ZA—English (South Africa)
- es—Spanish
- es\_AR—Spanish (Argentina)
- es\_BO—Spanish (Bolivia)
- es\_CL—Spanish (Chile)
- es\_CO—Spanish (Colombia)
- es\_CR—Spanish (Costa Rica)
- es\_DO—Spanish (Dominican Republic)
- es\_EC—Spanish (Ecuador)
- es\_GT—Spanish (Guatemala)
- es\_HN—Spanish (Honduras)
- es\_MX—Spanish (Mexico)
- es\_NI—Spanish (Nicaragua)
- es\_PA—Spanish (Panama)
- es\_PE—Spanish (Peru)
- es\_PR—Spanish (Puerto Rico)
- es\_PY—Spanish (Paraguay)
- es\_SV—Spanish (El Salvador)
- es\_US—Spanish (United States)
- es\_UY—Spanish (Uruguay)
- es\_VE—Spanish (Venezuela)
- et—Estonian
- eu—Basque
- fa—Farsi
- fi—Finnish
- fr—French
- fr\_BE—French (Belgium)
- fr\_CA—French (Canadian)
- fr\_CH—French (Switzerland)
- fr\_LU—French (Luxembourg)
- ga—Irish
- gu—Gujarati
- hi—Hindi
- hr—Croatian
- hu—Hungarian
- hy—Armenian
- in—Indonesian
- is—Icelandic
- it—Italian
- it\_CH—Italian (Switzerland)
- iw—Hebrew
- ja—Japanese
- ka—Georgian
- kn—Kannada
- ko—Korean
- lb—Luxembourgish
- lt—Lithuanian
- lv—Latvian
- mi—Te reo
- mk—Macedonian
- ml—Malayalam
- mr—Marathi
- ms—Malay
- mt—Maltese
- my—Burmese
- nl\_BE—Dutch (Belgium)
- nl\_NL—Dutch
- no—Norwegian
- pl—Polish
- pt\_BR—Portuguese (Brazil)
- pt\_PT—Portuguese (European)
- rm—Romansh
- ro—Romanian
- ro\_MD—Romanian (Moldova)
- ru—Russian
- sh—Serbian (Latin)
- sh\_ME—Montenegrin
- sk—Slovak
- sl—Slovene
- sq—Albanian
- sr—Serbian (Cyrillic)
- sv—Swedish
- sw—Swahili
- ta—Tamil
- te—Telugu
- th—Thai
- tl—Tagalog
- tr—Turkish
- uk—Ukrainian
- ur—Urdu
- vi—Vietnamese
- xh—Xhosa
- zh\_CN—Chinese (Simplified)
- zh\_HK—Chinese (Hong Kong)
- zh\_SG—Chinese (Singapore)
- zh\_TW—Chinese (Traditional)
- zu—Zulu





 |
| LastReferencedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date and time that another Salesforce object last referenced this SurveyResponse object.



 |
| LastViewedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date and time that someone last viewed this SurveyResponse object.



 |
| Latitude | 

Type

double

Properties

Filter, Nillable, Sort

Description

The latitude of the participant’s location.



 |
| Location | 

Type

location

Properties

Nillable

Description

The latitude and longitude coordinates of the participant’s location.



 |
| Longitude | 

Type

double

Properties

Filter, Nillable, Sort

Description

The longitude of the participant’s location.



 |
| Name | 

Type

string

Properties

Filter, Group, idLookup, Sort

Description

The name of the participant.



 |
| Status | 

Type

picklist

Properties

Filter, Group, Restricted picklist, Sort

Description

The status of the survey. Possible values include:

- NotStarted — The participant hasn't opened the survey.
- Started — The participant has opened the survey.
- Paused — The participant has paused the survey. Paused isn't available for invitations in which either OptionsAllowParticipantAccessTheirResponse or OptionsCollectAnonymousResponse is true.
- PartiallyCompleted — The participant has partially completed the survey. Available in API version 63.0 and later.
- Completed — The participant has completed the survey.





 |
| SubmitterId | 

Type

reference

Properties

Filter, Group, Nillable, Sort

Description

The ID of the Salesforce user, contact, or lead who completed the survey.

Relationship Name

Submitter

Relationship Type

Lookup

Refers To

Contact, Lead, User



 |
| SurveyId | 

Type

reference

Properties

Filter, Group, Sort

Description

The ID of the survey that the participant completed.



 |
| SurveyVersionId | 

Type

reference

Properties

Filter, Group, Sort

Description

The ID of the version of the survey that the participant completed.



 |

## 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.

[SurveyResponseChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_change_event.htm "A ChangeEvent object is available for each object that supports Change Data Capture. You can subscribe to a stream of change events using Change Data Capture to receive data tied to record changes in Salesforce. Changes include record creation, updates to an existing record, deletion of a record, and undeletion of a record. A change event isn’t a Salesforce object—it doesn’t support CRUD operations or queries. It’s included in the object reference so you can discover which Salesforce objects support change events.")

Change events are available for the object.