Docs home

Student Enroll Batch List

Lists the batches a student is enrolled in, with each batch's dates, tutor, course and the student's progress. Put the student's user ID in the URL. Optional flags add archived batches, expired and cancelled courses, and where the student last left off.

GET/admin/student/enrollcourses/{studentId}
Student Enroll Batch List
curl --request GET \
  --url 'https://<your-api-host>/nuSource/api/v1/admin/student/enrollcourses/{studentId}?include_archived_batches=0&include_lastview_info=0&include_expired_courses=0&include_cancelled_courses=0' \
  --header 'APIKEY: <your-api-key>' \
  --header 'ORGID: <your-org-id>'
{
  "code": 200,
  "message": "Success",
  "batches": [
    {
      "tutor_id": 53044146,
      "tutor_name": "Edmingle Academy",
      "tutor_img_url": "https://dme2wmiz2suov.cloudfront.net/User(53044146)/1551906-user_avatar2.jpeg",
      "mb_start_date": 1684972800,
      "mb_end_date": 1685491200,
      "organization_id": 1943,
      "master_batch_id": 58919,
      "master_batch_name": "Master Architectural Visualization - Blender - Design",
      "actual_master_batch_name": "Master Architectural Visualization - Blender - Design",
      "class_ids": "135640",
      "institution_bundle_id": 41422,
      "pretty_name": "MasterArchitecturalVisualization-Blender-Design",
      "enrollment_expiration_date": null,
      "bundle_id": 22251,
      "stats": {
        "avg_grade": 0,
        "course_num_exercises": 2,
        "course_num_materials": 23,
        "user_uattempts": 0,
        "user_mat_uviews": 1,
        "user_passed": 0,
        "batch_progress": 4
      },
      "attendance": 0,
      "free_preview_allowed": 0,
      "bundle_image_url": "https://dme2wmiz2suov.cloudfront.net/1798836-?Expires=1786011548&Signature=e7hsKDVr6n6xLKbhzWjjKl1jgx0EeHNmW0SDMGwsaMlNLaYXl54zwOEh7yTEoOPa-QWuEutDz6XtqboNGE20Sjp2jyYDpZUYrLOLZrarR94~3pG-fGkol3agxV7zMY9xgYFohljwsempKRTgNEVjeJJBYk9tNpjMuZKSjMcRUa1N9DCY6jpMix8dpgZqDGt2pEBOTWRInKGbuCiNrOhNYWdSANji~ZYICJQ~btDovUJlTi~dxPyktpL7p9A0cZ16gQszqhB1B0yJHc9wlRapmpO4ybysLxqLmvEEihvTVtptu3GC98uUPX2iDGnZz11um1AbwYZ2g5fQQrmYy6x2eg__&Key-Pair-Id=APKAIIFZDCEANAVU2VTA",
      "tags": [
        {
          "id": 398,
          "label": "ComingSoon",
          "type": 2,
          "value": [
            "true"
          ]
        }
      ]
    },
    {
      "tutor_id": 53044146,
      "tutor_name": "Edmingle Academy",
      "tutor_img_url": "https://dme2wmiz2suov.cloudfront.net/User(53044146)/1551906-user_avatar2.jpeg",
      "mb_start_date": 1717200000,
      "mb_end_date": 1722384000,
      "organization_id": 1943,
      "master_batch_id": 58917,
      "master_batch_name": "Unreal Engine 5: The Complete Beginner's Course",
      "actual_master_batch_name": "Unreal Engine 5: The Complete Beginner's Course",
      "class_ids": "135638",
      "institution_bundle_id": 41421,
      "pretty_name": "Unrealas",
      "enrollment_expiration_date": null,
      "bundle_id": 22250,
      "stats": {
        "avg_grade": 0,
        "course_num_exercises": 2,
        "course_num_materials": 22,
        "user_uattempts": 0,
        "user_mat_uviews": 0,
        "user_passed": 0,
        "batch_progress": 0
      },
      "attendance": 0,
      "free_preview_allowed": 0,
      "bundle_image_url": "https://dme2wmiz2suov.cloudfront.net/3166753-?Expires=1786011548&Signature=oZNjqZIvkigVo1oyDJfWS2VGWUfkOvLvbEEQDAOk~xxXF-M-pOkgm8AsoMoaomE0gt7tb9fsA10319oPnRv62QmaX2Ijr0Ktvt1mUllvrnZ3IxUd6J46TKBXIru~efN4521b4cme9l70qXivDLY0892zlK~608r5gANi3RvQ80MIcPgOIvF4vwgDrLahRqfHnoZVdWzBXw0Vth~1M8NqVsr74iOmhY180voaVT9hIFawz-5KMLA2mCvIy~eV6g6V3Ct4GDAU-1d0zvGHuRMf3nXznGKAf90hr0SzkLqkVuo6-3KWkJkHytOvwPYymXAJyL6JzG3NzK3cpSP9X5rytQ__&Key-Pair-Id=APKAIIFZDCEANAVU2VTA",
      "tags": []
    },
    {
      "tutor_id": 83417933,
      "tutor_name": "Tutor2",
      "tutor_img_url": "",
      "mb_start_date": 1667260800,
      "mb_end_date": 1669766400,
      "organization_id": 1943,
      "master_batch_id": 59051,
      "master_batch_name": "Master Architectural Visualization - Blender - Design",
      "actual_master_batch_name": "GetApiTest",
      "class_ids": "135872",
      "institution_bundle_id": 41422,
      "pretty_name": "MasterArchitecturalVisualization-Blender-Design",
      "enrollment_expiration_date": null,
      "bundle_id": 22251,
      "stats": {
        "avg_grade": -14,
        "course_num_exercises": 2,
        "course_num_materials": 24,
        "user_uattempts": 1,
        "user_mat_uviews": 2,
        "user_passed": 0,
        "batch_progress": 8
      },
      "attendance": 0,
      "free_preview_allowed": 0,
      "bundle_image_url": "https://dme2wmiz2suov.cloudfront.net/1798836-?Expires=1786011548&Signature=e7hsKDVr6n6xLKbhzWjjKl1jgx0EeHNmW0SDMGwsaMlNLaYXl54zwOEh7yTEoOPa-QWuEutDz6XtqboNGE20Sjp2jyYDpZUYrLOLZrarR94~3pG-fGkol3agxV7zMY9xgYFohljwsempKRTgNEVjeJJBYk9tNpjMuZKSjMcRUa1N9DCY6jpMix8dpgZqDGt2pEBOTWRInKGbuCiNrOhNYWdSANji~ZYICJQ~btDovUJlTi~dxPyktpL7p9A0cZ16gQszqhB1B0yJHc9wlRapmpO4ybysLxqLmvEEihvTVtptu3GC98uUPX2iDGnZz11um1AbwYZ2g5fQQrmYy6x2eg__&Key-Pair-Id=APKAIIFZDCEANAVU2VTA",
      "tags": [
        {
          "id": 398,
          "label": "ComingSoon",
          "type": 2,
          "value": [
            "true"
          ]
        }
      ]
    },
    {
      "tutor_id": 53044146,
      "tutor_name": "Edmingle Academy",
      "tutor_img_url": "https://dme2wmiz2suov.cloudfront.net/User(53044146)/1551906-user_avatar2.jpeg",
      "mb_start_date": 1738972800,
      "mb_end_date": 1748649600,
      "organization_id": 1943,
      "master_batch_id": 59406,
      "master_batch_name": "All-In-One Course",
      "actual_master_batch_name": "Zoom",
      "class_ids": "136915,136916,136917,299062,299350,350047,350087",
      "institution_bundle_id": 41872,
      "pretty_name": "Zoom",
      "enrollment_expiration_date": null,
      "bundle_id": 22438,
      "stats": {
        "avg_grade": 0,
        "course_num_exercises": 20,
        "course_num_materials": 229,
        "user_uattempts": 0,
        "user_mat_uviews": 0,
        "user_passed": 0,
        "batch_progress": 0
      },
      "attendance": 0,
      "free_preview_allowed": 0,
      "bundle_image_url": "",
      "tags": []
    },
    {
      "tutor_id": 89212631,
      "tutor_name": "PrimaryTutor",
      "tutor_img_url": "",
      "mb_start_date": 1669852800,
      "mb_end_date": 1672358400,
      "organization_id": 1943,
      "master_batch_id": 60433,
      "master_batch_name": "Adobe Premiere Pro CC Masterclass: Video Editing in Premiere",
      "actual_master_batch_name": "test ics 2",
      "class_ids": "167236",
      "institution_bundle_id": 41446,
      "pretty_name": "AdobePremiereProCCMasterclassVideoEditinginPremier",
      "enrollment_expiration_date": 0,
      "bundle_id": 22274,
      "stats": {
        "avg_grade": 0,
        "course_num_exercises": 0,
        "course_num_materials": 8,
        "user_uattempts": 0,
        "user_mat_uviews": 0,
        "user_passed": 0,
        "batch_progress": 0
      },
      "attendance": 0,
      "free_preview_allowed": 0,
      "bundle_image_url": "https://dme2wmiz2suov.cloudfront.net/1800092-?Expires=1786011548&Signature=dEIrR4vhwqpsC~KSa87hahYZKlrkgkcBgkUyGd00P8-DFuB2BWLVQbzIcp3FbcASnVfDFIRjiq8qnBNvKHAmtkZ04WpMq3g16I4oahQoVMthceG95ZpjdCo9Js8VGijSJ1Vqg~lbOMTSXsEovPdoGxk2n2quaXhsgzFRYoYBRSwkWtoJ1OTphbj7Cct~BH-G5RfKe~ZhMivWylR7lQmNPf6t~eDrimasO5wJYv1RmumPlhFN2CeIuXr9BvlTbtfSW1VVwh-8jmpo4Huf5UkFKiXbEzruR-pq4TpJs0~CuuPpDOe7hoougHwmxx9XcSb6~Q9TaSREFwHtR4ODACbP3Q__&Key-Pair-Id=APKAIIFZDCEANAVU2VTA",
      "tags": []
    },
    {
      "tutor_id": 53044146,
      "tutor_name": "Edmingle Academy",
      "tutor_img_url": "https://dme2wmiz2suov.cloudfront.net/User(53044146)/1551906-user_avatar2.jpeg",
      "mb_start_date": 0,
      "mb_end_date": 0,
      "organization_id": 1943,
      "master_batch_id": 80745,
      "master_batch_name": "Stats debug Testing Title",
      "actual_master_batch_name": "Stats debug",
      "class_ids": "220807,375548",
      "institution_bundle_id": 55987,
      "pretty_name": "Statsdebug",
      "enrollment_expiration_date": 0,
      "bundle_id": 31415,
      "stats": {
        "avg_grade": 0,
        "course_num_exercises": 0,
        "course_num_materials": 9,
        "user_uattempts": 0,
        "user_mat_uviews": 0,
        "user_passed": 0,
        "batch_progress": 0
      },
      "attendance": 0,
      "free_preview_allowed": 0,
      "bundle_image_url": "",
      "tags": []
    },
    {
      "tutor_id": 53044146,
      "tutor_name": "Edmingle Academy",
      "tutor_img_url": "https://dme2wmiz2suov.cloudfront.net/User(53044146)/1551906-user_avatar2.jpeg",
      "mb_start_date": 0,
      "mb_end_date": 0,
      "organization_id": 1943,
      "master_batch_id": 84759,
      "master_batch_name": "Manju",
      "actual_master_batch_name": "Manju",
      "class_ids": "232782",
      "institution_bundle_id": 57694,
      "pretty_name": "Manju",
      "enrollment_expiration_date": 0,
      "bundle_id": 32958,
      "stats": {
        "avg_grade": 0,
        "course_num_exercises": 2,
        "course_num_materials": 2,
        "user_uattempts": 0,
        "user_mat_uviews": 0,
        "user_passed": 0,
        "batch_progress": 0
      },
      "attendance": 0,
      "free_preview_allowed": 0,
      "bundle_image_url": "",
      "tags": []
    },
    {
      "tutor_id": 89047734,
      "tutor_name": "sidd",
      "tutor_img_url": "",
      "mb_start_date": 1705881600,
      "mb_end_date": 1706572800,
      "organization_id": 1943,
      "master_batch_id": 99241,
      "master_batch_name": "Unreal Engine 5: The Complete Beginner's Course",
      "actual_master_batch_name": "Attendance slow query batch",
      "class_ids": "265387",
      "institution_bundle_id": 41421,
      "pretty_name": "Unrealas",
      "enrollment_expiration_date": null,
      "bundle_id": 22250,
      "stats": {
        "avg_grade": 0,
        "course_num_exercises": 2,
        "course_num_materials": 24,
        "user_uattempts": 0,
        "user_mat_uviews": 0,
        "user_passed": 0,
        "batch_progress": 0
      },
      "attendance": 0,
      "free_preview_allowed": 0,
      "bundle_image_url": "https://dme2wmiz2suov.cloudfront.net/3166753-?Expires=1786011548&Signature=oZNjqZIvkigVo1oyDJfWS2VGWUfkOvLvbEEQDAOk~xxXF-M-pOkgm8AsoMoaomE0gt7tb9fsA10319oPnRv62QmaX2Ijr0Ktvt1mUllvrnZ3IxUd6J46TKBXIru~efN4521b4cme9l70qXivDLY0892zlK~608r5gANi3RvQ80MIcPgOIvF4vwgDrLahRqfHnoZVdWzBXw0Vth~1M8NqVsr74iOmhY180voaVT9hIFawz-5KMLA2mCvIy~eV6g6V3Ct4GDAU-1d0zvGHuRMf3nXznGKAf90hr0SzkLqkVuo6-3KWkJkHytOvwPYymXAJyL6JzG3NzK3cpSP9X5rytQ__&Key-Pair-Id=APKAIIFZDCEANAVU2VTA",
      "tags": []
    },
    {
      "tutor_id": 53044146,
      "tutor_name": "Edmingle Academy",
      "tutor_img_url": "https://dme2wmiz2suov.cloudfront.net/User(53044146)/1551906-user_avatar2.jpeg",
      "mb_start_date": 1741046400,
      "mb_end_date": 1743379200,
      "organization_id": 1943,
      "master_batch_id": 149555,
      "master_batch_name": "samo",
      "actual_master_batch_name": "activate test",
      "class_ids": "359535",
      "institution_bundle_id": 47516,
      "pretty_name": "samo",
      "enrollment_expiration_date": null,
      "bundle_id": 26428,
      "stats": {
        "avg_grade": 1,
        "course_num_exercises": 1,
        "course_num_materials": 9,
        "user_uattempts": 1,
        "user_mat_uviews": 3,
        "user_passed": 0,
        "batch_progress": 30
      },
      "attendance": 0,
      "free_preview_allowed": 0,
      "bundle_image_url": "",
      "tags": []
    },
    {
      "tutor_id": 89521571,
      "tutor_name": "SuperAdmin4",
      "tutor_img_url": "",
      "mb_start_date": 1741824000,
      "mb_end_date": 1743379200,
      "organization_id": 1943,
      "master_batch_id": 150138,
      "master_batch_name": "Master Architectural Visualization - Blender - Design",
      "actual_master_batch_name": "Queue System test Batch",
      "class_ids": "361087",
      "institution_bundle_id": 41422,
      "pretty_name": "MasterArchitecturalVisualization-Blender-Design",
      "enrollment_expiration_date": null,
      "bundle_id": 22251,
      "stats": {
        "avg_grade": 0,
        "course_num_exercises": 2,
        "course_num_materials": 24,
        "user_uattempts": 0,
        "user_mat_uviews": 0,
        "user_passed": 0,
        "batch_progress": 0
      },
      "attendance": 0,
      "free_preview_allowed": 0,
      "bundle_image_url": "https://dme2wmiz2suov.cloudfront.net/1798836-?Expires=1786011548&Signature=e7hsKDVr6n6xLKbhzWjjKl1jgx0EeHNmW0SDMGwsaMlNLaYXl54zwOEh7yTEoOPa-QWuEutDz6XtqboNGE20Sjp2jyYDpZUYrLOLZrarR94~3pG-fGkol3agxV7zMY9xgYFohljwsempKRTgNEVjeJJBYk9tNpjMuZKSjMcRUa1N9DCY6jpMix8dpgZqDGt2pEBOTWRInKGbuCiNrOhNYWdSANji~ZYICJQ~btDovUJlTi~dxPyktpL7p9A0cZ16gQszqhB1B0yJHc9wlRapmpO4ybysLxqLmvEEihvTVtptu3GC98uUPX2iDGnZz11um1AbwYZ2g5fQQrmYy6x2eg__&Key-Pair-Id=APKAIIFZDCEANAVU2VTA",
      "tags": [
        {
          "id": 398,
          "label": "ComingSoon",
          "type": 2,
          "value": [
            "true"
          ]
        }
      ]
    }
  ],
  "masterbatch_pending": [
    60433
  ],
  "masterbatch_payment_ids": {
    "60433": [
      2329324
    ]
  },
  "free_preview_masterbatch": [
    59406
  ],
  "free_preview_masterbatch_payment": {
    "59406": [
      2386769
    ]
  },
  "free_preview_institution_bundle_id": [
    41872
  ]
}

Access: Institute admins and tutors, plus custom roles that can view or list learners. The student must belong to the organization in your ORGID header.

Path parameters
user_idintegerrequired
The student.
Query parameters
1 adds archived_batches: batches the student was archived from.
1 adds expired_courses: courses whose access has expired.
1 adds cancelled_courses: cancelled enrollments.
1 adds last_viewed to each batch: the content the student last opened.
Response200application/json
codeinteger
Example: 200
messagestring
Example: Success
batchesobject[]
Show child attributesHide child attributes
Example: 53044146
Example: Edmingle Academy
Example: 1684972800
Unix timestamps
Example: 1685491200
Example: 1943
Example: 58919
Example: Master Architectural Visualization - Blender - Design
Example: Master Architectural Visualization - Blender - Design
Comma-separated classes
Example: 135640
The course
Example: 41422
Example: MasterArchitecturalVisualization-Blender-Design
Example: 22251
Show child attributesHide child attributes
Example: 0
Example: 0
Percent
Example: 4
Example: 0
Temporary link
batches.tagsobject[]
Show child attributesHide child attributes
Example: 398
Example: ComingSoon
Example: 2
Show child attributesHide child attributes
Show child attributesHide child attributes

Notes: Fails with "student not found in organization" if the student isn't in your organization. Rate limit: 100 requests per minute; going over locks you out for 30 minutes.

Updated yesterday

Ask AI