Hi all
I hope this is a very simple question!
Is there a way to identify via the API whether an email address has a temporary web login status? We need to give people with newly created web logins a prompt to reset their passwords.
An example:
A new customer books by phone,. We take an email address and set up a temporary web login for them. When they next try to book online using the same email address, they won't know their password (they probably forgot to reset it from the automatic email sent at the point of account creation, or even forgot that we set an account up for them). We want to be able to identify the email as having a temporary status, and to offer them the password reset option instead of asking for the password.
many thanks for your help
Alison AtkinsonLondon Philharmonic Orchestra
Hi Alison,
This looks like a two step operation. First retrieve the constituent id using this Request
HTTP GET CRM/Constituents/Search?type=fluent&q=<email address>
Then if there is a constituent record returned, use the constituent id to retrieve the Web Login record
HTTP GET CRM/WebLogins?constituentId=2684
-Sam
Hi Sam
Thanks so much! Can't believe I forgot to include the vital info that we're still using the SOAP API..... Is there any hope for us?
best wishes
Alison
Hi Alison -
We use the SOAP API. I think if I'm looking at our code correctly, we use this call:
LoginInfo
When I pull up my record it gives me this:<status>P</status>
If it was a temporary record it would say <status>T</status>
If that's not working, I can pull apart our web code a bit more to fully confirm.
Eric MuellerWebmaster & Social Media GuyScience Museum of Minnesota
Hi Eric
Many thanks for your help. Our web developer tells me that this can only be used once someone has logged in - which doesn't work for what we want to do (Which is to identify temporary logins before someone logs in).
So it seems that we need to go down the custom procedure route to get to the info we need.
AlisonLondon Philharmonic Orchestra