Developer Forum [ All Topics | New Topic ]

Thread: Round CSV Download Data Using Tickit

Not Working

>> add a comment
01/08/2014 08:02

5 Replies:

You have to call the authentication first, and add the authentication ticket to the URL. You can even do this manually. Go here to get the ticket: Add this to the URL above, and it should work. If you want to download in one request, you can add your username and password to the POST data to the URL: For example see this:

>> add a comment
Leo Muller
1/8/2014 8:09:00 AM
Not Working ..................

           Dim requestUriString As String = ""
            Dim request As WebRequest = WebRequest.Create(requestUriString)
            request.Method = "POST"
            request.ContentType = "application/x-www-form-urlencoded"
            Dim requestStream As Stream = request.GetRequestStream()
            SetControlPropertyValue(lblObjectName, "Text", "Authenticating . . .")
            Dim s As String = ("username=" & UserId & "&password=" & Password)
            Dim bytes As Byte() = Encoding.ASCII.GetBytes(s)
            requestStream.Write(bytes, 0, bytes.Length)
            SetControlPropertyValue(lblObjectName, "Text", "Downloading Rapaport . . .")
            Dim reader As New StreamReader(request.GetResponse.GetResponseStream())
            Dim str4 As String = reader.ReadToEnd
            ''---- for Round
            'Dim str1 As String
            'str1 = "" & str4
            SetControlPropertyValue(lblObjectName, "Text", "Downloading Rapaport for Round . . .")
            request = WebRequest.Create(("" & str4))
            request.Method = "GET"
            Dim reader2 As New StreamReader(request.GetResponse.GetResponseStream)

>> add a comment
1/8/2014 8:42:00 AM
The code looks good to me.

First try to go manually to this page:

That will solve the question if you pass authentication.

For the code above, do you get a response?

>> add a comment
Leo Muller
1/8/2014 8:48:00 AM 

Download Ticket Succesfully But Pass Ticket this Link

Data Not Found.... 

>> add a comment
1/8/2014 8:53:00 AM
You need to re-activate your subscription (yours expired)

>> add a comment
Leo Muller
1/9/2014 2:09:00 AM