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 the user's training profile for the authenticated organization.
Request
- HTTP Verb: GET
- URI: /user/{id}/trainingProfile
Query Parameters
- id: user identifier. It could be either user id or user email.
Response Properties
hasCpdRequirements | 1 if the user requires cpd, 0 if not |
---|---|
professionalRef | professional reference number |
Request example
$API->getUserTrainingProfile('adrian.perez@wcea.education');
Output Example
array( "hasCpdRequirements" => 1, "professionalRef" => "1234" )