GetStationInfo


The GetStationInfo API provides information about the site

Parameters

  • 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/ GetStationInfo/{siteID}/{partnerName}/{token}. https://api.enticent.com/Subscriptions.svc/GetStationInfo/150/v20d20/7E-F6-05-FC-8D-BA-54-25-D6-96-5F-BD-4C-8F-BE-1F

Return Value

The following XML structure is returned in the success scenario:

<site xmlns=”http://schemas.datacontract.org/2004/07/ListenerAPI.DataObjects” xmlns:i=”http://www.w3.org/2001/XMLSchema-instance”>
<siteId>150</siteId>
<callLetters>WZLX</callLetters>
<siteName>WZLX’s Rockin’ Rebate</siteName>
<regUrl>wzlx.listenernetwork.com/asp2/Register.aspx</regUrl>
<emailAsLogin>false</emailAsLogin>
<usePointsUrl>wzlx.listenernetwork.com/asp3/getpoints.aspx</usePointsUrl>
<earnPointsUrl>wzlx.listenernetwork.com/asp3/usepoints.aspx</earnPointsUrl>
<ExSiteCode></ExSiteCode>
<PointsTitle>points</PointsTitle>
<PrivacyUrl>wzlx.listenernetwork.com/asp2/information/privacy.aspx</PrivacyUrl>
<ForgotPassUrl>wzlx.listenernetwork.com/asp3/forgotpassword.aspx</ForgotPassUrl>
</site>

Remarks

The ’emailAsLogin’ attribute in the returned xml structure indicates whether email or user-generated login name is used for member authentication