Background:
We are currently using a system for Continuing Education that creates a new user in Canvas with an SIS ID regardless of whether that user's email already exists on an account. I have a script that runs and merges these accounts when they are created based on email so that users can access all their courses from either login with the default account being the oldest account.
Problem:
We have students at our University who are also Continuing Education students, and we rely on their University SIS ID to connect them to our SIS when running reports. However, when I pull users from the API, Canvas may return their Continuing Education SIS ID rather than their University SIS ID.
Question:
How can we select which SIS ID is returned, or at least pull both into my report from the API?