curl --request POST \
--url https://api.alpha-1edtech.ai/powerpath/finalStudentAssessmentResponse \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"student": "<string>",
"lesson": "<string>"
}
'{
"lessonType": "quiz",
"finalized": true,
"attempt": 123
}Finalize a lesson of type quiz, test-out, or placement after all questions have been answered:
<qti-response-declaration> element and update the score accordingly.Not supported for external test lessons as the 3rd party tool is responsible for finalizing the test. Use the importExternalTestAssignmentResults endpoint instead.
Notice this may perform a course enrollment for the student if the lesson is a placement test or test-out, and the respective subject and grade are mapped to the Subject Track with a valid course set.
A ‘Lesson’ in this context is a ComponentResource object which has a Resource object with metadata.lessonType = “quiz”, “test-out”, or “placement” associated with it.
curl --request POST \
--url https://api.alpha-1edtech.ai/powerpath/finalStudentAssessmentResponse \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"student": "<string>",
"lesson": "<string>"
}
'{
"lessonType": "quiz",
"finalized": true,
"attempt": 123
}The access token received from the authorization server in the OAuth 2.0 flow.