Found this content helpful? Log in or sign up to leave a like!

sis_course_id do not included in course with enrollment_state is completed

VinhHo3010
Community Member

Hi Everyone

I'm integrating an LTI tool using Canvas API
In our use case, we want to get the sis_course_id of a student when using `url:GET|/api/v1/users/:user_id/courses` but when I tried to get the course with 

"enrollment_state": "active" it has sis_course_id but the another with "enrollment_state": "completed" which has a term has been ended and it do not have sis_course_id included with it
 
But when I tried to use admin token that generate in setting both of them has sis_course_id with it
Do anyone have any suggestion for it?
Thank you
Labels (1)
0 Likes