Returns a report on all user activity on a particular piece of e-learning in authenticated organization.
Request
- HTTP Verb: GET
- URI: /report/elearningActivity/{id}
Query Parameters
- id: e-learning id.
Please Note: {id}
is optional in the above request, if no {id}
is provided, the report contains all user activity on all e-learning in the organization.
Searchable Fields
user_id |
Example:
display activity report on e-learning taken by user with user_id = 123456 |
---|---|
custom_member_id |
Example:
display activity report on e-learning taken by user with custom_member_id = M123456 |
wcea_organization_uid |
Example:
display activity report on e-learning taken by user with wcea_organization_uid = M123456 |
report_mobile |
Example:
display activity report on e-learning taken in the mobile app. Can have 3 values: '': Report only Education portal data onlyMobile: Report only Mobile App data all: Report Education Portal and Mobile App data
|
start_date |
Example:
Datetime from which the report has to get the data. Notice the time part of the datetime have to replace the ':' by '_'
|
end_date |
Example:
Datetime until which the report has to get the data. Notice the time part of the datetime have to replace the ':' by '_'
|
Request example
$report = $API->getReportElearningActivity(1234);
Output Example
array( [0] => array( "portal" => "ABBREV", "e-learning_reference" => 1234, "e-learning_name" => "A e-learning name", "cost" => "FREE" "e-learning_description" => "lorem ipsum", "e-learning_duration" => "02:15:00", "e-learning_language" => "English", "member_id" => 2345, "custom_member_id:" "A74426" "member_title" => "Mr", "member_name" => "John", "member_surname" => "Doe", "member_suffix" => "PhD", "member_email" => "user@dmain.org", "e-learning_status" => "Active", "date_started" => "2014-03-02", "date_completed" => "2014-03-02", "date_modified" => "2014-03-02 00:00:01", "date_expiry" => "2014-11-02 00:00:01", "accreditation" => "5 Credits", "exam" => "Passed", "exam_result" => "75%", "exam_attempts" => 2, "evaluation_statement_link" => "link_to_eval_statement", "certificate_link" => "link_to_eval_certificate", "eval_question_1" => "answer_to_this_question", "eval_question_2" => "answer_to_this_question", "eval_question_3" => "answer_to_this_question", //... more evaluation statement questions and answers ), [1] => array( "portal" => "ABBREV", "e-learning_reference" => 1234, "e-learning_name" => "A e-learning name", "cost" => "FREE" "e-learning_description" => "lorem ipsum", "e-learning_duration" => "02:15:00", "e-learning_language" => "English", "member_id" => 123456, "custom_member_id:" "A74426" "member_title" => "Miss", "member_name" => "Adrianne", "member_surname" => "Victor", "member_suffix" => "MBBS", "member_email" => "user@dmain.org", "e-learning_status" => "Active", "date_started" => "2014-01-28", "date_completed" => "2014-02-09", "date_modified" => "2014-02-09 00:00:01", "date_expiry" => FALSE, "accreditation" => "5 Credits", "exam" => "Self-Verified", "exam_result" => "", "exam_attempts" => '', "evaluation_statement_link" => "link_to_eval_statement", "certificate_link" => "link_to_eval_certificate", "eval_question_1" => "answer_to_this_question", "eval_question_2" => "answer_to_this_question", "eval_question_3" => "answer_to_this_question", //... more evaluation statement questions and answers ) ... )