Quiz Object


A quiz definition used by an Online Programs quiz step.

Create or clone a quiz, then assign the returned quiz ID to step.quizOptions.id when creating an Online Programs step. Quiz IDs are intentionally discovered through quiz-type steps rather than through a Quiz list or query method.

New submissions are evaluated against the quiz definition that exists when the submission is created. Previously stored submissions retain their recorded grades and answer evaluations if the definition changes later.

Properties
createdDatestringRead-onlyformat date-time

Date and time the quiz was created.


fieldsArray <QuizField>minItems 1maxItems 200

Active questions in the quiz. Each QuizField defines one question and its answer input. Creating or cloning a quiz requires at least one active question. A retrieved quiz can have an empty list after all its questions have been deleted. Check for active questions before displaying or reusing it.

New submissions use the current questions; stored submissions retain their recorded answer evaluations.


idstringRead-onlyformat GUID

Quiz ID.


revisionstringRead-onlyformat int64

Current revision of the stored quiz definition. The revision changes when the definition changes. The public Quiz API doesn't currently provide an update method.


settingsQuizSettings

Quiz title, passing grade, and attempt limit. New submissions use the current settings; stored submissions retain their recorded grade data.


updatedDatestringRead-onlyformat date-time

Date and time the quiz was last updated.

Did this help?