Skip to main content

SurveyResponse

Represents a single submission to a survey.

type SurveyResponse {
contact: Contact
createdAt: DateTime!
createdBy: String
id: ID!
lastModifiedAt: DateTime!
lastModifiedBy: String
questionResponses: [QuestionResponse!]!
responseDate: DateTime
session: Session
state: SurveyState!
survey: Survey
testResponse: Boolean!
}

Fields​

SurveyResponse.contact ● Contact object​

The contact that submitted the response. Optional. Null when the responding contact has been removed.

SurveyResponse.createdAt ● DateTime! non-null scalar​

The date and time the record was created.

SurveyResponse.createdBy ● String scalar​

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

SurveyResponse.id ● ID! non-null scalar​

The unique identifier of the survey response.

SurveyResponse.lastModifiedAt ● DateTime! non-null scalar​

The date and time the record was last modified.

SurveyResponse.lastModifiedBy ● String scalar​

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

SurveyResponse.questionResponses ● [QuestionResponse!]! non-null object​

The flat per-question answers that make up this response.

Bounded by the parent survey's question count, so this list is not paginated.

SurveyResponse.responseDate ● DateTime scalar​

The date and time the response transitioned to its current state. Optional. Null while the response is NOT_RESPONDED.

SurveyResponse.session ● Session object​

The session that the responses are for when the survey is of type SESSION. Optional.

SurveyResponse.state ● SurveyState! non-null enum​

The state of the response — whether the respondent has not yet responded, has responded, or has opted out.

SurveyResponse.survey ● Survey object​

The survey this response was submitted against. Optional. Null when the survey has been removed.

SurveyResponse.testResponse ● Boolean! non-null scalar​

A flag indicating whether the response was a test submission.

Member Of​

Survey object ● SurveyResponsePage object