setQuestionScore

Features ›› Game ››
Parent Previous Next

Purpose of this API command


Input

Description

serviceName

"setQuestionScore"

userID

e.g. "bobsmith1" [If userID is appended with a “_#”, then the “#” is taken as the lab groupID. If there is no “_#” appended at the end of the userID, then the user’s score would be grouped under lab group 0 by default.]

PIN

e.g. "123456"

OTP

e.g. "123456"

gameID

e.g. "1" [Game ID]

questionID

e.g. "1" [Question ID]

score

e.g. "10" [Score awarded for the question]

mode

e.g. "Pretest" [user definable, can be any value]

groupID

e.g. "1" [used for lab gamification, the default value is "0"]


Information available in setQuestionScore

Description

ErrorText

e.g. "invocation successful" [A text to describe the error"]

GlobalErrorID

e.g. "010000" [A common error code]

ErrorDetails

e.g. "None" [Extra information on the error]

Created with the Personal Edition of HelpNDoc: Easily create CHM Help documents