Skip to main content
POST
Submit assessment course lesson

Autorisaties

Authorization
string
header
vereist

An Account API key, account-scoped JWT, App API key, or user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************.

Padparameters

lesson_id
string
vereist

The unique identifier of the quiz or knowledge check lesson to submit answers for (e.g., "les_XXXXX").

Body

application/json

Parameters for SubmitAssessment

answers
object[]
vereist

The list of answers to submit for each assessment question.

Respons

A successful response

The result of a user's assessment attempt

created_at
string<date-time>
vereist

The datetime the assessment result was created.

Voorbeeld:

"2023-12-01T05:00:00.401Z"

id
string
vereist

The unique identifier for the assessment result.

Voorbeeld:

"crsar_xxxxxxxxxxxx"

lesson
object
vereist

The lesson this assessment result is for

result_correct
integer
vereist

The number of correct answers

Voorbeeld:

42

result_grade
number
vereist

The grade achieved on the assessment

Voorbeeld:

6.9

result_graded_questions
object
vereist

Array of graded questions with details

result_passing_grade
boolean
vereist

Whether the user achieved a passing grade

result_question_count
integer
vereist

The total number of questions in the assessment

Voorbeeld:

42

score_percent
number
vereist

The percentage score achieved on the assessment

Voorbeeld:

6.9

updated_at
string<date-time>
vereist

The datetime the assessment result was last updated.

Voorbeeld:

"2023-12-01T05:00:00.401Z"

user
object
vereist

The user who took the assessment