I just want to know which API should I use to grade the canvas quizzes by an external tool?
If possible provide some examples so that I can check it out how it works.
Good morning, Jignashu Solanki...
Could you tell us more about your question? Canvas already has built-in functionality to grade several different question types within classic Quizzes and New Quizzes (New Quizzes is actually an LTI, by the way). So, it wouldn't be necessary to have a separate external tool grade your questions. What kind of information are you trying to obtain from quiz questions that wouldn't already be available? If you could help fill in some of those details, that would be helpful.
I'm going to also share your question with the Canvas Developers group here in the Community in hopes that your question will get some additional exposure. If you are not yet following this group, please click on the link that I have provided, and then you'll see two buttons at the top right corner of your screen to click on: "Follow" and "Actions" >> "Join group". I hope this will be of help to you.
Thanks...be well...stay safe!
The userflow is like someone taking course from other LMS and that LMS has quiz and once user complete that quiz then only quiz score needs to be mapped in canvas LMS.
PS: There is linking between other LMS and canvas LMS courses.
The Grade or comment on a submission endpoint of the Submissions API will allow you to enter a grade into Canvas using the API. If you can get your grades out of the other LMS, you can use that endpoint to get them into Canvas.
If the other LMS was an external tool provider and individual assignments were linked, then you could use grade passback as part of the LTI specification, but I don't suspect you have that level of integration.
Some LMS systems provide a full-featured cross-link between Canvas and their system. Pearson's MyMathLab was like this the last time I used it.
Retrieving data ...