Use Case 5 : An assignment was created - Quizzes.Next

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

Back to:  Table of Contents 

An assignment was created: Quizzes.Next

 

Use Case #1: An end user creates a new external tool assignment in Canvas by using Quizzes.Next.

 

Outcome #1: When an assignment shell is created, saved, and published an assignment_created event is issued.

 

Event 1: assignment_created

 

{

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

 "sendTime": "2018-09-20T19:22:18.779Z",

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

 "data": [

   {

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

     "id": "urn:uuid:441d3ad4-e1ff-435c-94d4-e5bf4300b37c",

     "type": "Event",

     "actor": {

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

       "type": "Person",

       "extensions": {

         "com.instructure.canvas": {

           "user_login": "oxana",

           "root_account_id": "21070000000000001",

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

           "root_account_uuid": "VicYj3cu5BIFpoZhDVU4DZumnlBrWi1grgJEzADs",

           "entity_id": "111111111111111"

         }

       }

     },

     "action": "Created",

     "object": {

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

       "type": "AssignableDigitalResource",

       "name": "assignment_caliper_Quizzes.Next_1",

       "dateCreated": "2018-09-20T21:44:41.000Z",

       "extensions": {

         "com.instructure.canvas": {

           "entity_id": "21070000000000364"

         }

       },

       "dateToSubmit": "2018-09-22T05:59:59.000Z",

       "maxScore": {

         "numberStr": "100.0"

       }

     },

     "eventTime": "2018-09-20T21:44:41.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:user:111111111111111",

       "type": "Membership",

       "member": {

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

         "type": "Person"

       },

       "organization": {

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

         "type": "CourseOffering"

       }

     },

     "session": {

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

       "type": "Session"

     },

     "extensions": {

       "com.instructure.canvas": {

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

         "request_id": "b41d117c-9066-45c4-b4ea-28b30fa244d4",

         "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"

       }

     }

   }

 ]

}

 

Use Case #2: End user updated Quizzes.Next assignment by changing points possible.

 

Outcome #2: Assignment_update is issued. Only assignment shell updates will trigger assignment_updated event; none of the updates to internal quiz settings will trigger the update message.

 

{

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

 "sendTime": "2018-09-20T20:18:40.887Z",

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

 "data": [

   {

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

     "id": "urn:uuid:bf3ad1a9-6259-4922-981c-b8185d1833b9",

     "type": "Event",

     "actor": {

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

       "type": "Person",

       "extensions": {

         "com.instructure.canvas": {

           "user_login": "oxana",

           "root_account_id": "21070000000000001",

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

           "root_account_uuid": "VicYj3cu5BIFpoZhDVU4DZumnlBrWi1grgJEzADs",

           "entity_id": "111111111111111"

         }

       }

     },

     "action": "Modified",

     "object": {

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

       "type": "AssignableDigitalResource",

       "name": "assignment_caliper_Quizzes.Next_1",

       "dateModified": "2018-09-20T21:58:44.000Z",

       "extensions": {

         "com.instructure.canvas": {

           "workflow_state": "published",

           "entity_id": "21070000000000364"

         }

       },

       "dateToSubmit": "2018-09-22T05:59:59.000Z",

       "maxScore": {

         "numberStr": "1.0"

       }

     },

     "eventTime": "2018-09-20T21:58:44.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:user:111111111111111",

       "type": "Membership",

       "member": {

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

         "type": "Person"

       },

       "organization": {

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

         "type": "CourseOffering"

       }

     },

     "session": {

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

       "type": "Session"

     },

     "extensions": {

       "com.instructure.canvas": {

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

         "request_id": "9663f3c8-b9cb-487c-b4c6-c444601655fe",

         "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"

       }

     }

   }

 ]

}

Back to:  Table of Contents 

1 person found this helpful

Attachments

    Outcomes