Use Case 9 : A student submits a quiz response for an old Canvas quiz

Document created by Oxana Jurosevic Administrator on Oct 16, 2018Last modified by Oxana Jurosevic Administrator on Oct 17, 2018
Version 2Show Document
  • View in full screen mode

Back to:  Table of Contents 

A student submits a quiz response for an old Canvas quiz

 

Use Case: A student takes an old Canvas course quiz, answers all questions and submits it. The quiz gets auto-graded.

 

Outcome: Two messages are issued—quiz_submitted and grade_changed.

 

Event 1: event_type = quiz_submitted

 

{

 "sensor": "http://oxana.instructure.com/",

 "sendTime": "2018-09-18T12:23:31.880Z",

 "dataVersion": "http://purl.imsglobal.org/ctx/caliper/v1p1",

 "data": [

   {

     "@context": "http://purl.imsglobal.org/ctx/caliper/v1p1",

     "id": "urn:uuid:3616f9d0-bd26-4f21-8047-0ed6c5d0da9c",

     "type": "AssessmentEvent",

     "actor": {

       "id": "urn:instructure:canvas:user:21070000000000048",

       "type": "Person",

       "extensions": {

         "com.instructure.canvas": {

           "real_user_id": "111111111111111",

           "user_login": "test2@test.com",

           "root_account_id": "21070000000000001",

           "root_account_lti_guid": "7db438071375c02373713c12c73869ff2f470b68.oxana.instructure.com",

           "root_account_uuid": "VicYj3cu5BIFpoZhDVU4DZumnlBrWi1grgJEzADs",

           "entity_id": "21070000000000048"

         }

       }

     },

     "action": "Submitted",

     "object": {

       "id": "urn:instructure:canvas:submission:21070000000000015",

       "type": "Attempt",

       "extensions": {

         "com.instructure.canvas": {

           "entity_id": "21070000000000015"

         }

       },

       "generated": {
       "id": "https://example.edu/terms/201801/courses/7/sections/1/assess/1/users/554433/attempts/1",
       "type": "Attempt",
       "assignee": "https://example.edu/users/554433",
       "assignable": "https://example.edu/terms/201801/courses/7/sections/1/assess/1?ver=v1p0",
       "count": 1,
       "dateCreated": "2018-11-15T10:15:00.000Z",
       "startedAtTime": "2018-11-15T10:15:00.000Z",
       "endedAtTime": "2018-11-15T10:55:12.000Z",
       "duration": "PT40M12S"
     },

 

    "assignee": {

         "id": "urn:instructure:canvas:user:21070000000000048",

         "type": "Person"

       },

       "assignable": {

         "id": "urn:instructure:canvas:quiz:21070000000000069",

         "type": "Assessment"

       }

     },

     "eventTime": "2018-09-18T16:25:23.000Z",

     "edApp": {

       "id": "http://oxana.instructure.com/",

       "type": "SoftwareApplication"

     },

     "group": {

       "id": "urn:instructure:canvas:course:21070000000000565",

       "type": "CourseOffering",

       "extensions": {

         "com.instructure.canvas": {

           "context_type": "Course",

           "entity_id": "21070000000000565"

         }

       }

     },

     "membership": {

       "id": "urn:instructure:canvas:course:21070000000000565:Learner:21070000000000048",

       "type": "Membership",

       "member": {

         "id": "urn:instructure:canvas:user:21070000000000048",

         "type": "Person"

       },

       "organization": {

         "id": "urn:instructure:canvas:course:21070000000000565",

         "type": "CourseOffering"

       },

       "roles": [

         "Learner"

       ],

     },

     "session": {

       "id": "urn:instructure:canvas:session:6de8ab7cd4eb746f7ebe4e8d8eca307a",

       "type": "Session"

     },

     "extensions": {

       "com.instructure.canvas": {

         "hostname": "oxana.instructure.com",

         "request_id": "83394aa0-d5ce-4f3c-a3df-093188202fe4",

         "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36",

         "version": "1.0.0"

       }

     }

   }

 ]

}

 

Event 2: Event_type = grade_changed

 

{

 "sensor": "http://oxana.instructure.com/",

 "sendTime": "2018-09-24T15:06:21.753Z",

 "dataVersion": "http://purl.imsglobal.org/ctx/caliper/v1p1",

 "data": [

   {

     "@context": "http://purl.imsglobal.org/ctx/caliper/v1p1",

     "id": "urn:uuid:19f57ead-f709-45e0-9869-25c68d933d45",

     "type": "GradeEvent",

     "actor": {

       "id": "http://oxana.instructure.com/",

       "type": "SoftwareApplication"

     },

     "action": "Graded",

     "object": {

       "id": "urn:instructure:canvas:submission:21070000000011107",

       "type": "Attempt",

       "extensions": {

         "com.instructure.canvas": {

           "grade": "1",

           "entity_id": "21070000000011107"

         }

       },

       "assignee": {

         "id": "urn:instructure:canvas:user:21070000000000047",

         "type": "Person",

         "extensions": {

           "com.instructure.canvas": {

             "sis_id": "Test1"

           }

         }

       },

       "assignable": {

         "id": "urn:instructure:canvas:assignment:21070000000000363",

         "type": "AssignableDigitalResource"

       }

     },

     "eventTime": "2018-09-24T21:43:50.000Z",

     "generated": {

       "id": "urn:instructure:canvas:submission:21070000000011107",

       "type": "Score",

       "extensions": {

         "com.instructure.canvas": {

           "grade": "1",

           "entity_id": "21070000000011107"

         }

       },

       "attempt": {

         "id": "urn:instructure:canvas:submission:21070000000011107",

         "type": "Attempt",

         "extensions": {

           "com.instructure.canvas": {

             "grade": "1"

           }

         },

         "assignee": {

           "id": "urn:instructure:canvas:user:21070000000000047",

           "type": "Person",

           "extensions": {

             "com.instructure.canvas": {

               "sis_id": "Test1"

             }

           }

         },

         "assignable": {

           "id": "urn:instructure:canvas:assignment:21070000000000363",

           "type": "AssignableDigitalResource"

         }

       },

       "maxScore": {

         "numberStr": "1.0"

       },

       "scoreGiven": {

         "numberStr": "1.0"

       }

     },

     "edApp": {

       "id": "http://oxana.instructure.com/",

       "type": "SoftwareApplication"

     },

     "group": {

       "id": "urn:instructure:canvas:course:21070000000000565",

       "type": "CourseOffering",

       "extensions": {

         "com.instructure.canvas": {

           "context_type": "Course",

           "entity_id": "21070000000000565"

         }

       }

     },

     "session": {

       "id": "urn:instructure:canvas:session:bfc4658fe705e0047dcb06c7297c4def",

       "type": "Session"

     },

     "extensions": {

       "com.instructure.canvas": {

         "hostname": "oxana.instructure.com",

         "request_id": "7ef6736b-f50f-4ce8-9ef6-27575fb55ce0",

         "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36",

         "version": "1.0.0"

       }

     }

   }

 ]

}

Back to:  Table of Contents 

Attachments

    Outcomes