No video

130 How to read data from api in ssis

  Рет қаралды 17,535

Learn SSIS

Learn SSIS

Күн бұрын

How to read data from api in ssis
Download the file\script used in the Video from below link
drive.google.c...
SSIS Tutorials: • SSIS Tutorials
SSIS real time scenarios examples: • SSIS real time scenari...
SSIS Interview questions and answers: • SSIS Interview questio...
How to read data from api in ssis
Can SSIS connect to an API?
How to pull data from API to database?
How to load data from API to SQL Server?
Happy Learning.
If you have any questions or suggestions please comment on the video or write to me at “aqil33@gmail.com”

Пікірлер: 76
@drummermike5150
@drummermike5150 Жыл бұрын
Thanks for another great tutorial! I love how you showed how to create the classes in ChatGPT!
@learnssis
@learnssis Жыл бұрын
Thank you so much Mike for your continuous support. Yeah we can take help from ChatGPT whenever required. Glad you found the video useful.
@saiabhilash3151
@saiabhilash3151 Жыл бұрын
Bro you are really superb 🙏🙏.I struggled a lot to do this functionality 2 weeks back but u have done in very simple way and hatsoff to you .Most of APIs we use in projects are Authenticated .Could you please make video on calling API with authentication . 1stLevel Authentication Code 2nd level Access token .Also could you pls help us with how do you get C# code for these kind of tasks . I personally know many like me who are surviving in IT only because of your videos .May God bless you and give you back many more times .
@learnssis
@learnssis Жыл бұрын
Thanks so much for your kind words, I am planning to make more videos in future on API. Will see the api those needs authentication. Next video I am planning to make on Google geocoding api.
@Shri-RAM-JaiBajrangBali
@Shri-RAM-JaiBajrangBali 17 күн бұрын
Hi Sai, could you please help me to create the package as the file is not showing which Aakil shown in this video
@fahadalam6899
@fahadalam6899 Жыл бұрын
Thank you so much, mate. I sent you an email a few weeks ago to make a video on API data. Thanks again :)
@learnssis
@learnssis Жыл бұрын
You are most welcome. Yeah I got many requests on this topic to make video on.
@learnssis
@learnssis Жыл бұрын
Sorry I missed to add your email snapshot actually I the snapshot I took from the youtube comment box. I will try to add one from you in next video on api.
@medalatnejad3311
@medalatnejad3311 Жыл бұрын
I can't thank you enough! Your awesome videos have helped me find solutions to every issue I've encountered in SSIS on your channel.thank you, you are a really superb.🙏
@learnssis
@learnssis Жыл бұрын
You are most welcome. Thanks for appreciating.
@reddyabhik
@reddyabhik Жыл бұрын
Finally I got to know how can I use chatgpt and use the code in ssis Thank you for the video upload.
@learnssis
@learnssis Жыл бұрын
Thank you Abhilash, glad you found something useful in the video.
@jennasyeda6613
@jennasyeda6613 Ай бұрын
Superb, really outstanding, kindly make video on fetching data from external API.
@antwanwimberly1729
@antwanwimberly1729 7 ай бұрын
I think one very important thing to note is that you’d want to use something like a prepared statement/parameterized statement for security purposes when interacting with a database instead of string concatenation in the insert statement. This helps avoid SQL Injection.
@learnssis
@learnssis 7 ай бұрын
Yes that is a good point, totally agree with that.
@antwanwimberly1729
@antwanwimberly1729 7 ай бұрын
@@learnssis sure np. Thank you so much for this video. You are the man!! I am starting a new job working with SSIS soon and your videos have saved my life my friend. Thank you!
@user-df1kb7th3v
@user-df1kb7th3v 6 ай бұрын
Excellent explanation as usual, thanks for this video
@learnssis
@learnssis 6 ай бұрын
Thank you Sir.
@NripaEmpowerthroughknowledge
@NripaEmpowerthroughknowledge 7 ай бұрын
thank you for sharing , very useful . looking forward to collaborate with you
@VinitTyagi-iy3kh
@VinitTyagi-iy3kh 19 күн бұрын
Hi Aakil, thanks for the video but i am unable to see the jason file raw data, it showing an error please let mw know how to fix this
@mateusnunes5747
@mateusnunes5747 Ай бұрын
Is it possible to do this without using C# or an external tool?
@harshavardhan6251
@harshavardhan6251 11 ай бұрын
Well done keep uploading more videos sir
@learnssis
@learnssis 11 ай бұрын
Thank you Harsh vardhan for appreciating.
@aka_modern_ashoka3965
@aka_modern_ashoka3965 3 ай бұрын
Can you please let me know how to fetch data from the second URL returned by the API
@tomlee126
@tomlee126 7 ай бұрын
Thanks for the video, but i have a senario on how to loop a parameter (lets say an id or page number ) in the Get request by this method
@learnssis
@learnssis 7 ай бұрын
Can you take a look at this one ? stackoverflow.com/questions/73712612/how-can-i-loop-through-api-response-in-c-sharp
@nareshchowdary6543
@nareshchowdary6543 3 ай бұрын
Great video. Can we achieve this vs 2012 and can't we use web services task in ssis.?
@learnssis
@learnssis 3 ай бұрын
We can use VS 2012 for this. I have not used Web Service task much, although I have a video on how to call a web service task in SSIS, but not sure if we can use that in this particular case.
@saharicreations7384
@saharicreations7384 Жыл бұрын
Sir ssis instalation lo lssu undi konchem solve cheyraa
@alexzir
@alexzir 4 ай бұрын
Great thanks!
@learnssis
@learnssis 4 ай бұрын
Thank you Alex.
@yateeshkandru
@yateeshkandru Жыл бұрын
Thanks for the video, Its super helpful! When you get a chance can you Post Similar video using authentication API. Thanks a lot!
@learnssis
@learnssis Жыл бұрын
Okay, I will see if I found any public api with authentication.
@Teja0709
@Teja0709 3 ай бұрын
Hi Sir, It would be really greatful if you could help me on this I am having a variable in ssis package called response code And doing a post API call in script task in ssis I want to return API response status code in response code ssis variable. I am able to get response status code from API but unable to assign that to ssis variable because it is becoming unaccessible after api call This ssis variable is accessible before api call and unable to access after api call. Any reason please help me resolvethis issue I am actually getting element cannot be found in collection The same element is accessible everywhere before api post call but not after the post call Whats the reason for that How to overcome this
@willywooca
@willywooca Жыл бұрын
Looks like this is for Application Developer that wants to create SSIS package, but for Database Developer we don't normally write C# code, is that a way in SSIS to directly map the API output into database table? Using data transformation within SSIS, instead of using C# to do everything?
@learnssis
@learnssis Жыл бұрын
Unfortunately there is no inbuilt component in SSIS for API.
@yosrabusbait4710
@yosrabusbait4710 10 ай бұрын
Thank you very much for the helpful video, if you can help me I got error when run the package says that “The binary code for the script is not found”
@learnssis
@learnssis 10 ай бұрын
This is a very generic error message. From the script task, Are you able to build the solution ?
@jmat0214
@jmat0214 18 күн бұрын
How about if the json data have an Array? Thank in advance 😊
@learnssis
@learnssis 18 күн бұрын
Yeah not sure about that. I had the similar situation once, so I imported the json into excel and then imported excel into sql server. This can work if you need to import the file only once or couple of times.
@sunilkanukuntla405
@sunilkanukuntla405 9 ай бұрын
Hi I need help on a task. Pls let me know how we can communicate
@teachmeetswithsmeets145
@teachmeetswithsmeets145 7 ай бұрын
Thanks for the great video, I have a problem though with the code. "using Microsoft.SqlServer.Dts.Runtime" and "Dts.TaskResult = (int)ScriptResults.Success" ; give me an error indicating that a reference is missing to the managed data package. I can howevr not find how to six that problem. Do you know what I am missing?
@learnssis
@learnssis 7 ай бұрын
Sorry I am really not sure what might be wrong here. I asked chatgpt the same question and it said to check few things, and somehow that makes sense. If you're encountering an error stating that a reference is missing to the managed data package while using Microsoft.SqlServer.Dts.Runtime, it's possible that the necessary assemblies or references are not properly added to your project. Here are some steps you can take to resolve this issue: Check References: Right-click on your project in the Solution Explorer. Select "Add" -> "Reference..." Navigate to the "Assemblies" or "Browse" tab and ensure that you have added the necessary assemblies for SQL Server Integration Services (SSIS). Look for Microsoft.SqlServer.ManagedDTS or similar. Use NuGet Package Manager: Open the NuGet Package Manager Console. Run the following command to install the SQL Server Integration Services NuGet package: Install-Package Microsoft.SqlServer.ManagedDTS Verify SQL Server Data Tools (SSDT) Installation: Ensure that you have SQL Server Data Tools (SSDT) installed, as it contains the necessary components for SSIS development. Target the Correct .NET Framework: Make sure that your project is targeting a .NET Framework version that is compatible with the SQL Server Integration Services version you are using. Check SQL Server Version Compatibility: Ensure that the version of Microsoft.SqlServer.ManagedDTS you are referencing is compatible with the version of SQL Server you are working with.
@Booleys
@Booleys Жыл бұрын
Awesome! Can you advise a good c# tutorial?
@learnssis
@learnssis Жыл бұрын
Frankly speaking I don't see any C# tutorial videos, thus I am really not sure which C# tutorial videos are good.
@aanchalsrivastava8550
@aanchalsrivastava8550 Жыл бұрын
Going forward plz make video 9n nested replace and nested charindex
@learnssis
@learnssis Жыл бұрын
Sure will do Aanchal.
@vijaysingh-hw9sj
@vijaysingh-hw9sj Жыл бұрын
Thanks such type of video, please make on xml api
@learnssis
@learnssis Жыл бұрын
Sure will try to make a video on xml api as well.
@82ndAirborneTrooper
@82ndAirborneTrooper 6 ай бұрын
How to make call with API Key?
@bruteorrolex9801
@bruteorrolex9801 Жыл бұрын
Awesome! How can i store the json data into a variable so that it can be used in the data flow task
@learnssis
@learnssis Жыл бұрын
It depends from where you are reading the JSON data, if you are reading it from a script task then in the script task itself you can assign it to a variable. Add the variable to a ReadWriteVariableList and set the value as below Dts.Variables["SSISVariableName"].Value = "JSON data";
@bruteorrolex9801
@bruteorrolex9801 Жыл бұрын
@@learnssis Thank you
@maham4062
@maham4062 6 ай бұрын
How send request to rest API and get response back in Ssis. I mean I we send id column as request and get name column as response from API.
@learnssis
@learnssis 6 ай бұрын
Actually you would need to look for the code in C# and then use that code in Script task, although there is web service task in ssis but I don't find it much useful. So you would need to write code in C#, you can take help from chatgpt as well. Every api is different and the code to call every api will be different as well. I am not sure how your api will be called, normally the owner of the api provide some sample code like how you can call their api in .NET or JAVA or something.
@gayathrisharma999
@gayathrisharma999 9 ай бұрын
Hi Can you please make a video, how to call rest api if it is in xml format
@learnssis
@learnssis 9 ай бұрын
At the moment I don't have access to a rest api and also, I am kind of busy at the moment. If you can google the code to call rest api in C# then you can use the same code inside the script component. stackoverflow.com/questions/9620278/how-do-i-make-calls-to-a-rest-api-using-c
@gayathrisharma999
@gayathrisharma999 9 ай бұрын
​@@learnssis Thank you! This helped me
@aravindnaveena5750
@aravindnaveena5750 11 ай бұрын
Can’t you just copy a sample json and paste as json class on visual studio just wondering
@learnssis
@learnssis 11 ай бұрын
Sorry I don't know if that is possible.
@charancharan4429
@charancharan4429 Жыл бұрын
Hi..bro...I have a doubt in Database connection In ssis connection manager I don't have ORACLE provider for OLEDB....I searched based on this issue but no use....please can u make a video...
@learnssis
@learnssis Жыл бұрын
We don't have ORACLE provider for OLE DB. If you want to connect to Oracle from SSIS then you would need to use the ODBC drivers, which then use the ODBC connection manager, ODBC source and ODBC destination to connect and fetch or write data to Oracle.
@charancharan4429
@charancharan4429 Жыл бұрын
@@learnssis so many drivers are in ODBC.. but which one can support
@learnssis
@learnssis Жыл бұрын
@@charancharan4429 You would need to install the ODBC drivers for Oracle from oracle website. And then you would need to create the DSN to connect to Oracle. And finally in the SSIS package in the ODBC connection manager you would use that DSN to connect to Oracle.
@charancharan4429
@charancharan4429 Жыл бұрын
@@learnssis OK.. bro...I will try....
@user-yl3rk3sv5h
@user-yl3rk3sv5h Жыл бұрын
Awesome! How can i use authenticated Api, like username and password
@learnssis
@learnssis Жыл бұрын
Currently I don't have an example for that one. I used Google and Bing api where they need a key to get authenticated but did not tried with username and password. Sorry for that.
@mohamedhusain7807
@mohamedhusain7807 2 ай бұрын
Dear Aqil, Could you please say how to access Sharepoint site from my ssis package?
@learnssis
@learnssis 2 ай бұрын
Hi Mohamed Husain, there is no inbuild component in SSIS to connect to sharepoint site. You would need to write C# code for that or use a third party component. I have unfortunately not worked before with sharepoint thus not sure how to connect with it but you can find help on Google or at youtube or you can ask chatgpt as well to write the code to connect to sharepoint using C#.
@mohamedhusain7807
@mohamedhusain7807 2 ай бұрын
Dear Aqil, First of all, thank you so much for replying. I have reached out to multiple people on KZbin and posted my queries on Stack Overflow and even in the Microsoft community. You're the only one who responded to my message. I will definitely follow your advice and keep you updated on the status. Thanks again!🙂
@learnssis
@learnssis 2 ай бұрын
@@mohamedhusain7807No problem. You can take a look at this url, here they are showing how to download files from sharepoint to local folder stackoverflow.com/questions/58034425/download-file-from-sharepoint-online-using-c-net
@mohamedhusain7807
@mohamedhusain7807 2 ай бұрын
Thanks, Aqil. I tried C# code and found out that the corresponding SharePoint site does not allow outsiders to connect from external connections. We have raised a ticket for the same. Thank you.
@learnssis
@learnssis 2 ай бұрын
@@mohamedhusain7807 Sounds good.
@learner_SSIS
@learner_SSIS Жыл бұрын
awesome sir
@learnssis
@learnssis Жыл бұрын
Thank you Naveen Raja.
Consuming API Data using Built in SSIS Components - Russel Loski
59:03
PASS Data Community Summit
Рет қаралды 18 М.
Гибкость бизнеса через OKR | AgileLAB
1:54:08
а ты любишь париться?
00:41
KATYA KLON LIFE
Рет қаралды 3,6 МЛН
КТО ЛЮБИТ ГРИБЫ?? #shorts
00:24
Паша Осадчий
Рет қаралды 3,7 МЛН
Pull data from API using Python
6:27
The BI Hub
Рет қаралды 41 М.
#11  Net CoreApi SqlDatareader
34:09
Srinivas Mateti
Рет қаралды 36
Why High Performers Might Be Hurting Your Team
6:42
Simon Sinek
Рет қаралды 4,2 М.
How to make API Request in SQL Server | Pt. 1
19:05
Sigma Coding
Рет қаралды 56 М.
SSIS Get Data From API (SSDT 2017)
30:21
Ahmed Boukil
Рет қаралды 24 М.