| gif | history | intraday | java | news | objects | options | quote | soap | spots | tickers | weather | end of day | wddx |

Requests:
 Headlines
 Symbol News
 Category News
 Most Actives
 Summary Teaser
 Summary
Sample Code:
 Coldfusion
 ASP
 JSP
 PHP
 Perl
 
About Finwin News (Category News)

Finwin News (Category News) returns a WDDX structure recordset with 5 categories with 5 headlines under each category. The categories returned are:
  • Commodities

  • Economy

  • FeaturedArticles

  • International

  • LatestHeadlines

  • Each structure also contains the storyID that you can use to link to the full text of the headline. The date the headline was added. The headline itself and a lable that can be used as a shortened text link.
    Required Parameters
    URL = http://www.finwin.com/processct/processnewstag.cfm Username = myUsername
    Password = myPassword
    Id = myFinWinID
    Request = CatNews
     
    Optional Parmeters
    Type - Query | Array (Default = Query)
     
    Example WDDX and XML Packets
    Query example
    Array example
     
    Cold Fusion Example
           <cf_finwinnews
    	request="CatNews"
    	type="Query"
    	queryname="GetHeadlines"
    	username="myUsername"
    	password="myPassword"
    	id="1183">
    	
    <cfif IsStruct(GetHeadlines)>
    
      <Cfloop list="#structkeylist(GetHeadlines)#" index="x">
         <cfoutput>#x#	=    #evaluate('GetHeadlines.' & x)#</cfoutput>
      </CFLOOP>
    
    </cfif>
    ASP Example
    Request_POST = 	1
    Set HttpObj  = Server.CreateObject("SOFTWING.AspTear")
    FinwinURL 	 = "Http://www.finwin.com/processCT/ProcessNewsTag.cfm"
    
    PostData = "username=MyUserName&password=mypassword&id=1183&request=catnews&type=query"
    
    content = HttpObj.Retrieve(FinwinURL, Request_POST,PostData, "", "")
    Response.write(content)

    DTN Market Access
    9110 West Dodge Road, Suite 200   Omaha, Nebraska 68114
    Copyright 2010, All rights reserved