Canvas API for updating score/grade in assignment

48 views
Skip to first unread message

Jaime Corea

unread,
Oct 18, 2023, 12:50:27 PM10/18/23
to Canvas LMS Users
Hello,

We are working on a project where we want to update a grade in canvas for an assignment using the Canvas API. Which is the correct API to to use to update an assignment grade? Is it the score API https://canvas.instructure.com/doc/api/score.html?  Your help is greatly appreciated.

Thanks,
Jaime

João Paulo

unread,
Oct 18, 2023, 2:06:22 PM10/18/23
to canvas-l...@googlegroups.com
I've done this in the past. What I did was this:

https://mycanvas.com.br:443/api/v1/courses/100/assignments/600//submissions/8?submission[posted_grade]=10
id_course = 100;
id_assignment = 600;
id_user = 8;
grade = 10;




--

---
You received this message because you are subscribed to the Google Groups "Canvas LMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to canvas-lms-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/canvas-lms-users/f3a1b190-f4e6-4922-89e7-fb91eba11401n%40googlegroups.com.


--
João Paulo B. Nascimento
Reply all
Reply to author
Forward
0 new messages