{{ :logo-apl.png?nolink |}} ===== Block Use Stats (User Time tracking) :MNET and Web services===== ==== MNET ==== Use stats provides MNET services to organize a distributed recollection of stats data. ==== Web services ==== Web services are provides to extract and retrieve time stats from an external ERP. ==== Services MNET ==== Service: Remote access to static usage. ==== Fonctions RPC ==== === use_stats_rpc_get_stats === Retrieves aggregate login times in different courses, activity modules, or overall time. ==Settings == * callinguser : The identity of the calling user * targetuser : The identity of the user object of the request * whereroot : The host on which the results are requested. If empty, review the results on the current Moodle. * statsscope : The scope of the statistics (aggregation level) * timefrom : Starting date compilation * json_response : response format == Result == An XML file that responds to the structure: or Dependant of the value of the "statsscope" parameter. === use_stats_rpc_get_scores === This function is an add-on to retrieve scores (notes) from the same service and in a format and method similar to the collection of statistics. {...to be continued...} [[:start|Back to home]] - [[:plugins|Back to plugin list order by type]] - [[:Blocks:UseStats|Back to the component index]] - [[:blocks:usestats:Technique|back to the technical index]]