The Learning Path evaluation questions allow the platform administrator to define an optional list of questions that direct feedback toward specific aspects of the Learning Path.

EvaluationQuestion API object

Any LP evaluation question is represented by the EvaluationQuestion object:
PropertyTypeDescription
idIDRequired; contains the unique identified of the LP evaluation question.
textStringRequired; represents a subject for feedback submission.

Get the Learning Path evaluation questions

Available evaluation questions at particular Learning Path for the current API user can be retrieved by using getLearningPathEvaluationQuestions query, which returns a list of EvaluationQuestion objects:
query getLearningPathEvaluationQuestions {
  getLearningPathEvaluationQuestions(lpId: 23) {
    id
    text
  }
}

Submit evaluation feedback for a specific evaluation question

Using the retrieved information, it is possible to submit feedback on specific questions by referencing the questionId in the feedback input:
mutation createLearningPathEvaluationSubmission {
  createLearningPathEvaluationSubmission(lpId: 23, submission: {
    "numericRatingFeedback": [
      {
        "questionId": 17,
        "rating": 4
      },
      {
        "questionId": 18,
        "rating": 5
      }
    ],
    "textFeedback": [
      {
        "questionId": 19,
        "text": "It's would be great to also include a topic about data entropy."
      }
    ],
  }) {
    errors
    response {
      id
    }
  }
}