SurveyResponse Object
Root Connection
All SurveyResponse objects of an account are accessible by a query on the root connection surveyResponses
.
Such a query will return a SurveyResponseConnection!
, which contains the SurveyResponse objects in its
nodes
field.
SurveyResponseConnection!
)
Root connection for retrieving SurveyResponse records.
Argument | Type | Description |
---|---|---|
after |
String
|
Returns the elements in the list that come after the specified cursor. |
before |
String
|
Returns the elements in the list that come before the specified cursor. |
filter |
SurveyResponseFilter
|
Filter to determine which SurveyResponse records are returned. |
first |
Int
|
Returns the first n elements from the list. |
last |
Int
|
Returns the last n elements from the list. |
order |
[SurveyResponseOrder!]
|
Order of the SurveyResponse records returned. |
view |
SurveyResponseView
|
View name. The default value is |
Fields
The fields in this section list which values can be retrieved when querying SurveyResponse records.
Account
)
The account this record belongs to.
Boolean
)
Whether the respondent completed the survey.
ISO8601Timestamp
)
The date and time at which the record was created.
ID!
)
Unique identifier of the record.
StarRating
)
Rating calculated based on the answers.
JSON
)
How the individual answers were combined to calculate the rating.
ISO8601Timestamp
)
Time this response was submitted.
Service
)
Service this response is about.
String
)
An identifier for the client application submitting the resource or the name of an external system.
String
)
The unique identifier of the resource in an external system.
Survey
)
Survey this response is for.
ISO8601Timestamp
)
The date and time of the last update of the record. If the record has no updates it contains the createdAt
value.
Connections
The connection fields in this section allow (paged) access to objects related to a specific SurveyResponse record.
The actual objects will be in the nodes
field of the connection.
SurveyAnswerConnection
)
Answers of this survey response.
Argument | Type | Description |
---|---|---|
after |
String
|
Returns the elements in the list that come after the specified cursor. |
before |
String
|
Returns the elements in the list that come before the specified cursor. |
first |
Int
|
Returns the first n elements from the list. |
last |
Int
|
Returns the last n elements from the list. |
ServiceLevelAgreementConnection
)
SLAs of this survey response.
Argument | Type | Description |
---|---|---|
after |
String
|
Returns the elements in the list that come after the specified cursor. |
before |
String
|
Returns the elements in the list that come before the specified cursor. |
first |
Int
|
Returns the first n elements from the list. |
last |
Int
|
Returns the last n elements from the list. |
Implements
SurveyResponse implements the following interfaces. This means that fragments defined on these interfaces may be used in queries returning a SurveyResponse.