surveyResponseUpdate Mutation

Updates an existing survey response.

Input Argument

surveyResponseUpdate accepts a single input argument, an input type, which contains the values it uses.

The fields inside input are:

answersToDelete ([ID!])

Identifiers of answers to remove from the survey.

clientMutationId (String)

A unique identifier for the client performing the mutation.

completed (Boolean)

Whether the respondent completed the survey.

id (ID!)

The node ID of the record to update.

newAnswers ([SurveyAnswerInput!])

Answers of this survey response.

personId (ID)

Identifier of the person who provided this response (i.e. the respondent).

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.

serviceId (ID)

Identifier of the service this response is about.

slaIds ([ID!])

Identifiers of the SLAs this response is for. (Ignored when supplying a personId.)

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.

surveyId (ID)

Identifier of the survey this response is for.

Return Fields

clientMutationId (String)

A unique identifier for the client performing the mutation.

errors ([ValidationError!])

Errors encountered during the mutation.

surveyResponse (SurveyResponse)

Record after mutation.