Enrollment
Enrollment
enrollment_created
Payload Example:
{
"metadata": {
"client_ip": "93.184.216.34",
"context_account_id": "21070000000000079",
"context_id": "21070000000000565",
"context_sis_source_id": "2017.100.101.101-1",
"context_type": "Course",
"developer_key_id": "170000000056",
"event_name": "enrollment_created",
"event_time": "2018-10-09T21:07:33Z",
"hostname": "oxana.instructure.com",
"http_method": "POST",
"producer": "canvas",
"referrer": null,
"request_id": "1dd9dc6f-2fb0-4c19-a6c5-7ee1bf3ed295",
"root_account_id": "21070000000000001",
"root_account_lti_guid": "VicYj3cu5BIFpoZhDVU4DZumnlBrWi1grgJEzADs.oxana.instructure.com",
"root_account_uuid": "VicYj3cu5BIFpoZhDVU4DZumnlBrWi1grgJEzADs",
"session_id": "ef686f8ed684abf78cbfa1f6a58112b5",
"time_zone": "America/New_York",
"url": "https://oxana.instructure.com/api/v1/sections/4811/enrollments?enrollment[user_id]=20064&enrollment[type]=StudentEnrollment&enrollment[enrollment_state]=invited&enrollment[limit_privileges_to_course_section]=true&enrollment[notify]=true",
"user_account_id": "21070000000000001",
"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",
"user_id": "21070000000000001",
"user_login": "oxana@example.com",
"user_sis_id": "456-T45"
},
"body": {
"associated_user_id": "21070000000000562",
"course_id": "21070000000000565",
"course_section_id": "21070000000004811",
"created_at": "2018-10-09T21:07:33Z",
"enrollment_id": "21070000000046825",
"limit_privileges_to_course_section": false,
"type": "StudentEnrollment",
"updated_at": "2018-10-09T21:07:33Z",
"user_id": "21070000000020064",
"user_name": "Isaac Newton",
"workflow_state": "invited"
}
}Event Body Schema
Field
Description
enrollment_state_created
Payload Example:
Event Body Schema
Field
Description
enrollment_state_updated
Payload Example:
Event Body Schema
Field
Description
enrollment_updated
Payload Example:
Event Body Schema
Field
Description
Last updated
Was this helpful?