The student course completion trigger returns information about a User’s completion of a course, along with information about the course and group to which the user is registered.
meta: Contains attributes about the completion itself
{
"id": 99750,
"event": {
"type": "student.course.completed",
"sent_time": "2014-11-11T16:34:33.509938+00:00"
},
"user": {
"username": "john_doe",
"first_name": "John",
"last_name": "Doe",
"email": "john.doe@example.com",
"membership": {
"membership_type": "Student",
"can_manage_school": false,
"is_school_admin": false,
"can_create_course": false
},
"id": 52047
},
"school": {
"id": 32213,
"name": "Online Academy"
},
"class_section": {
"id": 65224,
"name": "My Group"
},
"course": {
"id": 43441,
"name": "Economics 101"
},
"registration": {
"points": {
"percent_of_max": 31.428571428571427,
"max_possible": 350,
"earned": 110
},
"role": "Student",
"id": 99750
},
"meta": {
"days_to_completion": 6,
"completed_time": "2014-11-11T16:30:18.401248+00:00"
},
}