How to add answer options to a MCQ quiz question using the API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can someone help with the syntax to be used while importing a Classic Quiz question and answer, Type multiple_choice_question, multiple_dropdowns_question, multiple_answers_question,
Would be great if someone can help understand the API with an example of either of the question types listed above.
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @RatishRamapurat
Glad to help with this. So with regards to adding question types you want to follow the steps here https://canvas.instructure.com/doc/api/quiz_questions.html#method.quizzes/quiz_questions.create
in regards to the specifics this is a good example "POST /api/v1/courses/:course_id/quizzes/:quiz_id/questions?question[question_type]=whatever&question[points]=whatever&"
I hope this helps answer the question.
Regards,
Ian