Module completed
The Module completed webhook is called when a learner has completed a module in a course. It contains module info, score, learner details and timestamps, plus everything in the course completed webhook.
Example
json
{
"module": {
"entity_type": "unit",
"type": "content",
"published_id": null,
"code": "101",
"id": 10,
"title": "Dragon training 101"
},
"id": null,
"completed": "2022-06-03T03:48:05+00:00",
"commenced": "2022-06-03T03:48:05+00:00",
"score": {
"percentage": 95,
"percentage_string": "95%",
"min": 0,
"max": 100,
"raw": 95
},
"passed": true,
"progress_percent": 100,
"score_percent": 95,
"total_time": 0,
"student_name": "Sally Student",
"user": {
"id": 4,
"username": "sally_student",
"firstname": "Sally",
"lastname": "Student",
"avatar": "https://static.ecoach.com/uploads/client/1100/global/??????.jpeg",
"email": "sally-student@coassemble.com",
"email_verified": false,
"active": true,
"created": "2015-03-09T13:00:00+00:00"
},
"accreditable_user": {
"custom_value": null,
"dtype": "accreditableuser"
},
"parent": {
"module": null,
"id": null,
"completed": "2022-06-03T03:48:05+00:00",
"commenced": "2022-06-03T03:48:05+00:00",
"score": {
"percentage": 95,
"percentage_string": "95%",
"min": 0,
"max": 100,
"raw": 95
},
"passed": true,
"progress_percent": 100,
"score_percent": 95,
"total_time": 0,
"student_name": "Sally Student",
"user": {
"id": 4,
"username": "sally_student",
"firstname": "Sally",
"lastname": "Student",
"avatar": "https://static.ecoach.com/uploads/client/1100/global/??????.jpeg",
"email": "sally-student@coassemble.com",
"email_verified": false,
"active": true,
"created": "2015-03-09T13:00:00+00:00"
},
"accreditable_user": {
"custom_value": null,
"dtype": "accreditableuser"
},
"parent": null,
"course": {
"id": 10,
"code": "HTD",
"title": "How to train a dragon"
},
"group": {
"id": 10,
"name": "Sydney",
"dtype": "Sydney"
},
"groups": null,
"report_url": "https://mytrainingacademy.coassemble.com/rest/builder/report/course/10/student/4"
},
"event": "module_completed"
}
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687