mmitchell
Community Contributor

Does a self-enrollment account report exist

Jump to solution

How do you do, fellow admins?

Has anyone found a report to see which courses are set to self-enrollment in an account?

I can get a course via API that reflects its "open enrollment" and "self-enrollment" status but not for an account. Canvas data doesn't list it either, only if the course is public.

Thanks for any ideas you have!

Mike

1 Solution
llawson
Community Contributor

I was going to suggest this. It doesn't seem that the API call for listing all courses inside an account (see below) supports returning the self enrollment attribute.

GET /api/v1/accounts/:account_id/courses

Instead loop through all the course ids with the following API call:

GET https://school.instructure.com/api/v1/accounts/:account_id/courses/:course_id?include[]=self_enrollm...

View solution in original post

5 Replies
dgrobani
Community Champion

Is writing a program to request all the courses for an account, loop through them, and look at the enrollment status of each course something that's possible for you?

llawson
Community Contributor

I was going to suggest this. It doesn't seem that the API call for listing all courses inside an account (see below) supports returning the self enrollment attribute.

GET /api/v1/accounts/:account_id/courses

Instead loop through all the course ids with the following API call:

GET https://school.instructure.com/api/v1/accounts/:account_id/courses/:course_id?include[]=self_enrollm...
mmitchell
Community Contributor

dgrobani‌ and llawson‌, thank you for these suggestions!

I am able to run a script. I was hoping there was a secret report somewhere but this will get the job done.

I appreciate your help.

jon_stocker
Community Participant

Can we get an Instructure crafted sort tool on the radar?

0 Kudos

@jon_stocker...

You could submit this as a Feature Idea here in the Community...or if there was a Feature Idea already created that is similar to what you're looking for, you could participate in that conversation and give the idea a star rating.  (Feature Ideas are just one of the many ways that Instructure gets feedback from users, by the way.)

Hope this will help a bit.  Take care...be well.

0 Kudos