This version of the API docs is depreciated and will be taken offline soon.
Please migrate to the new version as soon as possible to avoid service disruption.
New version can be found at https://docs.wceaapi.org/
Returns a report on all user activity on a particular training in authenticated organization.
Request
- HTTP Verb: GET
- URI: /report/trainingActivity/{id}
Query Parameters
- id: training id.
Please Note: {id}
is optional in the above request, if no {id}
is provided, the report contains all user activity on all training in the organization.
Request example
curl -H "Request-Time: Wed, 11 Dec 2013 13:15:04 +0000" \ -H "Api-Key: 78b47a40f93378a6a487919edea6e92c" \ -H "Signature: 0a035961fbf7d2ffdc5ca8780e0a33cb3d6c3a5f8fb0623e886c9933377d3e1e" \ http://wceaapi.org/v1/report/trainingActivity/1234
Output Example
{ "_meta": { ... }, "records": [ { "portal": "ABBREV", "training_reference": 1234, "training_name": "A training name", "cost_of_training": "FREE" "training_description": "lorem ipsum", "training_duration": "02:15:00", "training_language": "English", "member_id" => 2345, "member_title": "Mr", "member_name": "John", "member_surname": "Doe", "member_suffix" => "PhD", "member_email" => "user@domain.com", "training_status": "Active" "date_started": "2014-03-02", "date_completed": "2014-03-02", "date_modified": "2014-03-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 }, { "portal": "ABBREV", "training_reference": 1234, "training_name": "A training name", "cost_of_training": "FREE" "training_description": "lorem ipsum", "training_duration": "02:15:00", "training_language": "English", "member_id" => 123456, "member_title": "Miss", "member_name": "Adrianne", "member_surname": "Victor", "member_suffix" => "MBBS", "member_email" => "user@domain.com", "training_status": "Active" "date_started": "2014-01-28", "date_completed": "2014-02-09", "date_modified": "2014-02-09 00:00:01", "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 }, ... ] }