When getting a list of user objects via the API why is integration_id not included? or is there a way of including all properties in this returned user object?

Jump to solution
l_dellar
Community Participant

When getting a list of user objects using the API below:

/api/v1/accounts/:account_id/users


we get something like this returned:


{

                "id": 1000001,

                "name": "Adam Example",

                "sortable_name": "Example, Adam",

                "short_name": "Adam Example",

                "login_id": "aexample"

}


Is there a way of including other full user details in the return json of this such as integration_id, much like the example API user object on the API documentation page here?

Users - Canvas LMS REST API Documentation  


Thanks

Labels (1)
0 Likes
1 Solution
l_dellar
Community Participant
Author

Thanks all for your help, yeah as you have suspected this seems to be due to the fact we are importing via the API instead of doing a SIS import. When manually adding a SIS ID to a user and then listing them we get all the details we require. 

We presume this is just how it's done, as in our case we are using the integration_id as a secondary identifier due to the way our users are stored so if we don't have a SIS ID we don't get this.

Again, thanks for your help.

View solution in original post