Celebrate Excellence in Education: Nominate Outstanding Educators by April 15!
I am trying to add additional contact methods to user profiles using the API. In the SIS import documentation, there are no field names for additional email addresses or phone numbers. Is there anyway this can be done?
Thank you
Solved! Go to Solution.
You can create communication channels, adding email address or phone number.
Communication Channels - Canvas LMS REST API Documentation
Additionally, you can set the frequency of those notification channels, by masquerading.
Notification Preferences - Canvas LMS REST API Documentation
Ruby sample here, May 1, 2018 3:53 PM
You can create communication channels, adding email address or phone number.
Communication Channels - Canvas LMS REST API Documentation
Additionally, you can set the frequency of those notification channels, by masquerading.
Notification Preferences - Canvas LMS REST API Documentation
Ruby sample here, May 1, 2018 3:53 PM
Sort of off topic - is there a way to get the :user_id by their SIS ID?
Thank you
Maybe...
/api/v1/accounts/self/users?search_term=XYZ&sort=sis_id
Users - Canvas LMS REST API Documentation
Haven't used that for my own workflow, but looks right.
https://community.canvaslms.com/message/115040-re-handling-pagination
You shouldn't have to in most cases as sis id's can be substituted for the canvas id.
Object IDs, SIS IDs, and special IDs - Canvas LMS REST API Documentation
Given sis_user_id supports substitution, the quickest way to get the canvas id then would just to call the user details using the sis_user_id as a substitute for the id and you will get the user object back that includes the Canvas user id.
To participate in the Instructure Community, you need to sign up or log in:
Sign In
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.