Celebrate Excellence in Education: Nominate Outstanding Educators by April 15!
Found this content helpful? Log in or sign up to leave a like!
Hi Team,
In the Quiz Questions API (below link), I would like to use an option called Position.
Quiz Questions - Canvas LMS REST API Documentation
I tried to create a new question with position = 2 in an empty quiz using Postman. But, in the output body I noticed that the position is 1.
Can we set positions for the questions while creating them through API calls?
When I am creating various questions using a loop the order is being changed. So, I would like to arrange them in order using Position.
Thanks.
I haven't tried this with quiz questions, but if its like other things in Canvas, you won't be able to give the question a position unless there are least that number of questions.
So when you added the question to the empty quiz, it could not have position 2 and was set to position 1 as there was only one question.
You will need to give the questions their position once you have added the lower ordered ones.
Hi Peter,
Thanks for your response. Initially, I entered 2 questions and their positions are 1 and 2. Now, I tried to enter new question with position as 1. Unfortunately, I noticed that the question got position 3 automatically by Canvas.
I should have tried this before making my earlier post.
I've now tried this and I get the same problem as you.
I also tried changing the position with an update and that does not work either.
To participate in the Instructure Community, you need to sign up or log in:
Sign In