RecoverCredentials


The RecoverCredentials API emails member’s user name and password to the specified address.

Parameters

  • emaill– Email address of the member. It is used to verify the member account before the credentials are emailed to the member
  • siteID– Numeric identifier of the Site in the Frankly Media database
  • partnerName – Unique identifier of the 3rd party calling the API. Provided by Frankly Media
  • token – An encrypted string constructed using the passed-in parameters and the partner-specific “shared secret” provided by the Frankly Media. Unless requested differently by the partner, the MD5 hashing algorithm is used to produce the token. For the purpose of this call the following formula should be used: md5(memberID + shared secret). For the generic example refer to this article.

How to call

URL Format: https://api.enticent.com/Subscriptions.svc/RecoverCredentials/?email={email}&siteID={siteID}&partnerName={partnerName}&token={token}. https://api.enticent.com/Subscriptions.svc/RecoverCredentials/[email protected]&siteID=123&partnerName=partner&token=57-B7-02-FD-0F-FB-9B-50-77-FB-A2-7C-57-07-34-37

Return Value

If the passed-in email corresponds to the member record, the system will send an email to the specified email address and respond with the following message

<SynchInfo xmlns=”http://schemas.datacontract.org/2004/07/ListenerAPI.DataObjects” xmlns:i=”http://www.w3.org/2001/XMLSchema-instance”>
<messageText>Credentials were sent to [email protected]</messageText>
</SynchInfo>

In the case of failure the following message format will be returned:

<SynchError xmlns=”http://schemas.datacontract.org/2004/07/ListenerAPI.DataObjects” xmlns:i=”http://www.w3.org/2001/XMLSchema-instance”>
<messageText>Error details.</messageText>
</SynchError>