User report

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 users of the authenticated organization

Request

  • HTTP Verb: GET
  • URI: /report/user

Request example

$users = $API->getReportUser();

Output Example

array(
  [0] => array(
     "portal" => "ABBREV",
     "id" => 1,
     "email" => "adrian.perez@wcea.education",
     "name" => "Adrián",
     "surname" => "Pérez",
     "title" => "Mr",
     "suffix" => "PhD",
     "country" => "Spain",
     "region" => "Andalucía",
     "city" => "Marbella",
     "professional_ref" => "123456",
     "first_logged_in" => "2013-10-14 07:36:23",
     "last_logged_in" => "2014-02-06 13:20:58",
     "training_started" => 12,
     "training_completed" => 4
  ),
  [1] => array(
     "portal" => "ABBREV",
     "id" => 2,
     "email" => "tony.montana@wcea.education",
     "name" => "Tony",
     "surname" => "Montana",
     "title" => "Dr",
     "suffix" => "Scarface",
     "country" => "United states of america",
     "region" => "Illinois",
     "city" => "Altona",
     "professional_ref" => "123456",
     "first_logged_in" => "2013-06-14 07:36:23",
     "last_logged_in" => "2014-02-14 13:20:58",
     "training_started" => 10,
     "training_completed" => 9
  )
  ...
)