Is there any way to get sis_course_id on dashboard in canvas without using api?
Getting the course details including the sis_course_id for the users is simply the `/api/v1/courses` call the course object will include the `sis_course_id` (if included) From there you can filter by the SIS ID that you want to target.
The sis_course_id (on the dashboard) does not appear to be exposed in any way. You will have to use the API.
If you only have a user's SIS ID and want to get a list of their courses, you need to query the users API, find the SIS ID, get the Canvas ID, and then query the API for that user's courses using the Canvas ID.
Umesh, because of the highly technical and specialized nature of this question, I've shared it with the Canvas Admins and Canvas Developers groups; if you're not yet a member of those groups, it only takes a few clicks to join (navigate to the group, click on the Actions menu at the top right, and select Join Group). Once you're a member of a group, you can post questions directly to the group if you wish.
You could make it part of the course name when you create the courses.
But I want this in hidden field. Don't want to show id to user.
Hi Misty morgan,
To answer your question: the SIS ID is not included on the dashboard page (even in the ENV).
Would you mind explaining what you're trying to accomplish if you don't want to use the API and you don't want the ID visible to the user? I bet we can help you
Thanks to answer
I want to get course detail or list of courses of user using sis_course_id or sis_user_id using api of canvas. But I also want sis_course_id or sis_user_id without calling api.
Thanks to answer my question
If I call api for getting list of courses of a user ,it does not return sis_course_id ,even I am using access_token.Please help.
How can get list of courses of a user which also returns sis_course_id for any role of user?
I want to get the course_sis_id of all the courses in which the user is enrolled i am using the API "/api/v1/users/2/courses".
This API is returning course_sis_id only when i call it by using the admin userid but if i call it by using th student user id it is not giving course_sis_id. I tried to call it by using admin token also but it is not giving course_sis_id in this case too. Please suggest any way by which i can get the course_sis_id of the courses for the student.
Krishnapal, since you have also posted this question in Get sis_course_id in list of courses , and so that we can avoid duplication of effort and keep responses to specific questions unified in a single thread, I'm locking this topic for additional participation. New responses should be directed to the above-linked question.
Retrieving data ...