certifications__getUserCeus
Parameters:
p1: partition username
p2: user username
p3: (optional) starting date range (in YYYYMMDD format)
p4: (optional) ending date range (in YYYYMMDD format)
Return Type:
String
Description:
Returns data for each CEU a user has achieved - each as an XML node. By default, all CEUs will be returned, but you can specify a starting date (to return all CEUs achieved on or after the starting date), and/or an ending date (to return all CEU's achieved on or before the end date). Supplying both the start and end date range will return items achieved on or between the 2 supplied dates.
Example (using Code Kit):// assumes partition username "admin" exists and username 'bob123' exists
$data = APICommand( "certifications__getUserCeus", "admin", "bob123", '20180101', 20181231' );
$xml = simplexml_load_string( $data );
foreach ( $xml->children() as $result ) { echo "{$result}
"; }