Payload Example : assignment_created

Document created by Oxana Jurosevic Administrator on Oct 18, 2018Last modified by Oxana Jurosevic Administrator on May 9, 2019
Version 2Show Document
  • View in full screen mode

Back to :  Event Type by Format

Job created assignment ( Content Migration Job)

 

{

 "metadata": {

   "job_id": "1020020281288893",

   "job_tag": "Canvas::Migration::Worker::CourseCopyWorker#perform",

   "producer": "canvas",

   "root_account_id": "21070000000000001",

   "root_account_uuid": "VicYj3cu5BIFpoZhDVU4DZumnlBrWi1grgJEzADs",

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

   "event_name": "assignment_created",

   "event_time": "2018-10-03T15:45:46Z"

 },

 "body": {

   "assignment_id": "21070000000000393",

   "context_id": "21070000000000598",

   "context_type": "Course",

   "workflow_state": "published",

   "title": "Quiz.next Test Caliper event",

   "description": "",

   "due_at": null,

   "unlock_at": null,

   "lock_at": null,

   "updated_at": "2018-10-03T15:45:46Z",

   "points_possible": 10.0,

   "lti_assignment_id": "144aebf9-46ba-46eb-a200-2ab14c446e3e",

   "lti_resource_link_id": null,

   "lti_resource_link_id_duplicated_from": null

 }

}

 

 

Manually Created assignment ( User created assignment)

 

{
"metadata": {
"root_account_uuid": "VicYj3cu5BIFpoZhDVU4DZumnlBrWi1grgJEzADs",
"root_account_id": "21070000000000001",
"root_account_lti_guid": "7db438071375c02373713c12c73869ff2f470b68.oxana.instructure.com",
"user_login": "oxana",
"user_account_id": "170000000000002",
"user_sis_id": null,
"user_id": "170000004596604",
"context_type": "Course",
"context_id": "21070000000000565",
"context_sis_source_id": "2017.100.101.101-1",
"request_id": "bcc5f77e-87d5-4547-8ad2-09203e0a2460",
"session_id": "68b16e111350112b8f11482288ca7d5d",
"hostname": "oxana.instructure.com",
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36",
"client_ip": "216.51.95.36",
"producer": "canvas",
"event_name": "assignment_created",
"event_time": "2019-05-09T18:25:20Z"
},
"body": {
"assignment_id": "21070000000000565",
"context_id": "21070000000000565",
"context_uuid": "hD52Cogpcl3gT01EjyL709oEEKCDByGOfyZ8KrHI",
"context_type": "Course",
"assignment_group_id": "21070000000000301",
"workflow_state": "published",
"title": "Assignment Manually Added",
"description": "",
"due_at": null,
"unlock_at": null,
"lock_at": null,
"updated_at": "2019-05-09T18:25:20Z",
"points_possible": 10.0,
"lti_assignment_id": "43f7a7f9-6055-437b-a7fa-cf72536edae6",
"lti_resource_link_id": null,
"lti_resource_link_id_duplicated_from": null
}
}

 

 

Back to : Event Type by Format

Attachments

    Outcomes