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 all training in the authenticated organization.
Request
- HTTP Verb: GET
- URI: /training
Searchable Fields
name |
Example:
Find all trainings whose:
|
---|---|
description | |
objectives | |
language | |
author_name | |
See Advanced queries for details on how to use Searchable Fields.
Request example
$trainings = $API->getTraining();
Output Example
array( [0] => array( "id" => 1, "name" => "A training name", "cost" => "FREE" "thumbnail" => "url_to_training_thumbnail", "description" => "lorem ipsum", "objectives" => "lorem ipsum", "duration" => "02:15:00", "language" => "English", "conflict_of_interest" => "lorem ipsum", "author_name" => "name_of_author", "author_information" => "info_about_author", "author_thumbnail" => "url_to_author_thumbnail" ), [1] => array( "id" => 2, "name" => "Another training name", "cost" => "FREE" "thumbnail" => "url_to_training_thumbnail", "description" => "lorem ipsum", "objectives" => "lorem ipsum", "duration" => "01:00:00", "language" => "English", "conflict_of_interest" => "lorem ipsum", "author_name" => "name_of_author", "author_information" => "info_about_author", "author_thumbnail" => "url_to_author_thumbnail" ) ... )