SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SSIS and Import/Export (2008)
 SSIS - REST-API - Send data
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

msbikk
Starting Member

1 Posts

Posted - 05/07/2014 :  09:45:10  Show Profile  Reply with Quote
Hi Gurus,

I'm trying to implement data passed from SQL database to REST API using SSIS.

Background:
------------

The REST API takes 3 parameters as input and this input is supplied via output from a sql query which will return me 10 records from my database.
I have a web service with the help of a method in it performs specific task. Once the tasks are complete it gives an output of ID.

So far:
-------

what I have done is built a package having Execute SQL task to generate the 10 records, followed by the Foreach Loop Container passing the 10 records to loop which contains the Script Task to connect to the Webservice. Further if Web Service is successful I will use the output to update a table with the ID for the 10 records.

My Question is:
How to get the result of the SQL query and input it to the REST API? I want to make this possible for one record for now. If this works then I will loop the 10 records.

Regards,
KK
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000