Page 1 of 1

Put for the oduser table

Posted: Tue Dec 27, 2022 10:10 am
by rdillman
We have a case where billing users need to have a user created for all of our locations.
We create a name specific user per location they have access to. This is quite cumbersome for our IT dept.
When I noticed the Open Dental API I was hoping to fix this problem.

Currently the only access through the api is GET/POST. I would love to see a PUT request so we can hide the user for all locations in a faster manner than we do currently.

Thanks for considering this change :)

Re: Put for the oduser table

Posted: Tue Dec 27, 2022 10:19 am
by SLeon
Good morning,

Yes, we can create a PUT method for the UserODs resource. I have added this to our development list.

Re: Put for the oduser table

Posted: Fri Feb 10, 2023 3:43 pm
by JTS
A new method, Userods PUT, has been added. This method will allow you to update an existing userod. Fields that can be modified include EmployeeNum, ProviderNum, ClinicNum, and IsHidden. For more information, see https://www.opendental.com/site/apiuserods.html

This method is available as of beta version 22.4.20.

Re: Put for the oduser table

Posted: Thu Oct 10, 2024 10:12 am
by rgibbons
Hello there, I work with rdillman and we have another small addition that we would like to add to this PUT method. When hiding the users, we tend to like to change their group as well to a group that has no rights, however this is especially important for some of our groups that have the Setup permission and "admin" abilities. We are unable to mark those employees as hidden because you cannot mark an admin as hidden.

Can we add the ability to specify the UserGroupNum as well on the POST, like the PUT has available so that we can change the group as well as mark hidden at the same time?

Thank you for taking the time to look at this request!

Re: Put for the oduser table

Posted: Fri Oct 11, 2024 12:57 pm
by justine
rgibbons wrote:
Thu Oct 10, 2024 10:12 am
Hello there, I work with rdillman and we have another small addition that we would like to add to this PUT method. When hiding the users, we tend to like to change their group as well to a group that has no rights, however this is especially important for some of our groups that have the Setup permission and "admin" abilities. We are unable to mark those employees as hidden because you cannot mark an admin as hidden.

Can we add the ability to specify the UserGroupNum as well on the POST, like the PUT has available so that we can change the group as well as mark hidden at the same time?

Thank you for taking the time to look at this request!
Good afternoon rgibbons,

It looks like you can currently specify the UserGroupNum in the POST, but cannot in the PUT. I think what you're asking for is an enhancement to the PUT, not the POST?

I will add looking into this enhancement for you, to our API development list. As you mentioned, there are a few rules when it comes to changing user groups and permissions. (You cannot hide the Admin, etc.)

Thanks!

Re: Put for the oduser table

Posted: Fri Oct 11, 2024 1:07 pm
by rgibbons
Hi Justine,

Yes, that is what I am requesting, the ability to specify the (effectively new) UserGroupNum on the PUT.

Thank you for your response!

Re: Put for the oduser table

Posted: Wed Oct 23, 2024 12:37 pm
by rgibbons
Hello again,

Another part of this request, can you also add the ability to "check" the box with an API call (both PUT and POST) so that it prompts the users to reset their password on login? "Require Password Reset: Check to prompt the user to reset their password upon logging in."

Re: Put for the oduser table

Posted: Wed Oct 23, 2024 2:16 pm
by justine
rgibbons wrote:
Wed Oct 23, 2024 12:37 pm
Hello again,

Another part of this request, can you also add the ability to "check" the box with an API call (both PUT and POST) so that it prompts the users to reset their password on login? "Require Password Reset: Check to prompt the user to reset their password upon logging in."
Good afternoon rgibbons,

I have added the ability to set userod.IsPasswordResetRequired to the API development list.

Thanks!

Re: Put for the oduser table

Posted: Wed Oct 23, 2024 6:34 pm
by rgibbons
Thanks justine! Any possibility of these get done before mid-December?

Re: Put for the oduser table

Posted: Fri Oct 25, 2024 3:05 pm
by justine
rgibbons wrote:
Wed Oct 23, 2024 6:34 pm
Thanks justine! Any possibility of these get done before mid-December?
Good afternoon rgibbons,

API feature requests are processed in the order they are received. We will update this thread when the request is complete.

Thanks!

Re: Put for the oduser table

Posted: Wed Oct 30, 2024 10:12 am
by rgibbons
Good afternoon Justine,

Me again, can we add UserGroupNum to the GET request as well? Purpose would be to get which group(s) a user is currently in.

Thanks!
rgibbons

Re: Put for the oduser table

Posted: Fri Nov 01, 2024 3:27 pm
by justine
rgibbons wrote:
Wed Oct 30, 2024 10:12 am
Good afternoon Justine,

Me again, can we add UserGroupNum to the GET request as well? Purpose would be to get which group(s) a user is currently in.

Thanks!
rgibbons
Hello rgibbons,

I believe what you are looking for is UserGroupAttaches GET. Supply a UserNum and that endpoint returns the usergroups associated with the user.

Thanks!

Re: Put for the oduser table

Posted: Mon Nov 04, 2024 5:55 am
by rgibbons
Hi justine!

Thank you, that is what I was looking for!

rgibbons

Re: Put for the oduser table

Posted: Thu Mar 27, 2025 3:37 pm
by RyanH
rgibbons wrote:
Thu Oct 10, 2024 10:12 am
Hello there, I work with rdillman and we have another small addition that we would like to add to this PUT method. When hiding the users, we tend to like to change their group as well to a group that has no rights, however this is especially important for some of our groups that have the Setup permission and "admin" abilities. We are unable to mark those employees as hidden because you cannot mark an admin as hidden.

Can we add the ability to specify the UserGroupNum as well on the POST, like the PUT has available so that we can change the group as well as mark hidden at the same time?

Thank you for taking the time to look at this request!
Hello rgibbons,

The ability to update userGroupNums has been added to the userod PUT endpoint in version 25.1.10. This field is also returned in userods GET. For more information, see userods PUT.

Thanks!