Click here to Skip to main content
15,885,782 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Hi ,

I am given an assignment to bring in the data from vorne XL devices to SQL server 2008 r2.

Only information available on the device manual is to use:
POST /sql-request.do HTTP/1.0
Content-Length: 141
response_type=application/json&sql_statement=select sequence_number, start_time
from timeline_stream order by sequence_number desc limit 5;

I am not familiar with the http post or web-service API access.

If I have to bring in data on an hourly basis into SQL server which is the best approach.

Is this done on a .net web application??

Is it possible to schedule a job in SQL to run a windows or console app to bring in data??
Where do I start??
Please help
Jasmin.
Posted
Updated 29-Oct-18 7:57am
v2
Comments
RedDk 24-Oct-13 12:23pm    
Like this?

http://www.codeproject.com/Articles/1915/Screen-Scraping-with-C-for-ASP-NET

Create a Windows Service and for the specific time interval do a HTTP Post Request to get the data.

Refer this article to know more about HTTP WebRequest

http://msdn.microsoft.com/en-us/library/debx8sh9.aspx[^]
 
Share this answer
 
Hello, I know it is an old post, but I was giving the same assigment.

How did you connect to the boards? by a time schedule of did you find another way?

Thanks
 
Share this answer
 
Comments
Richard Deeming 30-Oct-18 11:32am    
If you want to ask a question, then ASK A QUESTION[^]. DO NOT post your question as a "solution" to someone else's question!

And make sure you read the posting guidelines first - you're going to need to provide a lot more information than you have here if you want anyone to be able to help you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900