cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
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

Accepted Solutions
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

3 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...

View solution in original post

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.