Assessment and Rubrics API

Christina.T.727
Christina.T.727 Posts: 36 🧭

Is there an API that allows you to UPDATE an end users Assessment and Rubrics with what the grading/points the assessor marked them with ?

I've found the end point that allows you to pull out the Rubric Assesment: https://docs.valence.desire2learn.com/res/assessment.html#Rubric.RubricAssessment

But can't see how you could update the actual scores for each individual user that was given that assessment

Answers

  • Hi Christina,

    Thank you for reaching out to us through the community!

    To update the assessment ( assignment ) and the rubrics associated with a user submission, you can make use of the following API Call

    https://docs.valence.desire2learn.com/res/dropbox.html#post--d2l-api-le-(version)-(orgUnitId)-dropbox-folders-(folderId)-feedback-(entityType)-(entityId)

    POST /d2l/api/le/(version)/(orgUnitId)/dropbox/folders/(folderId)/feedback/(entityType)/(entityId)

    Post feedback (without attachment) for a particular submission in a specific dropbox folder.

    The input JSON Parameter is as follows

    {    "Score": <number:decimal>|null,    "Feedback": { <composite:RichText> },    "RubricAssessments": [ // Array of RubricAssessment blocks        { <composite:RubricAssessment> },        { <composite:RubricAssessment> }, ...    ],    "IsGraded": <boolean>,    "GradedSymbol": <string>|null}
    


    For Rubric Assessments inside the above block, you will need to include the following structure as outlined in the article here:

    {    "RubricId": <number:D2LID>,    "OverallScore": <number:decimal>|null,    "OverallFeedback": { <composite:RichText> },    "OverallLevel": { // Note that the OverallLevel property may be null        "LevelId": <number:D2LID>,        "Feedback": { <composite:RichText> }    },    "OverallScoreOverridden": <boolean>,    "OverallFeedbackOverridden": <boolean>,    "CriteriaOutcome": [ // Array of CriterionOutcome blocks        {            "CriterionId": <number:D2LID>,            "LevelId": <number:D2LID>|null,            "Score": <number:decimal>|null,            "ScoreIsOverridden": <boolean>,            "Feedback": { <composite:RichText> },            "FeedbackIsOverridden": <boolean>        },        { <composite:CriterionOutcome> }, ...    ]}
    

    Hope this helps.

    Please let me know if you have any questions or concerns.

    Thanks,

    Sreelakshmi