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

Add user enrolment ID (ueid) attribute as returned field via API

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.5.15
    • Fix Version/s: None
    • Component/s: Web Services
    • Labels:
    • Affected Branches:
      MOODLE_35_STABLE

      Description

      Building on the problem statement and requirements explored in this thread - https://moodle.org/mod/forum/discuss.php?d=382775 - the User Enrolment ID (ueid) attribute is a required input for a number of API calls (e.g. core_enrol_unenrol_user_enrolment()) but there is not an API that can return this value for a given user/course/enrolment.

      This improvement is to add the user enrolment ID (ueid) attribute as a returning field in the following API calls:

      • core_enrol_get_enrolled_users()
      • core_enrol_get_users_courses()

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            anthony.erickson Anthony Erickson
            Participants:
            Component watchers:
            Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: