Give An Extra Quiz Attempt Using The API

Jump to solution
MattHanes
Community Champion

I'm trying to use the API to increase the number of attempts a student has on a particular quiz. I tried figuring out the syntax using the Live API but I keep getting an error. Can anyone tell me what I'm doing wrong from this screenshot?

quizextensions.jpg

1 Solution
ryant
Instructure Alumni
Instructure Alumni

Seems like the documentation is a bit lacking.  The format of the POST data should resemble this example.

{

    "quiz_extensions": [

        {

              "user_id": 2,

              "extra_attempts": 1

          }

    ]

}

View solution in original post

0 Likes