Assessment Answers

Use the userAnswersByAssessment query to obtain all the user's answers to a specific assessment.

Arguments

Argument
Type
Description

id

ID!

Assessment ID

questionIds

[ID]

Filters the answers by the desired questions.

Available Fields

Field Name
Type
Description

questions.id

ID

Id of question.

questions.text

String

Question text.

questions.helptext

String

Question help text.

questions.information

String

Question information.

questions.isInitialQuestion

Boolean

true if question is defined as first question, otherwise false.

questions.isFinalQuestion

Boolean

true if question is defined as last question, otherwise false.

questions.canSkip

Boolean

Question can be skipped.

questions.answerText

String

Answer text for open type of questions.

answers.id

ID

Id of answer.

answers.text

String

Answer text.

answers.isSelected

Boolean

true if user selected this answer, otherwise false.

answers.rankingOrder

Int

User's selected order for ranking-type questions.

answers.score

Int

Answer score value.

Example

Example using filters

Last updated

Was this helpful?