This is a lower-level API. Lower-level APIs are not recommended for most projects, and may not be available on all plans. See our page on recommended deployment patterns for more information.
Public Method Questions API

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

false | GroupScore

Was this article helpful?