Skip to content

Quiz Attempt ​

lms.quiz_attempt · every change is kept in the audit log · numbered ATT-{YYYY}-{######}

Fields ​

Every record also has id, created_at and updated_at.

FieldLabelTypeRules
quizquizlink → lms.quizrequired
studentstudentlink → core.studentrequired
statusstatusselectone of: In Progress, Submitted, Pending Review, Evaluated, Violated Rules; default "In Progress"
started_atstarted atdatetime
submitted_atsubmitted atdatetime
scorescoredecimalmin 0
total_markstotal marksdecimalmin 0
answersanswerstable of quiz_answer
violation_countviolation countnumberdefault 0; min 0
violation_reasonviolation reasonlongtextmax 2000 characters
randomisation_seedrandomisation seednumber
reviewed_byreviewed bylink → core.user

Unique together: quiz + student

Permissions ​

RoleCan
lms:adminread, create, update, delete
lms:college_adminread, create, update, delete
lms:hodread
lms:facultyread, update
lms:studentread, create, update — only own rows (via student)
lms:parentread — only own rows (via student)

API ​

http
GET    /api/lms/quiz_attempt?<field>=<value>&limit=100&offset=0
POST   /api/lms/quiz_attempt
GET    /api/lms/quiz_attempt/:id
PATCH  /api/lms/quiz_attempt/:id
DELETE /api/lms/quiz_attempt/:id

Edulab Bench developer documentation