Optional Search Parameter for API GET All Users Endpoint
complete
M
Michiel van der Veeken
I propose an enhancement to the existing API v1 "Get All Users" endpoint by introducing an optional parameter for user filtering. This parameter would allow the API to return a shortened, filtered list of HelloID users, significantly improving performance in large environments by bypassing the native user data source or user selector form element, which can be slow.
The new optional parameter will conduct searches within the following user fields:
- Firstname
- Lastname
- Username
- Contact email
This feature is intended as a temporary workaround to improve the efficiency of the user selector form element and is not meant to replace the native user data source or serve as a final solution. For more context, please refer to the related discussion: https://helloid.canny.io/service-automation/p/internal-user-selector-is-slow
M
Michiel van der Veeken
Twan Duvigneau We have released an update to the API V1 get all users end-point. Now you can optionally provide a searchvalue. See docs: https://apidocs.helloid.com/docs/helloid/041932dd2ca73-get-all-users. This improves the performance significant. We have also added a PowerShell code snippet into the data source snippet library "HelloID - User account search". Hope this will help you at this moment for a better performance. Please let me know if you have any additional feedback.
Twan Duvigneau
Michiel van der Veeken Hi Michael, i finally got around to implementing this solution, the speed is all good now! The only thing we are currently missing would be to use the search value of a drop down field in the data source configured in the drop down field. That would eliminate the need of a grid field in combination with the text input field :)
M
Michiel van der Veeken
Twan Duvigneau Thank you for the update. Happy to hear you have a working solution. I will keep your other feedback item (regarding the user selector form element itself) open for now.
M
Michiel van der Veeken
complete
Released in HelloID 2024.06
M
Michiel van der Veeken
planned
Planned for 2024.07 release