Assignment Override API call for New Quizzes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have used the Canvas API in the past to create Classic Quizzes and to then make an Assignment Override to specify different Due times for different sections of my course.
The Assignment Override API call requires an "assignment_id".
Classic Quizzes have an "assignment_id".
New Quizzes do NOT have an "assignment_id".
How can I make a call to the Assignment Override API for New Quizzes without an "assignment_id"?
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @downing,
New Quizzes definitely have an assignment_id (they are basically external_tool assignments). The interesting thing is that in my testing, using the API list assignments call does not return any new quizzes though. You have to use the new quizzes api to list the quizzes, and the id returned for each quiz is actually the assignment_id of the quiz, which you should be able to take and use to create assignment overrides as you seem to have done previously for other assignments
Let us know if this works, I just did some real quick and dirty trials here and everything seemed to come back as expected.
-Chris