Unable to automate updating the override score

Jump to solution
DavidRobinson14
Community Member

I'm looking for a way to automate updating the override score.

We are calculating an attendance value on external data to Canvas, and then subtracting this value from the unposted current score and setting the result as the override score. We would be doing this daily.

I've looked at GraphQL, but this appears to be read only. I've looked at the Submission API call, but since the override score does not have an assignment ID, I cannot use this call. The only option I've found that does work is manually uploading csv files to the grade book. This is not ideal, since we would need to manually upload a file for each section/course.

Is there any other way to automate updating the override score?

Labels (1)
0 Likes
1 Solution
James
Community Champion

@DavidRobinson14 

I haven't tested this, but it sounds like you want the SetOverrideScore mutation with GraphQL. It requires the enrollment ID for the student. To see it in the /graphiql interface, click on the Add New Mutation button.

As you said, the Submissions API is going to be for individual submissions, not the override, which is for the entire course.

View solution in original post