@rancho If you use the Provisioning Report, rather than the SIS Export then you will get the Canvas IDs of the users included in the export.
I don't think you can use the `search_term` parameter to search for users who just have enrolments in a term with an ID of 150. Looking at the documentation: https://canvas.instructure.com/doc/api/users.html#method.users.api_index it says about the search_term:
The partial name or full ID of the users to match and return in the results list. Must be at least 3 characters.
Note that the API will prefer matching on canonical user ID if the ID has a numeric form. It will only search against other fields if non-numeric in form, or if the numeric value doesn't yield any matches. Queries by administrative users will search on SIS ID, login ID, name, or email address
So I expect it's matching "150" in a different ID on the user and not in the term associated with the user's enrolments on courses.