XMLWordPrintable

Details

    • MOODLE_29_STABLE
    • MOODLE_30_STABLE
    • MDL-49796-master
    • Hide

      Note: Version number is bumped because a new web service is added into the Mobile app service and to the mod_resource list of external functions.

      1. Create a course with a teacher, the course must have at least one section.
      2. Create a mod_assign activity
      3. As admin, enable "Mobile services": Plugins ► Web Services ► Mobile
      4. Create a Token for the teacher user
        • Click on Site administration ► Plugins ► Web services ► Manage tokens
      5. Next, you can do a CURL REST call simulating a WS client with the student user .
        • You need to replace the wstoken, assignid (the assign module instance value) and the URL of your moodle instance

          curl 'http://localhost/m/stable_master/webservice/rest/server.php?moodlewsrestformat=json' --data 'assignid=4&wsfunction=mod_assign_view_grading_table&wstoken=a70d553bbaf6d9b260a9e5c701b3c46e' --compressed

      6. Confirm that
        • You can see new entries in the course log (grading table viewed) for the assignment and the user. The origin for the new log entries is "ws"
      Show
      Note: Version number is bumped because a new web service is added into the Mobile app service and to the mod_resource list of external functions. Create a course with a teacher, the course must have at least one section. Create a mod_assign activity As admin, enable "Mobile services": Plugins ► Web Services ► Mobile Create a Token for the teacher user Click on Site administration ► Plugins ► Web services ► Manage tokens Next, you can do a CURL REST call simulating a WS client with the student user . You need to replace the wstoken, assignid (the assign module instance value) and the URL of your moodle instance curl 'http://localhost/m/stable_master/webservice/rest/server.php?moodlewsrestformat=json' --data 'assignid=4&wsfunction=mod_assign_view_grading_table&wstoken=a70d553bbaf6d9b260a9e5c701b3c46e' --compressed Confirm that You can see new entries in the course log (grading table viewed) for the assignment and the user. The origin for the new log entries is "ws"

    Description

      Launch the grading_table_viewed event (the user view that page using an external application, like moodle mobile)

      Attachments

        Issue Links

          Activity

            People

              jleyva Juan Leyva
              jleyva Juan Leyva
              Mark Nelson Mark Nelson
              Dan Poltawski Dan Poltawski
              Jetha Chan Jetha Chan
              Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie, Juan Leyva, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                16/Nov/15