Pull or View Current Enrollments

Jump to solution
msanders
Community Contributor

Is there an easy way to pull or view a user's active (as in current) enrollments?  The only way I have found is to run an enrollments report for each active term.  Due to the change with the grading period setup, we have 3 active terms so I have to pull 3 reports. It just seems like there ought to be an easier way to get a list of current enrollments, particularly when I'm only interested in the enrollments for a handful of users.  

Labels (1)
1 Solution
garth
Community Champion

 @msanders ​ are you familiar with the API?

Try this API call and see if it gets you what you are looking for:

Enrollments - Canvas LMS REST API Documentation

Here is an example of the syntax:

https://yourschool.instructure.com/api/v1/users/1234/enrollments?state[]=active

You will need the user id for each student you want to report on, and make the API call for each student.

Also keep in mind you will be receiving raw json data, so you will need to create your own report format.

I hope this helps.

View solution in original post