Behind the Blackboard! Post Attempt Using REST API to Assignment Completed but Score is not Shown - Behind the Blackboard Skip Navigation
Download PDF  Icon Download PDF    Print article

Post Attempt Using REST API to Assignment Completed but Score is not Shown

Date Published: Apr 11,2025


CategoryVersion:Older_Release
Article No.: 000075894
Product:
Learn SaaS
Release:
9.1;SaaS
Service Pack(s):
Older_Release
Description:

The Instructor creates an assignment within a course. Then, using the rest APIs, the attempt (completed)  is posted to grade the assignment. The attempt score shows up in the Grade Details as posted by the Instructor. But, the current grade shows nothing. 

Steps to Repeat:
Prerequisite: REST API application setup on system and Learn platform
  1. Log into Blackboard Learn as an Administrator 
  2. Create an Original course 
  3. Enroll yourself as an Instructor and enroll a Student 
  4. Add an Assignment to the course worth 100 points, Unlimited Attempts, and Score attempts using Last Graded Attempt
  5. Post to the Rest API attempts endpoint using Postman or your tool:
  • baseUrl/learn/api/public/v2/courses/<courseId>/gradebook/columns/<columnId>/attempts
    • Enter courseId and columnId paramters
  • The Body:
    • Enter the userId and change the time stamp near when you POST
    • { * "userId": "<id>", * "status": "Completed", * "text": "string", * "score": 66, * "reconciliationMode": "Average", * "exempt": false, * "attemptDate": "2021-09-21T14:30:06.428Z" * }
Observed Behavior: 
Nothing shows up as the current grade for the Assignment and user. When accessing the grade details for the assignment grade column from the full gradebook, it displays: 
  • Current Grade: - out of 100 points. But it says Grade based on Last Graded Attempt. 
  • In the attempts, the attempt made with the Rest API shows (Completed) with the value posted, 66.
Expected Behavior: 
The graded attempt is shown as the Current Grade.




Information:

More information on the REST API can be found here

Target Release:

Future Reference







The information contained in the Knowledge Base was written and/or verified by Blackboard Support. It is approved for client use. Nothing in the Knowledge Base shall be deemed to modify your license in any way to any Blackboard product. If you have comments, questions, or concerns, please send an email to kb@blackboard.com. © 2025 Blackboard Inc. All rights reserved