Перейти к содержимому
R-Service R-Service
Руководство разработчика RR Tech Service Management

SurveyResponse Object

Эта документация пока недоступна на вашем языке, поэтому показана английская версия.

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.

surveyResponses ( SurveyResponseConnection! )

Root connection for retrieving SurveyResponse records.

ArgumentTypeDescription
afterStringReturns the elements in the list that come after the specified cursor.
beforeStringReturns the elements in the list that come before the specified cursor.
filterSurveyResponseFilterFilter to determine which SurveyResponse records are returned.
firstIntReturns the first n elements from the list.
lastIntReturns the last n elements from the list.
orderSurveyResponseOrderOrder of the SurveyResponse records returned.
viewSurveyResponseViewView name. The default value is current_account .

The fields in this section list which values can be retrieved when querying SurveyResponse records.

account ( Account )

The account this record belongs to.

completed ( Boolean )

Whether the respondent completed the survey.

createdAt ( ISO8601Timestamp )

The date and time at which the record was created.

id ( ID! )

Unique identifier of the record.

rating ( StarRating )

Rating calculated based on the answers.

ratingCalculation ( JSON )

How the individual answers were combined to calculate the rating.

respondedAt ( ISO8601Timestamp )

Time this response was submitted.

service ( Service )

Service this response is about.

source ( String )

An identifier for the client application submitting the resource or the name of an external system.

sourceID ( String )

The unique identifier of the resource in an external system.

survey ( Survey )

Survey this response is for.

updatedAt ( ISO8601Timestamp )

The date and time of the last update of the record. If the record has no updates it contains the createdAt value.

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.

answers ( SurveyAnswerConnection )

Answers of this survey response.

ArgumentTypeDescription
afterStringReturns the elements in the list that come after the specified cursor.
beforeStringReturns the elements in the list that come before the specified cursor.
firstIntReturns the first n elements from the list.
lastIntReturns the last n elements from the list.

slas ( ServiceLevelAgreementConnection )

SLAs of this survey response.

ArgumentTypeDescription
afterStringReturns the elements in the list that come after the specified cursor.
beforeStringReturns the elements in the list that come before the specified cursor.
firstIntReturns the first n elements from the list.
lastIntReturns the last n elements from the list.

SurveyResponse implements the following interfaces. This means that fragments defined on these interfaces may be used in queries returning a SurveyResponse.