Reputation: 731
The UI shows the following final grades for Student A:
17.15/42 **Scheme: F**
But the JSON response (https://**/d2l/api/le/1.0/courseID/grades/final/values/studentIdentifier?x_a=*&x_b=*&x_c=**8&x_d=**&x_t=**) that I get is as follows: {
PointsNumerator: 17.15, PointsDenominator: 42, WeightedNumerator: 17.15, WeightedDenominator: 42, GradeObjectIdentifier: "*", GradeObjectName: "Final Calculated Grade", GradeObjectType: 7, GradeObjectTypeName: null, DisplayedGrade: "B" }
The DisplayedGrade is F in D2L system but the JSON response shows that the DisplayedGrade is B. This happens to all the students in the course. Any suggestions?
Upvotes: 0
Views: 142
Reputation: 3418
It's possible that your LMS has a known issue: if a grade schema is created with entries "out of order", then grades fetched through the API can have the schema symbols associated differently with grade values than you would find through the main web UI. To workaround this issue, create grade schemas in one go, with items starting from a score of 0 going up in order to the maximum value.
Upvotes: 0