Assessments
Provides Total Reader all words selected by user, allowing Total Reader to score the passage and update the Lexile Level.
URL: /assessments
HTTP Method: POST
Sample Code: Download
Request
{
"answers":
[
{
"clozeItemNumber": Number,
"answer" : "String content"
}
],
"rating" : Numeric,
"enjoyed" : Boolean,
"passageId" : "String content" ,
"refId" : "String content",
"startTime" : Numeric,
"firstItemTime" : Numeric,
"stopTime" : Numeric
}
Response
{
"metadata":
{
"status" : Numeric,
"message" : "String content"
},
"objects":
[
{
"correctCloze" : "String content",
"genre" : "String content",
"lexileScore" : "String content",
"passageId" : "String content",
"refId" : "String content",
"totalCloze" : "String content"
}
]
}
Exception
Endpoint Test
| Code | Detail |
| 400 | Ref ID is missing or empty |
| 400 | Diagnostic passage is already taken |
| 400 | Passage ID: xx is already taken |
| 404 | Passage ID: xx does not exist |
| 400 | Student is not eligible to take Passage ID: xx |
| 404 | User not found |