Survey Object
Root Connection
All Survey objects of an account are accessible by a query on the root connection surveys
.
Such a query will return a SurveyConnection!
, which contains the Survey objects in its
nodes
field.
SurveyConnection!
)
Root connection for retrieving Survey 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 |
SurveyFilter
|
Filter to determine which Survey records are returned. |
first |
Int
|
Returns the first n elements from the list. |
last |
Int
|
Returns the last n elements from the list. |
order |
[SurveyOrder!]
|
Order of the Survey records returned. |
view |
SurveyView
|
View name. The default value is |
Fields
The fields in this section list which values can be retrieved when querying Survey records.
Account
)
The account this record belongs to.
String
)
Content shown to respondents on completion of the survey.
ISO8601Timestamp
)
The date and time at which the record was created.
Boolean
)
Whether the survey may not be used.
ID!
)
Unique identifier of the record.
String
)
Introduction content of the survey.
String
)
Name of the survey.
String
)
The hyperlink to the image file for the record.
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.
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 Survey record.
The actual objects will be in the nodes
field of the connection.
AttachmentConnection
)
Files and inline images linked to the Completion field.
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. |
AttachmentConnection
)
Files and inline images linked to the Introduction field.
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. |
SurveyQuestionConnection
)
Questions of this survey.
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. |
TranslationConnection
)
Translations associated with this object.
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
Survey implements the following interfaces. This means that fragments defined on these interfaces may be used in queries returning a Survey.