The question data. Some fields may not be returned depending on the quiz display settings.

Hierarchy

  • ReturnsQuestionsItem

Properties

blockedbyprevious: null | boolean

whether the question is blocked by the previous question

flagged: null | boolean

whether the question is flagged or not

hasautosavedstep: null | boolean

whether this question attempt has autosaved data

html: null | string

the question rendered

lastactiontime: null | number

the timestamp of the most recent step in this question attempt

mark: null | string

the mark awarded. It will be returned only if the user is allowed to see it.

maxmark: null | number

the maximum mark possible for this question attempt. It will be returned only if the user is allowed to see it.

number: null | number

DO NOT USE. Use questionnumber. Only retained for backwards compatibility.

page: null | number

page of the quiz this question appears on

questionnumber: null | string

The question number to display for this question, e.g. "7", "i" or "Custom-B)".

Response file areas including files

sequencecheck: null | number

the number of real steps in this attempt

settings: null | string

Question settings (JSON encoded).

slot: null | number

slot number

state: null | string

the state where the question is in. It will not be returned if the user cannot see it due to the quiz display correctness settings.

status: null | string

current formatted state of the question

type: null | string

question type, i.e: multichoice

Generated using TypeDoc