This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
blocks:usestats:technique:mnet [2019/05/27 12:25] 127.0.0.1 external edit |
blocks:usestats:technique:mnet [2023/01/31 16:46] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== MNET and Web services ===== | + | <html><!-- nomoodle --></html>{{ :logo-apl.png?nolink |}} <html><!-- /nomoodle --></html> |
| + | |||
| + | ===== Block Use Stats (User Time tracking) :MNET and Web services===== | ||
| ==== MNET ==== | ==== MNET ==== | ||
| Line 8: | Line 11: | ||
| Web services are provides to extract and retrieve time stats from an external ERP. | Web services are provides to extract and retrieve time stats from an external ERP. | ||
| - | |||
| - | |||
| ==== Services MNET ==== | ==== Services MNET ==== | ||
| - | Service : Accès distant aux statiques d'usage. | + | Service: Remote access to static usage. |
| ==== Fonctions RPC ==== | ==== Fonctions RPC ==== | ||
| Line 20: | Line 21: | ||
| === use_stats_rpc_get_stats === | === use_stats_rpc_get_stats === | ||
| - | Récupère les temps de connexion agrégés dans les différents cours, modules d'activité ou le temps global. | + | Retrieves aggregate login times in different courses, activity modules, or overall time. |
| - | == Paramètres == | + | ==Settings == |
| - | * callinguser : L'identité de l'utilisateur appelant | + | * callinguser : The identity of the calling user |
| - | * targetuser : L'identité de l'utilisateur objet de la demande | + | * targetuser : The identity of the user object of the request |
| - | * whereroot : L'hôte sur lequel les résultats sont demandés. Si vide, examine les résultats sur le Moodle courant. | + | * whereroot : The host on which the results are requested. If empty, review the results on the current Moodle. |
| - | * statsscope : La portée des statistiques (le niveau d'agrégation) | + | * statsscope : The scope of the statistics (aggregation level) |
| - | * timefrom : Date de début de la compilation | + | * timefrom : Starting date compilation |
| - | * json_response : le format de la réponse | + | * json_response : response format |
| - | == Sortie == | + | == Result == |
| - | Un fichier XML répondant à la structure : | + | An XML file that responds to the structure: |
| <USE_STATS> | <USE_STATS> | ||
| Line 53: | Line 54: | ||
| </USE_STATS> | </USE_STATS> | ||
| - | ou | + | or |
| <USE_STATS> | <USE_STATS> | ||
| Line 73: | Line 74: | ||
| </USE_STATS> | </USE_STATS> | ||
| - | suivant la valeur du paramètre "statsscope". | + | |
| + | Dependant of the value of the "statsscope" parameter. | ||
| === use_stats_rpc_get_scores === | === use_stats_rpc_get_scores === | ||
| - | Cette fonction est un add-on pour récupérer les scores (notes) à partir du même service et sous un format et une méthode similaire à la collecte des statistiques. | ||
| - | {...a terminer...} | + | 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...} | ||
| - | [[:blocks:usestats:Technique|Revenir à l'index du guide technique]] | + | [[: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]] |