These docs are for v20.3.44. Click to read the latest docs for v20.3.186.

Discussions

Ask a Question
Back to All

API - Create Username for existing record the unintended consequences

Hi All,

This week I was writing some code to populate usernames/passwords for records which already exist in the system but do not have a user credentials. What a great time to use the API I thought. So i went about it and found that the for iMIS 20.3.90.44742 the Docs were not current and through throwing different parameters at the end point i found that UserID was wanted not ContactKey, very nice to see the docs got updated so quickly once this came out!!

Finding the right combo of JSON was only the beginning, i had been able to create usernames/passwords and login just fine! great, grand , wonderful!

Testing out the password reset functionality for these records led me to the next issue, I could login, yet when i try and reset my password i never get an email??
I tried the forgot username functionality i got a email but it stated no username was found on the system.
Weird?

I removed the credentials via staff site, then created them via staff site, both worked fine.
So i removed the credentials and created them via the API, they show in the staff site, i can login.

But password reset and forgot username do not detect Credentials created in this manner. I did a search and could not find anything related to this.

Any ideas on this? Could it be a bug in the creation of the username?