Skip to main content
POST
Submit assessment course lesson

Autorisations

Authorization
string
header
requis

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

Paramètres de chemin

lesson_id
string
requis

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

Corps

application/json

Parameters for SubmitAssessment

answers
object[]
requis

The list of answers to submit for each assessment question.

Réponse

A successful response

The result of a user's assessment attempt

created_at
string<date-time>
requis

The datetime the assessment result was created.

Exemple:

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

id
string
requis

The unique identifier for the assessment result.

Exemple:

"crsar_xxxxxxxxxxxx"

lesson
object
requis

The lesson this assessment result is for

result_correct
integer
requis

The number of correct answers

Exemple:

42

result_grade
number
requis

The grade achieved on the assessment

Exemple:

6.9

result_graded_questions
object
requis

Array of graded questions with details

result_passing_grade
boolean
requis

Whether the user achieved a passing grade

result_question_count
integer
requis

The total number of questions in the assessment

Exemple:

42

score_percent
number
requis

The percentage score achieved on the assessment

Exemple:

6.9

updated_at
string<date-time>
requis

The datetime the assessment result was last updated.

Exemple:

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

user
object
requis

The user who took the assessment