surveyUpdate Mutation

Updates an existing survey.

Input Argument

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

The fields inside input are:

clientMutationId (String)

A unique identifier for the client performing the mutation.

disabled (Boolean)

Whether the survey may not be used.

id (ID!)

The node ID of the record to update.

name (String)

Name of the survey.

newQuestions ([SurveyQuestionInput!])

Questions of this survey.

pictureUri (String)

The hyperlink to the image file for the record.

questionsToDelete ([ID!])

Identifiers of questions to remove from the survey.

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

Return Fields

clientMutationId (String)

A unique identifier for the client performing the mutation.

errors ([ValidationError!])

Errors encountered during the mutation.

survey (Survey)

Record after mutation.