Skip to main content
POST
Submit assessment course lesson

Autorizaciones

Authorization
string
header
requerido

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

Parámetros de ruta

lesson_id
string
requerido

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

Cuerpo

application/json

Parameters for SubmitAssessment

answers
object[]
requerido

The list of answers to submit for each assessment question.

Respuesta

A successful response

The result of a user's assessment attempt

created_at
string<date-time>
requerido

The datetime the assessment result was created.

Ejemplo:

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

id
string
requerido

The unique identifier for the assessment result.

Ejemplo:

"crsar_xxxxxxxxxxxx"

lesson
object
requerido

The lesson this assessment result is for

result_correct
integer
requerido

The number of correct answers

Ejemplo:

42

result_grade
number
requerido

The grade achieved on the assessment

Ejemplo:

6.9

result_graded_questions
object
requerido

Array of graded questions with details

result_passing_grade
boolean
requerido

Whether the user achieved a passing grade

result_question_count
integer
requerido

The total number of questions in the assessment

Ejemplo:

42

score_percent
number
requerido

The percentage score achieved on the assessment

Ejemplo:

6.9

updated_at
string<date-time>
requerido

The datetime the assessment result was last updated.

Ejemplo:

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

user
object
requerido

The user who took the assessment