I have created a rubric with only two levels: Perfect (the photo uploaded in the assignment has content) and Unacceptable (the photo uploaded in the assignment is blank). I used a Holistic rubric because I just wanted to use a single criterion (content or no content) for this type of assignment. This is the code I wrote in the body of the request:
{
"Score": 100,
"Feedback": "Great job!",
"RubricAssessments": [
{
"RubricId": 1933,
"OverallScore": 100,
"OverallFeedback": "Great job!",
"OverallLevel": {
"LevelId": <number:D2LID>,
"Feedback": "Perfect - The photo has content."
},
"OverallScoreOverridden": false,
"OverallFeedbackOverridden": false,
"CriteriaOutcome": [
{
"CriterionId": <number:D2LID>,
"LevelId": <number:D2LID>|null,
"Score": 100,
"ScoreIsOverridden": false,
"Feedback": "Perfect - The photo has content.",
"FeedbackIsOverridden": false
}
]
}
],
"IsGraded": true,
"GradedSymbol": null
}
As you can see, I still don't have the Levels IDs and the Criterion ID. I don't know yet where to find them. I tried retrieving the rubric with a GET request because I'm 100% sure the outcome has that missing data using {{BrightspaceDomain}}/d2l/api/le/{{leversion}}/{{orgunitid}}/rubrics but I get 404 Not Found.
Could anyone help me with this, please? Thanks.