Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-69511

New Web Service proposal mod_quiz_get_users_best_grade

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.7.7, 3.8.4, 3.9.1
    • Fix Version/s: None
    • Component/s: Quiz, Web Services
    • Affected Branches:
      MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE

      Description

      I've just reviewed the documentation for mod_quiz and classes/external.php and unless I am missing something, there doesn't appear to be a way to fetch the full list of user quiz results in a similar way to the screen in moodle that lets you see a table of student names and their answer for each quiz result. Is that correct?

      I am being asked to suck out data about student's quiz results. It appears the only way to do this at the moment would be to iterate over each user id and pull out quiz information for that user. (Which I am not keen on doing as it would likely impact the server performance while we are sucking out the data)

       

      Is such an API a feasible addition that we might be able to hope to appear in a future release? 

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            Zadok Zadok Kin
            Participants:
            Component watchers:
            Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: