FindMemberByPhone


The FindMemberByPhone API provides listener’s contact information and the recent activity data

Parameters

  • siteID– Numeric identifier of the Site in the Frankly Media database
  • phoneNumber– Member’s phone number in the following format xxx-xxx-xxxx. The API accepts work number, home number or mobile number
    partnerName
  • 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(siteID + phoneNumber + shared secret). For the generic example refer to this article.

How to call

URL Format: https://api.enticent.com/Subscriptions.svc/FindMemberByPhone/{siteID}/{phoneNumber}/{partnerName}/{token}. https://api.enticent.com/Subscriptions.svc/FindMemberByPhoone/718/999-999-9999/partner/6D-E9-9A-B6-73-D8-10-79-BC-4F-EE-51-A4-84-15-D8

Return Value

The following XML structure is returned in the success scenario:

<member xmlns=”http://schemas.datacontract.org/2004/07/ListenerAPI.DataObjects” xmlns:i=”http://www.w3.org/2001/XMLSchema-instance”>
<memberID>10538238</memberID>
<firstName>Brooks</firstName>
<lastName>O’Brian</lastName>
<dob>1950-01-01T00:00:00</dob>
<homePhone>999-999-9999</homePhone>
<workPhone />
<mobilePhone />
<address1 />
<address2 />
<city />
<state />
<zipCode>30144</zipCode>
<email>[email protected]</email>
<gender>M</gender>
<siteID>718</siteID>
<LastLogin>2009-02-24T22:53:00</LastLogin>
<TotalPoints>1000</TotalPoints>
</member>