{"id":1747,"date":"2017-08-30T17:06:31","date_gmt":"2017-08-30T17:06:31","guid":{"rendered":"http:\/\/zappysys.com\/blog\/?p=1747"},"modified":"2023-03-21T06:31:16","modified_gmt":"2023-03-21T06:31:16","slug":"loading-data-from-rest-api-to-sql-server-in-ssis","status":"publish","type":"post","link":"https:\/\/zappysys.com\/blog\/loading-data-from-rest-api-to-sql-server-in-ssis\/","title":{"rendered":"How to load JSON \/ REST API to SQL Server in SSIS"},"content":{"rendered":"<h2>Introduction<\/h2>\n<p><a href=\"\/\/zappysys.com\/blog\/wp-content\/uploads\/2017\/09\/api-180x180.png\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-1854 alignleft\" src=\"\/\/zappysys.com\/blog\/wp-content\/uploads\/2017\/09\/api-180x180.png\" alt=\"\" width=\"121\" height=\"121\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2017\/09\/api-180x180.png 180w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2017\/09\/api-180x180-150x150.png 150w\" sizes=\"(max-width: 121px) 100vw, 121px\" \/><\/a>REST API is becoming the most popular way to communicate between multiple systems. In this blog post you will learn how to <strong>read data from JSON REST API<\/strong>\u00a0or <strong>JSON File<\/strong> and <strong>import API to SQL Server\u00a0Table\u00a0<\/strong>(or any other target e.g. Oracle, MySQL, Flat File). We will use drag and drop approach (yes no coding !!!)\u00a0 so in just few clicks you can extract data from API and load into SQL Table.<\/p>\n<p>For demo purpose we will read JSON format using\u00a0<a href=\"\/\/zappysys.com\/products\/ssis-powerpack\/ssis-json-file-source\/\" target=\"_blank\" rel=\"noopener\">SSIS JSON \/ REST API Source<\/a>\u00a0but techniques listed in this article can be applied same way to read other formats such as XML or CSV. To read XML API or File use <a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-xml-source\/\" target=\"_blank\" rel=\"noopener\">SSIS XML API \/ File Source<\/a>. If your API returns CSV format\u00a0 then use <a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-csv-file-source-flat-file-web-api\/\" target=\"_blank\" rel=\"noopener\">CSV API \/ File Source<\/a>. Again all these connectors can read from local file or REST API. Changing source path from URL to local file path will refresh the UI options.<\/p>\n<h2><span id=\"Prerequisites\">Prerequisites<\/span><\/h2>\n<p>Before we look into Step-By-Step section to read REST API data in SSIS let\u2019s make sure you met following requirements.<\/p>\n<ol>\n<li>SSIS designer installed.\u00a0Sometimes it is referred as BIDS or SSDT (<a href=\"https:\/\/docs.microsoft.com\/en-us\/sql\/ssdt\/download-sql-server-data-tools-ssdt\" target=\"_blank\" rel=\"noopener\">download it from Microsoft site<\/a>).<\/li>\n<li>Basic knowledge of SSIS package\u00a0development using\u00a0<em>Microsoft SQL Server Integration Services<\/em>.<\/li>\n<li><a href=\"\/\/zappysys.com\/products\/ssis-powerpack\/\" target=\"_blank\" rel=\"noopener\"><em>ZappySys SSIS PowerPack<\/em>\u00a0installed<\/a>. Click on the link to download FREE trial.<\/li>\n<li>You have basic familiarity with REST API.<\/li>\n<li>Obtain help file for API you trying to call. API reference usually contains very useful information about following things<\/li>\n<\/ol>\n<h2>REST API Concepts<\/h2>\n<p>At high level calling REST API consist following things. You don&#8217;t have to understand all to get started but more you learn about each category is very useful.<\/p>\n<ol>\n<li>Find out correct API URL to call your action\u00a0 (e.g. \/getSingleOrder,\u00a0 \/getAllOrders )<\/li>\n<li>Request Type (e.g. GET \/ POST \/ PUT \/ DELETE )<\/li>\n<li>Authentication \/ Security requirement (How to pass credentials)<\/li>\n<li>Parameters (pass via URL \/ Body or Header)<\/li>\n<li>HTTP Headers<\/li>\n<li>Pagination (How to <a href=\"https:\/\/zappysys.com\/blog\/ssis-rest-api-looping-until-no-more-pages-found\/\" target=\"_blank\" rel=\"noopener\">loop through all records<\/a> when response doesn&#8217;t include all records)<\/li>\n<li>API Error Handling (Capturing error or continue on certain error)<\/li>\n<li>API Limits (API call limit \/ Size restriction \/ API throttling )<\/li>\n<\/ol>\n<p>API can be public or it may have some sort of authentication requirement. We have documented many <a href=\"https:\/\/zappysys.com\/blog\/category\/api-integration\/\" target=\"_blank\" rel=\"noopener\">API integration scenarios here<\/a> if you like to learn more.<\/p>\n<h2>Video Tutorial<\/h2>\n<div class=\"lyte-wrapper fourthree\" style=\"width:480px;max-width:100%;margin:5px auto;\"><div class=\"lyMe\" id=\"WYL_aO8cVRyCBWw\"><div id=\"lyte_aO8cVRyCBWw\" data-src=\"https:\/\/zappysys.com\/blog\/wp-content\/plugins\/wp-youtube-lyte\/lyteCache.php?origThumbUrl=%2F%2Fi.ytimg.com%2Fvi%2FaO8cVRyCBWw%2Fhqdefault.jpg\" class=\"pL\"><div class=\"tC\"><div class=\"tT\"><\/div><\/div><div class=\"play\"><\/div><div class=\"ctrl\"><div class=\"Lctrl\"><\/div><div class=\"Rctrl\"><\/div><\/div><\/div><noscript><a href=\"https:\/\/youtu.be\/aO8cVRyCBWw\" rel=\"nofollow\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/plugins\/wp-youtube-lyte\/lyteCache.php?origThumbUrl=https%3A%2F%2Fi.ytimg.com%2Fvi%2FaO8cVRyCBWw%2F0.jpg\" alt=\"\" width=\"480\" height=\"340\" \/><br \/>Watch this video on YouTube<\/a><\/noscript><\/div><\/div><div class=\"lL\" style=\"max-width:100%;width:480px;margin:5px auto;\"><\/div><\/p>\n<h2>Configure SSIS JSON Source to Read from REST API or local File<\/h2>\n<p>Now let&#8217;s look at example in SSIS. We will read data from sample API using\u00a0<a href=\"\/\/zappysys.com\/products\/ssis-powerpack\/ssis-json-file-source\/\" target=\"_blank\" rel=\"noopener\">SSIS JSON \/ REST API Source Connector<\/a>. Our sample API doesn&#8217;t have any credentials so you can easily play with it.<\/p>\n<h3>Configure Connection &#8211; Pass credentials<\/h3>\n<p>Most API requires some sort of authentication. If your API requires passing credentials then you can use Raw HTTP Headers to pass credentials or Use correct Connection Manager (e.g. HTTP or OAuth).<\/p>\n<p>There two different connection to call API.<\/p>\n<ol>\n<li><a href=\"https:\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/ssis-http-connection-manager.htm\" target=\"_blank\" rel=\"noopener\">HTTP Connection Manager<\/a><\/li>\n<li><a href=\"https:\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/ssis-oauth-connection-manager.htm\" target=\"_blank\" rel=\"noopener\">OAuth Connection Manager<\/a><\/li>\n<\/ol>\n<h4>Configure HTTP Connection<\/h4>\n<p>You can use HTTP in the following scenario.<\/p>\n<ol>\n<li>Use HTTP connection if your API mention that you have to use your UserID\/Password as a credential must be passed as <strong>Basic Authentication<\/strong> (BASE64 Encoded)\u00a0\u00a0<a href=\"\/\/zappysys.com\/blog\/how-to-set-base64-encoded-authorization-header-for-http-web-request\/\" target=\"_blank\" rel=\"noopener\">Click here to learn more<\/a><\/li>\n<li>Use HTTP Connection if your API is XML SOAP API and it uses WSS Security<br \/>\n(e.g. <a href=\"https:\/\/zappysys.com\/blog\/load-sql-server-data-workday-using-ssis-soap-api\/\" target=\"_blank\" rel=\"noopener\">Workday API Example<\/a> )\u00a0\u00a0(Select <strong>Credentials Type=WSS<\/strong>)<\/li>\n<li>Use HTTP Connection if your API needs Token to be passed via HTTP Header. You already have Token which doesn&#8217;t expire.\u00a0 (Select <strong>Credentials Type=Token<\/strong>)<\/li>\n<\/ol>\n<h4>Configure OAuth Connection<\/h4>\n<p>Another very popular authentication mechanism is OAuth 1.0 or 2.0.\u00a0<a href=\"\/\/zappysys.com\/blog\/rest-api-authentication-with-oauth-2-0-using-ssis\/\" target=\"_blank\" rel=\"noopener\">Click here to learn more about using OAuth connection in SSIS<\/a><\/p>\n<h3>Example of JSON\/REST API Source<\/h3>\n<p><a href=\"\/\/zappysys.com\/blog\/call-rest-api-using-ssis-web-service-task\/\" target=\"_blank\" rel=\"noopener\">Click here to learn more<\/a>\u00a0about using JSON or XML Source to read from API \/ File.<\/p>\n<p>Below is one example of reading from Smartsheet API (A popular online spreadsheet service like Google docs)<\/p>\n<div id=\"attachment_2602\" style=\"width: 974px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/02\/ssis-read-smartsheet-data-oauth-rest-api-call-json-source.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-2602\" class=\"wp-image-2602 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/02\/ssis-read-smartsheet-data-oauth-rest-api-call-json-source.png\" alt=\"Example: Reading Smartsheet data using SSIS REST API \/ JSON Source and load into SQL Server Table\" width=\"964\" height=\"767\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/02\/ssis-read-smartsheet-data-oauth-rest-api-call-json-source.png 964w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/02\/ssis-read-smartsheet-data-oauth-rest-api-call-json-source-300x239.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/02\/ssis-read-smartsheet-data-oauth-rest-api-call-json-source-768x611.png 768w\" sizes=\"(max-width: 964px) 100vw, 964px\" \/><\/a><p id=\"caption-attachment-2602\" class=\"wp-caption-text\">Example: Reading Smartsheet data using SSIS REST API \/ JSON Source and load into SQL Server Table<\/p><\/div>\n<h2>Loading\u00a0<span id=\"Loading_Graph_API_Office_365_data_to_SQL_Server\">data from\u00a0<\/span>REST API to SQL Server<\/h2>\n<p>Once you done configuring JSON Source you can \u00a0load data to SQL Server. For example purpose we will load data into SQL Server but you can load into any Target (e.g. Flat file, Oracle, Excel) using Microsoft or ZappySys Destination connectors<\/p>\n<p>To load ServiceNow data into SQL Server perform the following steps (Screenshot is used for demonstration for purpose, your values can be different than below)<\/p>\n<ol>\n<li>Drag and drop a Data Flow into the Control Flow:\n<div id=\"attachment_8028\" style=\"width: 470px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-8028\" class=\"size-full wp-image-8028\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/02\/drag-and-drop-data-flow-task.png\" alt=\"\" width=\"460\" height=\"155\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/02\/drag-and-drop-data-flow-task.png 460w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/02\/drag-and-drop-data-flow-task-300x101.png 300w\" sizes=\"(max-width: 460px) 100vw, 460px\" \/><p id=\"caption-attachment-8028\" class=\"wp-caption-text\">Dragging and dropping Data Flow Task into Control Flow<\/p><\/div><\/li>\n<li>Drag and drop Upsert Destination Component on Data Flow surface<\/li>\n<li>Connect ZS JSON Source to Upsert Destination\n<div id=\"attachment_9644\" style=\"width: 837px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2017\/08\/ssis-data-flow-drag-drop-upsert-destination.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9644\" class=\"wp-image-9644 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2017\/08\/ssis-data-flow-drag-drop-upsert-destination.png\" alt=\"SSIS - Data Flow - Drang and Drop Upsert Destination Component\" width=\"827\" height=\"385\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2017\/08\/ssis-data-flow-drag-drop-upsert-destination.png 827w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2017\/08\/ssis-data-flow-drag-drop-upsert-destination-300x140.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2017\/08\/ssis-data-flow-drag-drop-upsert-destination-768x358.png 768w\" sizes=\"(max-width: 827px) 100vw, 827px\" \/><\/a><p id=\"caption-attachment-9644\" class=\"wp-caption-text\">SSIS &#8211; Data Flow &#8211; Drang and Drop Upsert Destination Component into Data Flow<\/p><\/div><\/li>\n<li>On Upsert Destination select\/create a new SQL Connection in Target Connection and then click \u201cNew\u201d in Target Table and configure it\n<div id=\"attachment_9645\" style=\"width: 1529px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9645\" class=\"wp-image-9645 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2017\/08\/ssis-upsert-destination-data-load.png\" alt=\"Load data to SQL using SSIS Upsert Destination\" width=\"1519\" height=\"622\" \/><p id=\"caption-attachment-9645\" class=\"wp-caption-text\">Configure SSIS Upsert Destination \u2013 Loading REST API Data into SQL Server Table<\/p><\/div><\/li>\n<li>Click on the OK\u00a0 button of Create Table modal popup and do Column Mappings and click on the OK button to save.\n<div id=\"attachment_9646\" style=\"width: 1058px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9646\" class=\"wp-image-9646 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2017\/08\/ssis-upsert-destination-column-mappings.png\" alt=\"SSIS Upsert Destination - Columns Mappings\" width=\"1048\" height=\"701\" \/><p id=\"caption-attachment-9646\" class=\"wp-caption-text\">REST API to SQL Server Column Mappings for Upsert Destination<\/p><\/div><\/li>\n<li>Execute the Package now.\n<div id=\"attachment_9647\" style=\"width: 429px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9647\" class=\"size-full wp-image-9647\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2017\/08\/ssis-loading-data-from-rest-api-to-sql-server.png\" alt=\"Loading REST API to SQL Server in SSIS\" width=\"419\" height=\"297\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2017\/08\/ssis-loading-data-from-rest-api-to-sql-server.png 419w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2017\/08\/ssis-loading-data-from-rest-api-to-sql-server-300x213.png 300w\" sizes=\"(max-width: 419px) 100vw, 419px\" \/><p id=\"caption-attachment-9647\" class=\"wp-caption-text\">Loading REST API to SQL Server in SSIS<\/p><\/div><\/li>\n<\/ol>\n<h2>POST Data to ServiceNow API (Insert, Update or Delete)<\/h2>\n<p>There will be a time you like to automate POST actions (e.g. create new incident via API call). <a href=\"\/\/zappysys.com\/blog\/http-post-in-ssis-send-data-to-web-api-url-json-xml\/\" target=\"_blank\" rel=\"noopener\">Check this article<\/a> to learn more on how to POST , DELETE, PUT data using API calls<\/p>\n<h2><span id=\"Common_Errors\">Common Errors<\/span><\/h2>\n<p>There are many error can occur during runtime. Here are most common errors you may face at runtime.<\/p>\n<div class=\"content_block\" id=\"custom_post_widget-1887\"><h3>Truncation related error<\/h3>\r\n<p style=\"text-align: justify;\">The most common error you may face when you run an SSIS package is truncation error. During the design time only 300 rows are scanned from a source (a file or a REST API call response) to detect datatypes but at runtime, it is likely you will retrieve far more records. So it is possible that you will get longer strings than initially expected.\u00a0For detailed instructions on how to fix common metadata related errors read an article \"<a href=\"\/\/zappysys.com\/blog\/handling-ssis-component-metadata-issues\/\" target=\"_blank\" rel=\"noopener\">How to handle SSIS errors (truncation, metadata issues)<\/a>\".<\/p>\r\n\r\n<h3>Authentication related error<\/h3>\r\nAnother frequent error you may get is an authentication error, which happens when you deploy\/copy a package to another machine and run it there. Check <a href=\"#Deployment_to_Production\">the paragraph below<\/a>\u00a0to see why it happens and how to solve this problem.<\/div>\n<h2><span id=\"Deployment_to_Production\">Deployment to Production<\/span><\/h2>\n<div class=\"content_block\" id=\"custom_post_widget-1932\"><p style=\"text-align: justify;\">In SSIS package <a href=\"https:\/\/docs.microsoft.com\/en-us\/sql\/integration-services\/security\/access-control-for-sensitive-data-in-packages\" target=\"_blank\" rel=\"noopener\">sensitive data such as tokens and passwords are by default encrypted by SSIS<\/a> with your Windows account which you use to create a package.\u00a0So SSIS will fail to decrypt tokens\/passwords when you run it from another machine using another Windows account. To circumvent this when you are creating an SSIS package which uses authentication components (e.g. an <a href=\"https:\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/ssis-oauth-connection-manager.htm\" target=\"_blank\" rel=\"noopener\">OAuth Connection Manager<\/a>\u00a0or an <a href=\"https:\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/ssis-http-connection-manager.htm\" target=\"_blank\" rel=\"noopener\">HTTP Connection Manager<\/a> with credentials, etc.), consider using parameters\/variables to pass tokens\/passwords. In this way, you won\u2019t face authentication related errors when a package is deployed to a production server.<\/p>\r\n<p style=\"text-align: justify;\">Check our article on <a href=\"https:\/\/zappysys.com\/blog\/how-to-run-an-ssis-package-with-sensitive-data-on-sql-server\/\" target=\"_blank\" rel=\"noopener\">how to configure packages with sensitive data on your production or development server<\/a>.<\/p><\/div>\n<h2><span id=\"ConclusionWhats_next\"><span id=\"ConclusionWhat8217s_next\">Conclusion.\u00a0What\u2019s next?<\/span><\/span><\/h2>\n<p>In this article we have learned how to load data from Any REST API to SQL Server using SSIS ( drag and drop approach without coding). We used\u00a0<a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/\" target=\"_blank\" rel=\"noopener\">SSIS JSON \/ REST API Connector<\/a>\u00a0to extract data from REST API. JSON Source Connector makes it super simple to parsing complex \/ large JSON Files or any Web API Response into rows and column so you can load into database like SQL Server.\u00a0<a href=\"\/\/zappysys.com\/products\/ssis-powerpack\/\">Download SSIS PowerPack<\/a>\u00a0to try many other automation scenarios not discussed in this article.<\/p>\n<p><strong>Keywords:<\/strong><\/p>\n<p>REST API Integration with SQL Server | How to extract REST API data in SSIS? | How to read REST API like a table?| How to Query REST API in SSIS | Calling REST API using SSIS. | REAT API to SQL Server | SQL Server to REST API | SSIS REST API Integration | SOAP API Integration\u00a0 | SSIS Web API Integration<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction REST API is becoming the most popular way to communicate between multiple systems. In this blog post you will learn how to read data from JSON REST API\u00a0or JSON File and import API to SQL Server\u00a0Table\u00a0(or any other target e.g. Oracle, MySQL, Flat File). We will use drag and drop approach (yes no coding [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1854,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[225],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\r\n<title>How to load JSON \/ REST API to SQL Server in SSIS | ZappySys Blog<\/title>\r\n<meta name=\"description\" content=\"How to load data from any REST API to SQL Server in few clicks. This article uses drag and drop SSIS JSON Source connector to call REST API (HTTP or OAuth)\" \/>\r\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\r\n<link rel=\"canonical\" href=\"https:\/\/zappysys.com\/blog\/loading-data-from-rest-api-to-sql-server-in-ssis\/\" \/>\r\n<meta property=\"og:locale\" content=\"en_US\" \/>\r\n<meta property=\"og:type\" content=\"article\" \/>\r\n<meta property=\"og:title\" content=\"How to load JSON \/ REST API to SQL Server in SSIS | ZappySys Blog\" \/>\r\n<meta property=\"og:description\" content=\"How to load data from any REST API to SQL Server in few clicks. This article uses drag and drop SSIS JSON Source connector to call REST API (HTTP or OAuth)\" \/>\r\n<meta property=\"og:url\" content=\"https:\/\/zappysys.com\/blog\/loading-data-from-rest-api-to-sql-server-in-ssis\/\" \/>\r\n<meta property=\"og:site_name\" content=\"ZappySys Blog\" \/>\r\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/ZappySys\/\" \/>\r\n<meta property=\"article:published_time\" content=\"2017-08-30T17:06:31+00:00\" \/>\r\n<meta property=\"article:modified_time\" content=\"2023-03-21T06:31:16+00:00\" \/>\r\n<meta property=\"og:image\" content=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2017\/09\/api-180x180.png\" \/>\r\n\t<meta property=\"og:image:width\" content=\"180\" \/>\r\n\t<meta property=\"og:image:height\" content=\"180\" \/>\r\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\r\n<meta name=\"author\" content=\"ZappySys\" \/>\r\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\r\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/zappysys\/\" \/>\r\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ZappySys\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\r\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/zappysys.com\/blog\/loading-data-from-rest-api-to-sql-server-in-ssis\/\",\"url\":\"https:\/\/zappysys.com\/blog\/loading-data-from-rest-api-to-sql-server-in-ssis\/\",\"name\":\"How to load JSON \/ REST API to SQL Server in SSIS | ZappySys Blog\",\"isPartOf\":{\"@id\":\"https:\/\/zappysys.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/zappysys.com\/blog\/loading-data-from-rest-api-to-sql-server-in-ssis\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/zappysys.com\/blog\/loading-data-from-rest-api-to-sql-server-in-ssis\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2017\/09\/api-180x180.png\",\"datePublished\":\"2017-08-30T17:06:31+00:00\",\"dateModified\":\"2023-03-21T06:31:16+00:00\",\"author\":{\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/2756c237457fbc95d82cb38962f81f82\"},\"description\":\"How to load data from any REST API to SQL Server in few clicks. This article uses drag and drop SSIS JSON Source connector to call REST API (HTTP or OAuth)\",\"breadcrumb\":{\"@id\":\"https:\/\/zappysys.com\/blog\/loading-data-from-rest-api-to-sql-server-in-ssis\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/zappysys.com\/blog\/loading-data-from-rest-api-to-sql-server-in-ssis\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zappysys.com\/blog\/loading-data-from-rest-api-to-sql-server-in-ssis\/#primaryimage\",\"url\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2017\/09\/api-180x180.png\",\"contentUrl\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2017\/09\/api-180x180.png\",\"width\":180,\"height\":180},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/zappysys.com\/blog\/loading-data-from-rest-api-to-sql-server-in-ssis\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/zappysys.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to load JSON \/ REST API to SQL Server in SSIS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/zappysys.com\/blog\/#website\",\"url\":\"https:\/\/zappysys.com\/blog\/\",\"name\":\"ZappySys Blog\",\"description\":\"SSIS \/ ODBC Drivers \/ API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/zappysys.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/2756c237457fbc95d82cb38962f81f82\",\"name\":\"ZappySys\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5c9be148088ba9b8af8e955c5f7c22b5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5c9be148088ba9b8af8e955c5f7c22b5?s=96&d=mm&r=g\",\"caption\":\"ZappySys\"},\"sameAs\":[\"http:\/\/www.zappysys.com\/\",\"https:\/\/www.facebook.com\/ZappySys\/\",\"https:\/\/twitter.com\/https:\/\/twitter.com\/zappysys\/\"],\"url\":\"https:\/\/zappysys.com\/blog\/author\/admin\/\"}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to load JSON \/ REST API to SQL Server in SSIS | ZappySys Blog","description":"How to load data from any REST API to SQL Server in few clicks. This article uses drag and drop SSIS JSON Source connector to call REST API (HTTP or OAuth)","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/zappysys.com\/blog\/loading-data-from-rest-api-to-sql-server-in-ssis\/","og_locale":"en_US","og_type":"article","og_title":"How to load JSON \/ REST API to SQL Server in SSIS | ZappySys Blog","og_description":"How to load data from any REST API to SQL Server in few clicks. This article uses drag and drop SSIS JSON Source connector to call REST API (HTTP or OAuth)","og_url":"https:\/\/zappysys.com\/blog\/loading-data-from-rest-api-to-sql-server-in-ssis\/","og_site_name":"ZappySys Blog","article_author":"https:\/\/www.facebook.com\/ZappySys\/","article_published_time":"2017-08-30T17:06:31+00:00","article_modified_time":"2023-03-21T06:31:16+00:00","og_image":[{"width":180,"height":180,"url":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2017\/09\/api-180x180.png","type":"image\/png"}],"author":"ZappySys","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/zappysys\/","twitter_misc":{"Written by":"ZappySys","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/zappysys.com\/blog\/loading-data-from-rest-api-to-sql-server-in-ssis\/","url":"https:\/\/zappysys.com\/blog\/loading-data-from-rest-api-to-sql-server-in-ssis\/","name":"How to load JSON \/ REST API to SQL Server in SSIS | ZappySys Blog","isPartOf":{"@id":"https:\/\/zappysys.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/zappysys.com\/blog\/loading-data-from-rest-api-to-sql-server-in-ssis\/#primaryimage"},"image":{"@id":"https:\/\/zappysys.com\/blog\/loading-data-from-rest-api-to-sql-server-in-ssis\/#primaryimage"},"thumbnailUrl":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2017\/09\/api-180x180.png","datePublished":"2017-08-30T17:06:31+00:00","dateModified":"2023-03-21T06:31:16+00:00","author":{"@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/2756c237457fbc95d82cb38962f81f82"},"description":"How to load data from any REST API to SQL Server in few clicks. This article uses drag and drop SSIS JSON Source connector to call REST API (HTTP or OAuth)","breadcrumb":{"@id":"https:\/\/zappysys.com\/blog\/loading-data-from-rest-api-to-sql-server-in-ssis\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zappysys.com\/blog\/loading-data-from-rest-api-to-sql-server-in-ssis\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zappysys.com\/blog\/loading-data-from-rest-api-to-sql-server-in-ssis\/#primaryimage","url":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2017\/09\/api-180x180.png","contentUrl":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2017\/09\/api-180x180.png","width":180,"height":180},{"@type":"BreadcrumbList","@id":"https:\/\/zappysys.com\/blog\/loading-data-from-rest-api-to-sql-server-in-ssis\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zappysys.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to load JSON \/ REST API to SQL Server in SSIS"}]},{"@type":"WebSite","@id":"https:\/\/zappysys.com\/blog\/#website","url":"https:\/\/zappysys.com\/blog\/","name":"ZappySys Blog","description":"SSIS \/ ODBC Drivers \/ API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zappysys.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/2756c237457fbc95d82cb38962f81f82","name":"ZappySys","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5c9be148088ba9b8af8e955c5f7c22b5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5c9be148088ba9b8af8e955c5f7c22b5?s=96&d=mm&r=g","caption":"ZappySys"},"sameAs":["http:\/\/www.zappysys.com\/","https:\/\/www.facebook.com\/ZappySys\/","https:\/\/twitter.com\/https:\/\/twitter.com\/zappysys\/"],"url":"https:\/\/zappysys.com\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/1747"}],"collection":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/comments?post=1747"}],"version-history":[{"count":28,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/1747\/revisions"}],"predecessor-version":[{"id":10010,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/1747\/revisions\/10010"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/media\/1854"}],"wp:attachment":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/media?parent=1747"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/categories?post=1747"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/tags?post=1747"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}