Questions API Methods
getGroupScore()
Scores a given group of Questions using rules determined by scoring type.
See Per Question, Dichotomous, and Dependent (EBSR) Item Scoring with Examples for more information.
Arguments
-
settings object
-
response_ids array[string]
-
type string
Possible values
"per-question"
"dichotomous"
"dependent"
-
-
callback function
Callback that must be used to get results in cases where asynchronous Question types are present.
-
results boolean GroupScore
As per return description.
-
Return value
Type GroupScore
If successful, returns an object with type, score, max_score, and question_scores as values.
Type boolean
Returns false
on error.
Type definitions
-
GroupScore object
-
max_score integer
-
question_scores array[object]
-
max_score integer
-
score integer
-
-
score integer
-
type string
-