Skip to main content

Interacting with Results

Published: Not Available

Last Update: October 09, 2024

 

This endpoint is mostly used to retrieve the grades from all the students in bulk, useful when the LTI tool requires a sync of the existing information in Blackboard Learn. The endpoint to call is the following and will only receive a GET request:

https://{learn_domain}/learn/api/v1/lti/courses/{courseId}/lineItems/{lineItemId}/results

The response of the endpoint will be an array of object, each having the following information:

PropertyDescriptionType
idID of the association between lineItemId, userId and gradeString
scoreOfID of the lineItem associated with the gradeString
userIdThe ID of the user associated with the gradeString
resultScoreGrade assigned to the userdouble
resultMaximummaximum grade assigned to the columnInteger
commentFeedback to the userString

A sample of a response from the results endpoint will be shown below

[
{
"id": "https://partner-test3.blackboard.com/learn/api/v1/lti/courses/_220_1/lineItems/_1397_1/results/_700_1",
"scoreOf": "https://partner-test3.blackboard.com/learn/api/v1/lti/courses/_220_1/lineItems/_1397_1",
"userId": "b317a895e7f64796a3fd01bb18a61d65",
"resultScore": 50,
"resultMaximum": 100,
"comment": ""
},
{
"id": "https://partner-test3.blackboard.com/learn/api/v1/lti/courses/_220_1/lineItems/_1397_1/results/_701_1",
"scoreOf": "https://partner-test3.blackboard.com/learn/api/v1/lti/courses/_220_1/lineItems/_1397_1",
"userId": "77a1f06f53a1498fbf02eef7b34876c6",
"resultScore": 95,
"resultMaximum": 100,
"comment": ""
},
{
"id": "https://partner-test3.blackboard.com/learn/api/v1/lti/courses/_220_1/lineItems/_1397_1/results/_702_1",
"scoreOf": "https://partner-test3.blackboard.com/learn/api/v1/lti/courses/_220_1/lineItems/_1397_1",
"userId": "77a1f06f53a1498fbf02eef7b34876c6",
"resultScore": 10,
"resultMaximum": 100,
"comment": ""
}
]