report__getCourseActivityInfo
Parameters:
p1: partition username
p2: course name
Return Type:
XML Dataset
Description:
Returns one or more results, each containing a string (tagged) containing the learning item name, type, # users that completed the item, current average, and comprehensive average.
Example (using Code Kit):// assumes partition username "anthony" exists
// returns results for course named Sample Course
$data = APICommand( "report__getCourseActivityInfo", "anthony", "Sample Course" ); $xml = simplexml_load_string( $data );
foreach ( $xml->children() as $result ) { echo $result->getName() . ": " . $result . “<br>"; }