getGroupScore - Methods - Questions API

Questions API Methods

getGroupScore()

Scores a given group of questions using rules determined by scoring type: "per-question", "dichotomous", or "dependent".

If successful, returns an object with type, score, max_score, and question_scores as values. Returns false on error.

Note For more information, see the items scoring knowledge base article.

Arguments

  • settings object

    • response_ids array

    • type string

      Possible values

      • "per-question"
      • "dichotomous"
      • "dependent"
  • callback function

    Optional. Callback that must be used to get results in cases where asynchronous Question types are present.

    • results false | GroupScore

      As per return description above.

Return value

Type false | GroupScore

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.