<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ODBC Drivers Archives | ZappySys Blog</title>
	<atom:link href="https://zappysys.com/blog/category/odbc-powerpack/odbc-drivers/feed/" rel="self" type="application/rss+xml" />
	<link>https://zappysys.com/blog/category/odbc-powerpack/odbc-drivers/</link>
	<description>SSIS / ODBC Drivers / API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more</description>
	<lastBuildDate>Fri, 08 May 2026 21:28:07 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.4.4</generator>

<image>
	<url>https://zappysys.com/blog/wp-content/uploads/2023/01/cropped-zappysys-symbol-large-32x32.png</url>
	<title>ODBC Drivers Archives | ZappySys Blog</title>
	<link>https://zappysys.com/blog/category/odbc-powerpack/odbc-drivers/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to extract data from Trello</title>
		<link>https://zappysys.com/blog/how-to-extract-data-from-trello/</link>
		
		<dc:creator><![CDATA[ZappySys Team]]></dc:creator>
		<pubDate>Thu, 07 May 2026 22:34:48 +0000</pubDate>
				<category><![CDATA[JSON File / REST API Driver]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://zappysys.com/blog/?p=12118</guid>

					<description><![CDATA[<p>Introduction Trello is a popular project management platform used by teams worldwide to organize tasks, track progress, and collaborate on projects. Many applications and tools need to integrate with Trello data for reporting, analytics, and business intelligence. Using Zappysys ODBC Driver for Trello, you can easily query card data, lists, and board information from Trello [&#8230;]</p>
<p>The post <a href="https://zappysys.com/blog/how-to-extract-data-from-trello/">How to extract data from Trello</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2>Introduction</h2>
<p><a href="https://zappysys.com/blog/wp-content/uploads/2026/05/trello-logo.png"><img loading="lazy" decoding="async" class="wp-image-12097 size-thumbnail alignleft" src="https://zappysys.com/blog/wp-content/uploads/2026/05/trello-logo-150x150.png" alt="" width="150" height="150" srcset="https://zappysys.com/blog/wp-content/uploads/2026/05/trello-logo-150x150.png 150w, https://zappysys.com/blog/wp-content/uploads/2026/05/trello-logo-300x300.png 300w, https://zappysys.com/blog/wp-content/uploads/2026/05/trello-logo.png 512w" sizes="(max-width: 150px) 100vw, 150px" /></a>Trello is a popular project management platform used by teams worldwide to organize tasks, track progress, and collaborate on projects. Many applications and tools need to integrate with Trello data for reporting, analytics, and business intelligence. Using Zappysys ODBC Driver for Trello, you can easily query card data, lists, and board information from Trello using standard SQL queries without writing custom code.</p>
<p>This tutorial demonstrates how to connect to Trello via ODBC and extract card and board data for use in your applications, databases, and reporting tools.</p>
<h3></h3>
<h2>Prerequisites</h2>
<ol>
<li>A Windows or Linux system with an ODBC driver manager installed.</li>
<li>An ODBC-compatible application (Excel, Power BI, Tableau, database tool, etc.).</li>
<li>A Trello account with at least one board and list created.</li>
<li>Finally, install the<a href="https://zappysys.com/products/odbc-drivers/"> ZappySys ODBC Driver</a>.</li>
</ol>
<h2>Steps</h2>
<h3>Generate Trello API Key and Token</h3>
<ol>
<li>Go to the <a href="https://trello.com/power-ups/admin">Trello Power-up page</a> and log in to your account.</li>
<li>Create a new App and fill in the form.
<div id="attachment_12099" style="width: 1224px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2026/05/Trello-Create-a-new-App.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-12099" class="wp-image-12099 size-full" src="https://zappysys.com/blog/wp-content/uploads/2026/05/Trello-Create-a-new-App.png" alt="" width="1214" height="607" srcset="https://zappysys.com/blog/wp-content/uploads/2026/05/Trello-Create-a-new-App.png 1214w, https://zappysys.com/blog/wp-content/uploads/2026/05/Trello-Create-a-new-App-300x150.png 300w, https://zappysys.com/blog/wp-content/uploads/2026/05/Trello-Create-a-new-App-1024x512.png 1024w, https://zappysys.com/blog/wp-content/uploads/2026/05/Trello-Create-a-new-App-768x384.png 768w, https://zappysys.com/blog/wp-content/uploads/2026/05/Trello-Create-a-new-App-960x480.png 960w" sizes="(max-width: 1214px) 100vw, 1214px" /></a><p id="caption-attachment-12099" class="wp-caption-text">Trello &#8211; Create a new App</p></p></div></li>
<li>Inside your new App, click the <strong>API key</strong>, then generate a new API Key.
<div id="attachment_12098" style="width: 1521px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2026/05/trello-API-key-page.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-12098" class="size-full wp-image-12098" src="https://zappysys.com/blog/wp-content/uploads/2026/05/trello-API-key-page.png" alt="" width="1511" height="511" srcset="https://zappysys.com/blog/wp-content/uploads/2026/05/trello-API-key-page.png 1511w, https://zappysys.com/blog/wp-content/uploads/2026/05/trello-API-key-page-300x101.png 300w, https://zappysys.com/blog/wp-content/uploads/2026/05/trello-API-key-page-1024x346.png 1024w, https://zappysys.com/blog/wp-content/uploads/2026/05/trello-API-key-page-768x260.png 768w" sizes="(max-width: 1511px) 100vw, 1511px" /></a><p id="caption-attachment-12098" class="wp-caption-text">Trello &#8211; API key page</p></p></div></li>
<li>In the API Key section, click the <strong>Token</strong> link to generate an access token.
<div id="attachment_12123" style="width: 1167px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2026/05/Trello-API-key-and-Token-link.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-12123" class="size-full wp-image-12123" src="https://zappysys.com/blog/wp-content/uploads/2026/05/Trello-API-key-and-Token-link.png" alt="" width="1157" height="506" srcset="https://zappysys.com/blog/wp-content/uploads/2026/05/Trello-API-key-and-Token-link.png 1157w, https://zappysys.com/blog/wp-content/uploads/2026/05/Trello-API-key-and-Token-link-300x131.png 300w, https://zappysys.com/blog/wp-content/uploads/2026/05/Trello-API-key-and-Token-link-1024x448.png 1024w, https://zappysys.com/blog/wp-content/uploads/2026/05/Trello-API-key-and-Token-link-768x336.png 768w" sizes="(max-width: 1157px) 100vw, 1157px" /></a><p id="caption-attachment-12123" class="wp-caption-text">Trello &#8211; API key and Token link</p></div></li>
<li>Choose the token&#8217;s expiration time (Recommended: 30 days for security).</li>
<li>Review the permissions and click <strong>Create Token</strong>.</li>
<li>Copy the generated token and store it securely.</li>
<li>You now have both your API Key and Token. Keep these credentials confidential.</li>
</ol>
<h3>Creating a new ODBC DSN using ZappySys JSON Driver</h3>
<ol>
<li>Search for <strong>ODBC</strong> in the Windows Start menu and open the <strong>ODBC Data Source Administrator</strong>.<br />
<a href="https://zappysys.com/blog/wp-content/uploads/2019/01/how-to-open-odbc-data-source-administrator-2.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-6213" src="https://zappysys.com/blog/wp-content/uploads/2019/01/how-to-open-odbc-data-source-administrator-2.png" alt="" width="394" height="542" srcset="https://zappysys.com/blog/wp-content/uploads/2019/01/how-to-open-odbc-data-source-administrator-2.png 394w, https://zappysys.com/blog/wp-content/uploads/2019/01/how-to-open-odbc-data-source-administrator-2-218x300.png 218w" sizes="(max-width: 394px) 100vw, 394px" /></a></li>
<li>In the <strong>User DSN</strong> or <strong>System DSN</strong> tab, click <strong>Add</strong> to create a new data source.</li>
<li>In the <strong>ODBC Data Source Setup</strong> window, select the <strong>ZappySys JSON Driver</strong> and click <strong>Continue</strong>.<br />
<a href="https://zappysys.com/blog/wp-content/uploads/2019/01/odbc-dsn-admin-create-dsn-based-on-json-driver.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5919" src="https://zappysys.com/blog/wp-content/uploads/2019/01/odbc-dsn-admin-create-dsn-based-on-json-driver.png" alt="" width="593" height="504" srcset="https://zappysys.com/blog/wp-content/uploads/2019/01/odbc-dsn-admin-create-dsn-based-on-json-driver.png 593w, https://zappysys.com/blog/wp-content/uploads/2019/01/odbc-dsn-admin-create-dsn-based-on-json-driver-300x255.png 300w" sizes="(max-width: 593px) 100vw, 593px" /></a></li>
</ol>
<h3> Configure the Connection and API Settings</h3>
<ol>
<li>In the <strong>Base URL</strong> field, enter the URL:<br />
<pre class="crayon-plain-tag">https://api.trello.com/1/members/me/boards?key={{TrelloApiKey}}&amp;token={{TrelloToken}}</pre>
For more examples:<br />
<code>GET /boards/{boardId}/cards — Retrieve all cards from a specific board</code><br />
<code>GET /boards/{boardId}/lists — Retrieve all lists from a specific board</code><br />
<code>GET /cards/{cardId} — Retrieve details of a specific card<br />
</code></li>
<li>In the <strong>Request Method,</strong> use <strong>GET</strong></li>
<li>You can use the <strong>Array filter</strong> to get the object you need.</li>
<li>Test the connection to check everything is working fine
<div class="mceTemp"></div>
<div id="attachment_12119" style="width: 814px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2026/05/Trello-ODBC-configuration.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-12119" class="size-full wp-image-12119" src="https://zappysys.com/blog/wp-content/uploads/2026/05/Trello-ODBC-configuration.png" alt="" width="804" height="704" srcset="https://zappysys.com/blog/wp-content/uploads/2026/05/Trello-ODBC-configuration.png 804w, https://zappysys.com/blog/wp-content/uploads/2026/05/Trello-ODBC-configuration-300x263.png 300w, https://zappysys.com/blog/wp-content/uploads/2026/05/Trello-ODBC-configuration-768x672.png 768w" sizes="(max-width: 804px) 100vw, 804px" /></a><p id="caption-attachment-12119" class="wp-caption-text">Trello &#8211; ODBC configuration</p></div></li>
</ol>
<h3>Preview the data</h3>
<ol>
<li>Once your ODBC DSN is configured, go to the preview tab.</li>
<li>Select the table you want to use.</li>
<li>Press the <strong>Preview data </strong>button to see the result.
<div id="attachment_12120" style="width: 814px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2026/05/Trello-ODBC-final-result.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-12120" class="size-full wp-image-12120" src="https://zappysys.com/blog/wp-content/uploads/2026/05/Trello-ODBC-final-result.png" alt="" width="804" height="704" srcset="https://zappysys.com/blog/wp-content/uploads/2026/05/Trello-ODBC-final-result.png 804w, https://zappysys.com/blog/wp-content/uploads/2026/05/Trello-ODBC-final-result-300x263.png 300w, https://zappysys.com/blog/wp-content/uploads/2026/05/Trello-ODBC-final-result-768x672.png 768w" sizes="(max-width: 804px) 100vw, 804px" /></a><p id="caption-attachment-12120" class="wp-caption-text">Trello &#8211; ODBC final result</p></div>
<div class="mceTemp"></div>
</li>
</ol>
<h2>Conclusion</h2>
<p>Connecting to Trello via ODBC with the Zappysys ODBC Driver simplifies integrating project management data into your applications, databases, and reporting tools without custom development. By following the steps outlined in this tutorial, you can build reliable data connections that allow you to query Trello data using standard SQL and access it from Excel, Power BI, Python, SQL Server, and many other tools. Whether you need to track project progress, analyze team productivity, consolidate data from multiple teams, or create executive dashboards, Trello integration via ODBC provides a flexible and powerful solution.</p>
<p>Explore the full capabilities of the <a href="https://zappysys.com/products/odbc-drivers/" target="_blank" rel="noopener">ZappySys ODBC Drivers</a> to optimize your data access and integration strategy. You can extend this solution to include periodic data synchronization, real-time dashboards, and advanced transformations using your preferred analytics platform.</p>
<h2>Need Help?</h2>
<p class="section-intro">If you encounter any issues, our support team is here to help:</p>
<ol>
<li><strong>Live Chat</strong> — Use the chat widget (bottom-right corner of this page)</li>
<li><strong>Email</strong> — support@zappysys.com</li>
<li><strong>Support Center</strong> — Visit the ZappySys Support Portal</li>
</ol>
<p>The post <a href="https://zappysys.com/blog/how-to-extract-data-from-trello/">How to extract data from Trello</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>ODBC Tutorial: How to connect Claude to ODBC</title>
		<link>https://zappysys.com/blog/odbc-tutorial-how-to-connect-claude-to-odbc/</link>
		
		<dc:creator><![CDATA[ZappySys Team]]></dc:creator>
		<pubDate>Wed, 15 Apr 2026 21:47:31 +0000</pubDate>
				<category><![CDATA[JSON File / REST API Driver]]></category>
		<category><![CDATA[ODBC PowerPack]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://zappysys.com/blog/?p=11996</guid>

					<description><![CDATA[<p>Introduction Claude.IA is a powerful cloud-native intelligence and automation platform that offers REST APIs for accessing AI models, data processing pipelines, and automation workflows. In this guide, we will demonstrate how to connect to Claude using the Zappysys ODBC Driver for REST APIs with API key authentication. Whether you are using Claude for intelligent document processing, [&#8230;]</p>
<p>The post <a href="https://zappysys.com/blog/odbc-tutorial-how-to-connect-claude-to-odbc/">ODBC Tutorial: How to connect Claude to ODBC</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><!-- Introduction --></p>
<h2>Introduction</h2>
<p><img loading="lazy" decoding="async" class="size-full wp-image-zappysys alignleft" src="https://zappysys.com/blog/wp-content/uploads/2026/04/Claude-ai-logo.png" alt="Cloud.IA" width="88" height="88" /></p>
<p class="intro-text">Claude.IA is a powerful cloud-native intelligence and automation platform that offers REST APIs for accessing AI models, data processing pipelines, and automation workflows. In this guide, we will demonstrate how to connect to Claude using the Zappysys ODBC Driver for REST APIs with API key authentication.</p>
<p class="intro-text">Whether you are using Claude for intelligent document processing, data enrichment, or automated workflows, you will learn how to configure ODBC connectivity without writing custom code. Zappysys ODBC REST driver handles all the complexity, allowing you to query Claude APIs using standard SQL and connect from any ODBC-compatible application.</p>
<p><!-- Prerequisites --></p>
<h2>Prerequisites</h2>
<ol>
<li>Windows operating system (32-bit or 64-bit).</li>
<li>Claude&#8217;s account has API access enabled.</li>
<li>Finally, do not forget to install ZappySys <a href="https://zappysys.com/products/ODBC-powerpack/" target="_blank" rel="noopener">ODBC PowerPack.</a></li>
</ol>
<p><!-- Steps --></p>
<h2>Steps</h2>
<h3>Generate an API Key in Claude</h3>
<ol>
<li>Log in to your<a href="https://platform.claude.com/settings/organization"> Cloude.IA account settings.</a></li>
<li>Navigate to <strong>Settings</strong> &gt; <strong>API Keys</strong>.</li>
<li>Click <strong>Create Key</strong>.</li>
<li>Enter the workspace name (optional).</li>
<li>Enter a descriptive name for the API key.</li>
<li><span style="box-sizing: border-box; margin: 0px; padding: 0px;">Press <strong>Add</strong> to generate the token Key.</span></li>
<li>Save the API key in a secure location; you won&#8217;t be able to view it again.
<div id="attachment_11988" style="width: 1812px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2026/04/Claude-Generate-Token.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11988" class="size-full wp-image-11988" src="https://zappysys.com/blog/wp-content/uploads/2026/04/Claude-Generate-Token.png" alt="" width="1802" height="635" srcset="https://zappysys.com/blog/wp-content/uploads/2026/04/Claude-Generate-Token.png 1802w, https://zappysys.com/blog/wp-content/uploads/2026/04/Claude-Generate-Token-300x106.png 300w, https://zappysys.com/blog/wp-content/uploads/2026/04/Claude-Generate-Token-1024x361.png 1024w, https://zappysys.com/blog/wp-content/uploads/2026/04/Claude-Generate-Token-768x271.png 768w, https://zappysys.com/blog/wp-content/uploads/2026/04/Claude-Generate-Token-1536x541.png 1536w, https://zappysys.com/blog/wp-content/uploads/2026/04/Claude-Generate-Token-1080x380.png 1080w" sizes="(max-width: 1802px) 100vw, 1802px" /></a><p id="caption-attachment-11988" class="wp-caption-text">Cloude- Generate Token</p></div></li>
<li><strong>Set Up Billing</strong> (required): add a payment method via the <a href="https://platform.claude.com/settings/billing">Billing Settings page</a>.</li>
</ol>
<h3>Creating a new ODBC DSN using ZappySys JSON Driver</h3>
<ol>
<li>Search for <strong>ODBC</strong> in the Windows Start menu and open the <strong>ODBC Data Source Administrator</strong>.<br />
<a href="https://zappysys.com/blog/wp-content/uploads/2019/01/how-to-open-odbc-data-source-administrator-2.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-6213" src="https://zappysys.com/blog/wp-content/uploads/2019/01/how-to-open-odbc-data-source-administrator-2.png" alt="" width="394" height="542" srcset="https://zappysys.com/blog/wp-content/uploads/2019/01/how-to-open-odbc-data-source-administrator-2.png 394w, https://zappysys.com/blog/wp-content/uploads/2019/01/how-to-open-odbc-data-source-administrator-2-218x300.png 218w" sizes="(max-width: 394px) 100vw, 394px" /></a></li>
<li>In the <strong>User DSN</strong> or <strong>System DSN</strong> tab, click <strong>Add</strong> to create a new data source.</li>
<li>In the <strong>ODBC Data Source Setup</strong> window, select the <strong>ZappySys JSON Driver</strong> and click <strong>Continue</strong>.<br />
<a href="https://zappysys.com/blog/wp-content/uploads/2019/01/odbc-dsn-admin-create-dsn-based-on-json-driver.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5919" src="https://zappysys.com/blog/wp-content/uploads/2019/01/odbc-dsn-admin-create-dsn-based-on-json-driver.png" alt="" width="593" height="504" srcset="https://zappysys.com/blog/wp-content/uploads/2019/01/odbc-dsn-admin-create-dsn-based-on-json-driver.png 593w, https://zappysys.com/blog/wp-content/uploads/2019/01/odbc-dsn-admin-create-dsn-based-on-json-driver-300x255.png 300w" sizes="(max-width: 593px) 100vw, 593px" /></a></li>
</ol>
<h3> Configure the Connection and API Settings</h3>
<ol>
<li>In the <strong>Base URL</strong> field, enter:<br />
<pre class="crayon-plain-tag">https://api.anthropic.com/v1</pre>
</li>
<li>Select <strong>HTTP </strong>as the connection type, then click it to configure it.</li>
<li>Select <strong>Static Token/API Key</strong> as the <strong>Authentication Type</strong>.</li>
<li>Enter your Claude API key in the <strong>API Key</strong> field.</li>
<li>In the <strong>Header Name</strong>, enter <strong>x-api-key</strong>.</li>
<li>In the <strong>OAuth Scheme</strong>, use <strong>none.</strong></li>
<li>Click <strong>OK</strong> to save the configuration.</li>
<li>Set up the <strong>HTTP</strong> Request Method to <strong>POST.</strong></li>
<li>Use this JSON as the body:<br />
<pre class="crayon-plain-tag">{
  "model": "claude-sonnet-4-6",
  "max_tokens": 1024,
  "messages": [
    {
      "role": "user",
      "content": "{YOUR-Message}"
    }
  ]
}</pre>
<div class="mceTemp"></div>
</li>
<li>In the<strong> Body content type, </strong>select  <pre class="crayon-plain-tag">JSON(application/json)</pre></li>
<li>Inside the header, add: <code><pre class="crayon-plain-tag">anthropic-version: 2023-06-01</pre></code></li>
<li>You can use the <strong>Array filter</strong> to get the object you need, and you can use <pre class="crayon-plain-tag">$.messages[*].content</pre>  to get only the message.</li>
<li>Test the connection to check everything is working fine
<div id="attachment_11995" style="width: 1275px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2026/04/Claude-JSON-ODBC-Driver-configuration.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11995" class="size-full wp-image-11995" src="https://zappysys.com/blog/wp-content/uploads/2026/04/Claude-JSON-ODBC-Driver-configuration.png" alt="" width="1265" height="704" srcset="https://zappysys.com/blog/wp-content/uploads/2026/04/Claude-JSON-ODBC-Driver-configuration.png 1265w, https://zappysys.com/blog/wp-content/uploads/2026/04/Claude-JSON-ODBC-Driver-configuration-300x167.png 300w, https://zappysys.com/blog/wp-content/uploads/2026/04/Claude-JSON-ODBC-Driver-configuration-1024x570.png 1024w, https://zappysys.com/blog/wp-content/uploads/2026/04/Claude-JSON-ODBC-Driver-configuration-768x427.png 768w" sizes="(max-width: 1265px) 100vw, 1265px" /></a><p id="caption-attachment-11995" class="wp-caption-text">Claude &#8211; JSON ODBC Driver configuration</p></div></li>
</ol>
<h3>Preview the data</h3>
<ol>
<li>Once your ODBC DSN is configured, go to the preview tab.</li>
<li>Select the table you want to use.</li>
<li>Press the <strong>Preview data </strong>button to see the result.
<div id="attachment_12000" style="width: 814px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2026/04/Claude-JSON-ODBC-Driver-result.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-12000" class="size-full wp-image-12000" src="https://zappysys.com/blog/wp-content/uploads/2026/04/Claude-JSON-ODBC-Driver-result.png" alt="" width="804" height="603" srcset="https://zappysys.com/blog/wp-content/uploads/2026/04/Claude-JSON-ODBC-Driver-result.png 804w, https://zappysys.com/blog/wp-content/uploads/2026/04/Claude-JSON-ODBC-Driver-result-300x225.png 300w, https://zappysys.com/blog/wp-content/uploads/2026/04/Claude-JSON-ODBC-Driver-result-768x576.png 768w" sizes="(max-width: 804px) 100vw, 804px" /></a><p id="caption-attachment-12000" class="wp-caption-text">Claude &#8211; JSON ODBC Driver result</p></div></li>
</ol>
<p><!-- Conclusion --></p>
<h2>Conclusion</h2>
<p class="intro-text">You now have a secure and reliable ODBC connection to Claude. API Key authentication provides a simple and secure way to connect using the Zappysys ODBC Driver for REST APIs. With this connection configured, you can build powerful data extraction, transformation, and integration workflows using Claude&#8217;s intelligence and automation capabilities from any ODBC-compatible application without writing custom code.</p>
<p class="intro-text">Explore the full capabilities of the <a href="https://zappysys.com/products/ODBC-powerpack/">ZappySys ODBC PowerPack</a> to optimize your data integration tasks. By applying this pattern, you can extend your solution to include additional data sources and create unified reporting across multiple cloud-based APIs.</p>
<p><!-- References --></p>
<p><!-- Need Help --></p>
<h2>Need Help?</h2>
<p class="section-intro">If you encounter any issues, our support team is here to help:</p>
<ol>
<li><strong>Live Chat</strong> — Use the chat widget (bottom-right corner of this page)</li>
<li><strong>Email</strong> — support@zappysys.com</li>
<li><strong>Support Center</strong> — Visit the ZappySys Support Portal</li>
</ol>
<p>The post <a href="https://zappysys.com/blog/odbc-tutorial-how-to-connect-claude-to-odbc/">ODBC Tutorial: How to connect Claude to ODBC</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>ODBC tutorial: How to connect Blogger to ODBC</title>
		<link>https://zappysys.com/blog/odbc-tutorial-how-to-connect-blogger-to-odbc/</link>
		
		<dc:creator><![CDATA[ZappySys Team]]></dc:creator>
		<pubDate>Fri, 27 Mar 2026 12:19:14 +0000</pubDate>
				<category><![CDATA[JSON File / REST API Driver]]></category>
		<category><![CDATA[ODBC PowerPack]]></category>
		<guid isPermaLink="false">https://zappysys.com/blog/?p=11917</guid>

					<description><![CDATA[<p>Introduction This tutorial walks you through the process of extracting blog posts and comments data from Blogger using the REST API and Zappysys ODBC connectors. In this guide, you will learn how to authenticate with the Blogger REST API, configure a Zappysys ODBC data source, and query extracted data using ODBC. This approach eliminates the [&#8230;]</p>
<p>The post <a href="https://zappysys.com/blog/odbc-tutorial-how-to-connect-blogger-to-odbc/">ODBC tutorial: How to connect Blogger to ODBC</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2>Introduction</h2>
<p class="intro-text"><a href="https://zappysys.com/blog/wp-content/uploads/2026/03/logo.png"><img loading="lazy" decoding="async" class=" wp-image-11901 alignleft" src="https://zappysys.com/blog/wp-content/uploads/2026/03/logo-150x150.png" alt="Blogger Logo" width="134" height="134" srcset="https://zappysys.com/blog/wp-content/uploads/2026/03/logo-150x150.png 150w, https://zappysys.com/blog/wp-content/uploads/2026/03/logo-300x300.png 300w, https://zappysys.com/blog/wp-content/uploads/2026/03/logo.png 512w" sizes="(max-width: 134px) 100vw, 134px" /></a>This tutorial walks you through the process of extracting blog posts and comments data from Blogger using the REST API and Zappysys ODBC connectors. In this guide, you will learn how to authenticate with the Blogger REST API, configure a Zappysys ODBC data source, and query extracted data using ODBC. This approach eliminates the need for custom code and provides a standard interface for managing complex API integrations.</p>
<p class="intro-text">Zappysys provides a powerful ODBC connector that simplifies the integration of cloud-based APIs. We will demonstrate a practical pattern using ZappySys ODBC JSON Driver to extract data from Blogger APIs through any ODBC-compatible application.</p>
<p><!-- Prerequisites --></p>
<h2>Prerequisites</h2>
<p>Before you begin, make sure you have the following:</p>
<ul>
<li>Windows operating system with ODBC Data Source Administrator available</li>
<li>Access to a Blogger blog with appropriate permissions to read public posts and comments</li>
<li>Finally, do not forget to install ZappySys <a href="https://zappysys.com/products/ODBC-powerpack/" target="_blank" rel="noopener">ODBC PowerPack.</a></li>
</ul>
<p><!-- Step-by-Step Guide --></p>
<h2>Steps</h2>
<h3>Create/Select a Project in the Google API Console</h3>
<ol>
<li>Navigate to the <a href="https://console.developers.google.com/">Google API Console</a>.</li>
<li>Click on the Project Dropdown at the top bar and either select an existing project or create a new one by clicking <strong>CREATE PROJECT</strong>.
<div id="attachment_11905" style="width: 807px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2026/03/Google-Console-Create-or-select-project.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11905" class="wp-image-11905 size-full" src="https://zappysys.com/blog/wp-content/uploads/2026/03/Google-Console-Create-or-select-project.png" alt="" width="797" height="255" srcset="https://zappysys.com/blog/wp-content/uploads/2026/03/Google-Console-Create-or-select-project.png 797w, https://zappysys.com/blog/wp-content/uploads/2026/03/Google-Console-Create-or-select-project-300x96.png 300w, https://zappysys.com/blog/wp-content/uploads/2026/03/Google-Console-Create-or-select-project-768x246.png 768w" sizes="(max-width: 797px) 100vw, 797px" /></a><p id="caption-attachment-11905" class="wp-caption-text">Google Console &#8211; Create or select a project</p></div></li>
<li>Once the project is set, click <strong>ENABLE APIS AND SERVICES</strong>.</li>
<li>Search for the <strong>Blogger API v3</strong> and click <strong>ENABLE</strong>.
<div id="attachment_11903" style="width: 690px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2026/03/Google-Console-Enable-Blogger-API.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11903" class="wp-image-11903 size-full" src="https://zappysys.com/blog/wp-content/uploads/2026/03/Google-Console-Enable-Blogger-API.png" alt="" width="680" height="265" srcset="https://zappysys.com/blog/wp-content/uploads/2026/03/Google-Console-Enable-Blogger-API.png 680w, https://zappysys.com/blog/wp-content/uploads/2026/03/Google-Console-Enable-Blogger-API-300x117.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></a><p id="caption-attachment-11903" class="wp-caption-text">Google Console &#8211; Enable Blogger API</p></div></li>
<li>Return to the main screen and click on the <strong>OAuth Consent Screen</strong> tab.</li>
<li>Select the <strong>External</strong> user type and click <strong>CREATE</strong>.</li>
<li>Provide the application name, user support email, and developer contact information, then click <strong>SAVE AND CONTINUE</strong>.</li>
<li>Click through the remaining scopes and summary pages (no additional scopes are required for this tutorial), and click <strong>SAVE AND CONTINUE</strong> on each.</li>
<li>Move to the <strong>Credentials</strong> tab.</li>
<li>Click <strong>CREATE CREDENTIALS</strong> in the top bar, choose <strong>OAuth Client ID</strong>, select <strong>Desktop App</strong> as the Application Type, and click <strong>Create</strong> to obtain your Client ID and Secret.
<div id="attachment_11904" style="width: 910px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2026/03/Google-Console-Create-credentials.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11904" class="wp-image-11904 size-full" src="https://zappysys.com/blog/wp-content/uploads/2026/03/Google-Console-Create-credentials.png" alt="" width="900" height="335" srcset="https://zappysys.com/blog/wp-content/uploads/2026/03/Google-Console-Create-credentials.png 900w, https://zappysys.com/blog/wp-content/uploads/2026/03/Google-Console-Create-credentials-300x112.png 300w, https://zappysys.com/blog/wp-content/uploads/2026/03/Google-Console-Create-credentials-768x286.png 768w" sizes="(max-width: 900px) 100vw, 900px" /></a><p id="caption-attachment-11904" class="wp-caption-text">Google Console &#8211; Create credentials</p></div></li>
<li>Download the credentials JSON file and save it in a secure location on your development machine.</li>
</ol>
<h3>Creating a new ODBC DSN using ZappySys JSON Driver</h3>
<ol>
<li>Search for <strong>ODBC</strong> in the Windows Start menu and open the <strong>ODBC Data Source Administrator</strong>.<br />
<a href="https://zappysys.com/blog/wp-content/uploads/2019/01/how-to-open-odbc-data-source-administrator-2.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-6213" src="https://zappysys.com/blog/wp-content/uploads/2019/01/how-to-open-odbc-data-source-administrator-2.png" alt="" width="394" height="542" srcset="https://zappysys.com/blog/wp-content/uploads/2019/01/how-to-open-odbc-data-source-administrator-2.png 394w, https://zappysys.com/blog/wp-content/uploads/2019/01/how-to-open-odbc-data-source-administrator-2-218x300.png 218w" sizes="(max-width: 394px) 100vw, 394px" /></a></li>
<li>In the <strong>User DSN</strong> or <strong>System DSN</strong> tab, click <strong>Add</strong> to create a new data source.</li>
<li>In the <strong>ODBC Data Source Setup</strong> window, select the <strong>ZappySys JSON Driver</strong> and click <strong>Continue</strong>.<br />
<a href="https://zappysys.com/blog/wp-content/uploads/2019/01/odbc-dsn-admin-create-dsn-based-on-json-driver.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5919" src="https://zappysys.com/blog/wp-content/uploads/2019/01/odbc-dsn-admin-create-dsn-based-on-json-driver.png" alt="" width="593" height="504" srcset="https://zappysys.com/blog/wp-content/uploads/2019/01/odbc-dsn-admin-create-dsn-based-on-json-driver.png 593w, https://zappysys.com/blog/wp-content/uploads/2019/01/odbc-dsn-admin-create-dsn-based-on-json-driver-300x255.png 300w" sizes="(max-width: 593px) 100vw, 593px" /></a></li>
</ol>
<h3>Configuring the ODBC connection for Blogger</h3>
<ol>
<li>Set the API Base URL to the Blogger API endpoint:<br />
<code>https://www.googleapis.com/blogger/v3/blogs/{{Blog_ID}}/posts</code></li>
<li>Select <strong>OAUTH </strong>as the connection type, then click it to configure it.</li>
<li>Configure the authentication and provide the <strong>Client ID and C</strong><strong>lient Secret</strong></li>
<li>Enter the Blogger <strong>Scope</strong>: <code>https://www.googleapis.com/auth/blogger</code></li>
<li>Generate the token and test the connection</li>
<li>Click OK to save the connection</li>
<li>Set the HTTP method to <strong>GET</strong>.</li>
<li>Select the object you want to use in the <strong>Array Filter</strong>.</li>
<li>Test the connection by clicking <strong>Test Connection</strong> to verify your credentials and API access.</li>
<li>Save the configuration and name your ODBC DSN (e.g., &#8220;BloggerAPI&#8221;).
<div id="attachment_11924" style="width: 1215px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2026/03/ODBC-JSON-driver-Blogger-connection.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11924" class="size-full wp-image-11924" src="https://zappysys.com/blog/wp-content/uploads/2026/03/ODBC-JSON-driver-Blogger-connection.png" alt="" width="1205" height="704" srcset="https://zappysys.com/blog/wp-content/uploads/2026/03/ODBC-JSON-driver-Blogger-connection.png 1205w, https://zappysys.com/blog/wp-content/uploads/2026/03/ODBC-JSON-driver-Blogger-connection-300x175.png 300w, https://zappysys.com/blog/wp-content/uploads/2026/03/ODBC-JSON-driver-Blogger-connection-1024x598.png 1024w, https://zappysys.com/blog/wp-content/uploads/2026/03/ODBC-JSON-driver-Blogger-connection-768x449.png 768w" sizes="(max-width: 1205px) 100vw, 1205px" /></a><p id="caption-attachment-11924" class="wp-caption-text">ODBC JSON driver &#8211; Blogger connection</p></div></li>
</ol>
<h3>Preview the data</h3>
<ol>
<li>Once your ODBC DSN is configured, go to the preview tab.</li>
<li>Select the table you want to use.</li>
<li>Press the <strong>Preview data </strong>button to see the result.
<div id="attachment_11926" style="width: 814px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2026/03/ODBC-JSON-driver-Blogger-final-result.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11926" class="size-full wp-image-11926" src="https://zappysys.com/blog/wp-content/uploads/2026/03/ODBC-JSON-driver-Blogger-final-result.png" alt="" width="804" height="704" srcset="https://zappysys.com/blog/wp-content/uploads/2026/03/ODBC-JSON-driver-Blogger-final-result.png 804w, https://zappysys.com/blog/wp-content/uploads/2026/03/ODBC-JSON-driver-Blogger-final-result-300x263.png 300w, https://zappysys.com/blog/wp-content/uploads/2026/03/ODBC-JSON-driver-Blogger-final-result-768x672.png 768w" sizes="(max-width: 804px) 100vw, 804px" /></a><p id="caption-attachment-11926" class="wp-caption-text">ODBC JSON driver &#8211; Blogger final result</p></div></li>
</ol>
<p><!-- Conclusion --></p>
<h2>Conclusion</h2>
<p class="intro-text">You have successfully learned how to use Zappysys ODBC connectors to extract data from the Blogger<br />
platform using the REST API. With ZappySys ODBC PowerPack, connecting Blogger to any ODBC-compatible application becomes<br />
straightforward and reliable. By configuring the JSON ODBC driver for Blogger, you can access blog data from Excel, Power BI, Tableau, and other business intelligence tools.</p>
<p class="intro-text">Explore the full capabilities of the <a href="https://zappysys.com/products/ODBC-powerpack/">ZappySys ODBC PowerPack</a> to optimize your data integration<br />
tasks. By applying this pattern, you can extend your solution to include additional data sources and create unified reporting across multiple cloud-based APIs.</p>
<p><!-- References --></p>
<p><!-- Need Help --></p>
<h2>Need Help?</h2>
<p class="section-intro">If you encounter any issues, our support team is here to help:</p>
<ol>
<li><strong>Live Chat</strong> — Use the chat widget (bottom-right corner of this page)</li>
<li><strong>Email</strong> — support@zappysys.com</li>
<li><strong>Support Center</strong> — Visit the ZappySys Support Portal</li>
</ol>
<p>The post <a href="https://zappysys.com/blog/odbc-tutorial-how-to-connect-blogger-to-odbc/">ODBC tutorial: How to connect Blogger to ODBC</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Call ChatGPT REST API in SSIS</title>
		<link>https://zappysys.com/blog/accessing-chatgpt-via-rest-api/</link>
		
		<dc:creator><![CDATA[ZappySys Team]]></dc:creator>
		<pubDate>Fri, 20 Oct 2023 12:07:27 +0000</pubDate>
				<category><![CDATA[JSON File / REST API Driver]]></category>
		<category><![CDATA[REST API]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[chatgpt]]></category>
		<category><![CDATA[opanapi]]></category>
		<category><![CDATA[restpai]]></category>
		<guid isPermaLink="false">https://zappysys.com/blog/?p=10234</guid>

					<description><![CDATA[<p>Introduction OpenAI, the creators of ChatGPT, provide both a web interface and an API for seamless integration of their tools into applications. This article provides a comprehensive guide on how to establish a connection with the OpenAI API in SSIS using ZappySys JSON Source, enabling seamless data integration and retrieval. Prerequisites Before we perform steps [&#8230;]</p>
<p>The post <a href="https://zappysys.com/blog/accessing-chatgpt-via-rest-api/">Call ChatGPT REST API in SSIS</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2><strong>Introduction</strong></h2>
<p><a href="https://zappysys.com/blog/wp-content/uploads/2023/10/chatgpt-logo.png"><img loading="lazy" decoding="async" class="wp-image-11035 alignleft" src="https://zappysys.com/blog/wp-content/uploads/2023/10/chatgpt-logo.png" alt="" width="137" height="137" srcset="https://zappysys.com/blog/wp-content/uploads/2023/10/chatgpt-logo.png 384w, https://zappysys.com/blog/wp-content/uploads/2023/10/chatgpt-logo-300x300.png 300w, https://zappysys.com/blog/wp-content/uploads/2023/10/chatgpt-logo-150x150.png 150w" sizes="(max-width: 137px) 100vw, 137px" /></a>OpenAI, the creators of <a href="https://chat.openai.com/">ChatGPT</a>, provide both a web interface and an API for seamless integration of their tools into applications. This article provides a comprehensive guide on how to establish a connection with the OpenAI API in SSIS using ZappySys <a href="https://zappysys.com/products/ssis-powerpack/ssis-json-file-source/" target="_blank" rel="noopener">JSON Source</a>, enabling seamless data integration and retrieval.</p>
<h2><strong>Prerequisites</strong></h2>
<p>Before we perform steps listed in this article, you will need to make sure following prerequisites are met:</p>
<ol>
<li>SSIS designer installed. Sometimes it is referred as BIDS or SSDT (<a href="https://learn.microsoft.com/en-us/sql/ssdt/download-sql-server-data-tools-ssdt?view=sql-server-ver16" target="_blank" rel="noopener">download it from Microsoft site</a>).</li>
<li>Basic knowledge of SSIS package development using Microsoft SQL Server Integration Services.</li>
<li>Make sure <a href="https://zappysys.com/products/ssis-powerpack/" target="_blank" rel="noopener">ZappySys SSIS PowerPack</a> is installed (<a href="https://zappysys.com/products/ssis-powerpack/download/" target="_blank" rel="noopener">download it</a>).</li>
<li>Optional (If you want to Deploy and Schedule ) &#8211; <a href="https://zappysys.zendesk.com/hc/en-us/articles/360035974593" target="_blank" rel="noopener">Deploy and Schedule SSIS Packages</a></li>
</ol>
<h2>Step-by-step guide to making a ChatGPT Rest API call</h2>
<h3>How to get an OpenAI API Key for ChatGPT</h3>
<p>First, obtain your API key from OpenAI. This key is required for authenticating your requests.</p>
<p>To access the services, you will be required to set up an account with OpenAI. <a href="https://platform.openai.com/signup" target="_blank" rel="noopener">Click here to create your account</a>. Once your account has been successfully created, proceed to log in to your OpenAI account.</p>
<p>You can find the API key by following these steps:</p>
<ol>
<li>Navigate to the top right corner of the screen.</li>
<li>Click on your account name.</li>
<li>From the drop-down menu, select &#8220;API Keys.&#8221;</li>
<li>Alternatively, you can directly access the API Keys section by <a href="https://platform.openai.com/account/api-keys" target="_blank" rel="noopener">clicking here</a>.</li>
</ol>
<p>To generate a new secret key, please follow these steps:</p>
<ol>
<li>Go to the API Keys page.</li>
<li>Look for the &#8220;Create new secret key&#8221; button.</li>
<li>Click the button to generate a new secret key.</li>
</ol>
<div id="attachment_10236" style="width: 998px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2023/08/OpenIa2.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-10236" class=" wp-image-10236" src="https://zappysys.com/blog/wp-content/uploads/2023/08/OpenIa2.png" alt="" width="988" height="505" srcset="https://zappysys.com/blog/wp-content/uploads/2023/08/OpenIa2.png 1429w, https://zappysys.com/blog/wp-content/uploads/2023/08/OpenIa2-300x153.png 300w, https://zappysys.com/blog/wp-content/uploads/2023/08/OpenIa2-768x392.png 768w, https://zappysys.com/blog/wp-content/uploads/2023/08/OpenIa2-1024x523.png 1024w" sizes="(max-width: 988px) 100vw, 988px" /></a><p id="caption-attachment-10236" class="wp-caption-text">Generate a new key</p></div>
<p>Upon generation, your API key will be visible on the screen. It&#8217;s crucial to copy the key and store it in a secure location immediately, <strong>as it will not be displayed again for security purposes.</strong></p>
<div id="attachment_10237" style="width: 1000px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2023/08/OpenIa1.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-10237" class=" wp-image-10237" src="https://zappysys.com/blog/wp-content/uploads/2023/08/OpenIa1.png" alt="" width="990" height="486" srcset="https://zappysys.com/blog/wp-content/uploads/2023/08/OpenIa1.png 1413w, https://zappysys.com/blog/wp-content/uploads/2023/08/OpenIa1-300x147.png 300w, https://zappysys.com/blog/wp-content/uploads/2023/08/OpenIa1-768x377.png 768w, https://zappysys.com/blog/wp-content/uploads/2023/08/OpenIa1-1024x503.png 1024w" sizes="(max-width: 990px) 100vw, 990px" /></a><p id="caption-attachment-10237" class="wp-caption-text">The new key</p></div>
<p>Now that you have your API key, you can begin utilizing it to make calls with your components. A preliminary example involves retrieving a list of all available models in OpenAI. For detailed instructions, please refer to the <a href="https://platform.openai.com/docs/api-reference/introduction" target="_blank" rel="noopener">API documentation available here</a>.</p>
<h3>ChatGPT Rest API call using JSON Source</h3>
<p>1. Drag and Drop the SSIS <b>Data Flow Task</b> from the SSIS Toolbox.</p>
<div style="width: 470px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="size-full" src="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/drag-and-drop-data-flow-task.png" width="460" height="155" /><p class="wp-caption-text">Drag and drop Data flow task</p></div>
<p>2. Double-click on the DataFlow task to see the DataFlow designer surface.</p>
<p>3. From the SSIS toolbox drag and drop ZS JSON Source on the dataflow designer surface.</p>
<div style="width: 551px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="size-full" src="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/json-source/ssis-json-source-adapter-drag.png" width="541" height="144" /><p class="wp-caption-text">Drag and drop a JSON source</p></div>
<p>4. We will use this on the URL path:</p><pre class="crayon-plain-tag">https://api.openai.com/v1/models</pre><p>
5. In the HTTP headers grid add the following values by clicking Raw Edit button :</p>
<p><code class="language-bash"><span class=""><span class="hljs-string">Authorization: Bearer </span><span class="hljs-string hljs-variable">YOUR_OPENAI_API_KEY<br />
</span></span></code><span style="background-color: #f0f0f0; color: #1e1e1e; font-family: Menlo, Consolas, monaco, monospace; font-size: 14px;">OpenAI-Organization: org-YQ9qpxxxxxxxxxxxxgoPi</span></p>
<p>6. Select your preferred Array Filter, simply click the &#8220;Select Filter&#8221; button. for this API call we need to select the <pre class="crayon-plain-tag">$.data[*]</pre>  array filter</p>
<p>7. Final step: Click &#8216;Preview&#8217; to initiate the ChatGTP Rest API call. You will also find a demonstration within our component, along with the resulting output from the call, below.</p>
<div id="attachment_10238" style="width: 838px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2023/08/JSON1.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-10238" class="size-full wp-image-10238" src="https://zappysys.com/blog/wp-content/uploads/2023/08/JSON1.png" alt="" width="828" height="735" srcset="https://zappysys.com/blog/wp-content/uploads/2023/08/JSON1.png 828w, https://zappysys.com/blog/wp-content/uploads/2023/08/JSON1-300x266.png 300w, https://zappysys.com/blog/wp-content/uploads/2023/08/JSON1-768x682.png 768w" sizes="(max-width: 828px) 100vw, 828px" /></a><p id="caption-attachment-10238" class="wp-caption-text">ChatGPT call</p></div>
<p>That&#8217;s it the configuration for the ChatGPT Rest API call has been completed successfully.</p>
<h2>Load ChatGPT data in SQL Server using Upsert Destination (Insert or Update)</h2>
<div class="content_block" id="custom_post_widget-5617"><p>ZappySys SSIS PowerPack makes it easy to load data from various sources such as REST, SOAP, JSON, XML, CSV or from other source into SQL Server, or PostgreSQL, or Amazon Redshift, or other  targets. The <strong>Upsert Destination</strong> component allows you to automatically insert new records and update existing ones based on key columns. Below are the detailed steps to configure it.</p>
<h3>Step 1: Add Upsert Destination to Data Flow</h3>
<ol>
<li>Drag and drop the <strong>Upsert Destination</strong> component from the SSIS Toolbox.</li>
<li>Connect your source component (e.g., JSON / REST / Other Source) to the Upsert Destination.</li>
</ol>
<div class="wp-caption aligncenter">
<a href="https://zappysys.com/blog/wp-content/uploads/2017/08/ssis-data-flow-drag-drop-upsert-destination.png">
<img loading="lazy" decoding="async" class="size-full" alt="" src="https://zappysys.com/blog/wp-content/uploads/2017/08/ssis-data-flow-drag-drop-upsert-destination.png" /></a>
<p class="wp-caption-text">SSIS - Data Flow - Drang and Drop Upsert Destination Component</p>
</div>
<h3>Step 2: Configure Target Connection</h3>
<ol>
<li>Double-click the <strong>Upsert Destination</strong> component to open the configuration window.</li>
<li>Under <strong>Connection</strong>, select an existing target connection or click <strong>NEW</strong> to create a new connection.
<ul>
<li>Example: SQL Server, or PostgreSQL, or Amazon Redshift.</li>
</ul>
</li>
</ol>
<h3>Step 3: Select or Create Target Table</h3>
<ol>
<li>In the <strong>Target Table</strong> dropdown, select the table where you want to load data.</li>
<li>Optionally, click <strong>NEW</strong> to create a new table based on the source columns.</li>
</ol>
<div class="wp-caption aligncenter">
<a href="https://zappysys.com/blog/wp-content/uploads/2020/09/upsert-destination-configuration.png">
<img loading="lazy" decoding="async" class="size-full" alt="" src="https://zappysys.com/blog/wp-content/uploads/2020/09/upsert-destination-configuration.png" /></a>
<p class="wp-caption-text">Configure SSIS Upsert Destination Connection - Loading data (REST / SOAP / JSON / XML /CSV) into SQL Server or other target using SSIS</p>
</div>
<h3>Step 4: Map Columns</h3>
<ol>
<li>Go to the <strong>Mappings</strong> tab.</li>
<li>Click <strong>Auto Map</strong> to map source columns to target columns by name.</li>
<li>Ensure you <strong>check the Primary key column(s)</strong> that will determine whether a record is inserted or updated.</li>
<li>You can manually adjust the mappings if necessary.</li>
</ol>
 <div class="wp-caption aligncenter">
<a href="https://zappysys.com/blog/wp-content/uploads/2020/09/upsert-destination-key.png">
<img loading="lazy" decoding="async" class="size-full" alt="" src="https://zappysys.com/blog/wp-content/uploads/2020/09/upsert-destination-key.png" /></a>
<p class="wp-caption-text">SSIS Upsert Destination - Columns Mappings</p>
</div>
<h3>Step 5: Save Settings</h3>
<ul>
<li>Click <strong>OK</strong> to save the Upsert Destination configuration.</li>
</ul>
<h3>Step 6: Optional: Add Logging or Analysis</h3>
<ul>
<li>You may add extra destination components to log the number of inserted vs. updated records for monitoring or auditing purposes.</li>
</ul>
<h3>Step 7: Execute the Package</h3>
<ul>
<li>Run your SSIS package and verify that the data is correctly inserted and updated in the target table.</li>
</ul>
<div class="wp-caption aligncenter">
<a href="https://zappysys.com/blog/wp-content/uploads/2018/12/ssis-upsert-destination-execute.png">
<img loading="lazy" decoding="async" class="size-full" alt="" src="https://zappysys.com/blog/wp-content/uploads/2018/12/ssis-upsert-destination-execute.png" /></a>
<p class="wp-caption-text">SSIS Upsert Destination Execution</p>
</div></div>
<h2>Conclusion</h2>
<p>In this article, we explored the seamless process of establishing a connection with <strong>ChatGPT</strong> <strong>in SSIS</strong> and integrating data effortlessly, all without the need for coding. Interested in trying it out yourself? Feel free to <a href="https://zappysys.com/products/ssis-powerpack/download/" target="_blank" rel="noopener">Download ZappySys SSIS PowerPack</a> by clicking here and experience the simplicity firsthand. Should you have any lingering queries, please don&#8217;t hesitate to ask by <a href="https://zappysys.com/support/" target="_blank" rel="noopener">clicking here</a> or initiating a conversation with our experts via the live chat icon at the bottom-right corner of this page.</p>
<p>The post <a href="https://zappysys.com/blog/accessing-chatgpt-via-rest-api/">Call ChatGPT REST API in SSIS</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to create custom ODBC Driver for API without coding</title>
		<link>https://zappysys.com/blog/create-custom-odbc-driver-api-without-coding/</link>
		
		<dc:creator><![CDATA[ZappySys]]></dc:creator>
		<pubDate>Mon, 10 Apr 2023 19:16:12 +0000</pubDate>
				<category><![CDATA[API Driver]]></category>
		<category><![CDATA[odbc]]></category>
		<category><![CDATA[rest api]]></category>
		<guid isPermaLink="false">https://zappysys.com/blog/?p=10024</guid>

					<description><![CDATA[<p>Introduction Imagine this situation, you or users of your product wants to consume some REST API in ETL / BI / Programming Tools using ODBC / JDBC Driver interface but there are no ODBC / JDBC Driver available for that API and you dont even know coding? If you are in a situation No Problem [&#8230;]</p>
<p>The post <a href="https://zappysys.com/blog/create-custom-odbc-driver-api-without-coding/">How to create custom ODBC Driver for API without coding</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2>Introduction</h2>
<p>Imagine this situation, you or users of your product wants to consume some REST API in ETL / BI / Programming Tools using ODBC / JDBC Driver interface but there are no ODBC / JDBC Driver available for that API and you dont even know coding? If you are in a situation No Problem !!! In this post you will learn how to create a custom ODBC Driver for API (i.e. REST / SOAP / OData) without writing code&#8230; and access in most BI / ETL / Reporting tools using Industry Standard such as ODBC Interface&#8230;.. Yes you heard it right&#8230; 🙂</p>
<p>Generally speaking, creating an ODBC Driver requires a lot of coding effort and that&#8217;s why most vendors don&#8217;t invest in providing ODBC Driver and let you consume their API using code only. They assume that your company / team has really sharp C# / JAVA / C++ coders available 🙂 &#8230;. but we all know that coding is not cheap and not easy to maintain in long run.</p>
<p>Basically, the approach mentioned in this article requires you to create an XML File (or call it Connector File) and then consume it using <a href="https://zappysys.com/products/odbc-powerpack/odbc-api-driver/">API Driver (ODBC)</a> So let&#8217;s get started!</p>
<div class="content_block" id="custom_post_widget-9166"><h2>Requirements</h2>
In order to access API data inside your App using ODBC Driver you will need to make sure following requirements are met.
<ol>
 	<li>Download and Install <a href="https://zappysys.com/products/odbc-powerpack/" target="_blank" rel="noopener">ZappySys ODBC PowerPack</a> (This includes XML / JSON / REST API and few other drivers for SQL Server and ODBC connectivity in tools like Excel, Power BI, SSRS)</li>
</ol></div>
<h2>API Connector File &#8211; The Concept</h2>
<p>ZappySys has developed a highly flexible API Connector Framework which you can use to build API Connector Files which can be used by <a href="https://zappysys.com/products/odbc-powerpack/odbc-api-driver/">API ODBC Driver</a> in different apps. This API Connector Framework is so flexible that it can handle pretty much any API out there.</p>
<p>Here are a few example connector files we built using the same framework. Don&#8217;t worry about various parts in those connector files for now, you might not need to implement all those. We will start simple and explain to you advanced use cases later.</p>
<p><strong>Example Connector Files</strong></p>
<ul>
<li><a href="https://zappysys.com/api/integration-hub/youtube-connector/help/source-code">Youtube</a></li>
<li><a href="https://zappysys.com/api/integration-hub/stripe-connector/help/source-code">Stripe</a></li>
<li><a href="https://zappysys.com/api/integration-hub/jira-connector/help/source-code">Jira</a></li>
<li><a href="https://zappysys.com/api/integration-hub/shopify-connector/help/source-code">Shopify</a></li>
</ul>
<h2>Basic Example of API Connector File</h2>
<p>Here is a very simple example of some API to read Customers and Orders. Keep in mind most features are omitted for simplicity.</p>
<p>Below connector file shows few concepts which we will discuss later in this article. Such as API Base URL (i.e. Service URL), Authetication, Pagination, EndPoints, Metadata, Parameters, Templates, Tables so on.</p>
<ol>
<li>Open Notepad</li>
<li>Copy / Paste below XMl in notepad and save as <strong>NorthwindConnector.xml</strong></li>
<li>Then you can Create a new ODBC DSN <a href="https://zappysys.com/api/integration-hub/odata-connector/odbc">as mentioned here</a> and use our connector file for Testing (Use Saved Connector File Option on new DSN wizard).</li>
</ol>
<p><strong>NorthwindConnector.xml</strong></p><pre class="crayon-plain-tag">&lt;?xml version="1.0"?&gt;
&lt;ApiConfig Name="Northwind" Slug="northwind-api" Desc="Sample connector for Northwind OData Service" Logo="https://www.odata.org/assets/ODataLogo-96.png"&gt;
  &lt;ServiceUrls&gt;
    &lt;ServiceUrl Name="V3_API" Url="https://services.odata.org/V3/Northwind/Northwind.svc"/&gt;
    &lt;ServiceUrl Name="V4_API" Url="https://services.odata.org/V4/Northwind/Northwind.svc"/&gt;
  &lt;/ServiceUrls&gt;


  &lt;!-- Implement supported way to Authenticate API calls --&gt;
  &lt;Auths&gt;
    &lt;Auth Name="ApiKeyAuth" Type="Http" TestEndPoint="get_customers" ConnStr="CredentialType=Token;TokenAuthHeader=X-APIKEY;Password=[$ApiKey$]"&gt;
      &lt;Params&gt;
        &lt;Param Name="ApiKey" Label="Enter your API  Key" Secret="True"/&gt;
      &lt;/Params&gt;
    &lt;/Auth&gt;  
  &lt;/Auths&gt;

  &lt;!-- Reusable Templates (i.e. API Pagination Properties) --&gt;
  &lt;Template&gt;
    &lt;EndPoint Name="PaginatedCall"&gt;
      &lt;Params&gt;
        &lt;Param Name="NextUrlAttributeOrExpr" Type="Property" Value="$.['odata.nextLink']"/&gt;
      &lt;/Params&gt;    
    &lt;/EndPoint&gt;
  &lt;/Template&gt;

  &lt;!-- EndPoints --&gt;
  &lt;EndPoints&gt;
    &lt;EndPoint Name="get_customers" Template="PaginatedCall" Url="/Customers?$format=json" Filter="$.value[*]" Method="GET"&gt;
      &lt;OutputColumns&gt;
        &lt;Column Name="CustomerID" Label="Id" DataType="DT_WSTR" Length="20"/&gt;
        &lt;Column Name="CompanyName" DataType="DT_WSTR" Length="100"/&gt;
      &lt;/OutputColumns&gt;
    &lt;/EndPoint&gt;

    &lt;EndPoint Name="get_orders" Template="PaginatedCall" Url="/Orders?$format=json" Filter="$.value[*]" Method="GET"&gt;

      &lt;OutputColumns&gt;
        &lt;Column Name="OrderID" Label="Id" DataType="DT_I4"/&gt;
        &lt;Column Name="OrderDate" DataType="DT_DBTIMESTAMP"/&gt;
        &lt;Column Name="CustomerID" DataType="DT_WSTR" Length="20"/&gt;
        &lt;Column Name="Notes" DataType="DT_NTEXT"/&gt;
      &lt;/OutputColumns&gt;
    &lt;/EndPoint&gt;
  &lt;/EndPoints&gt;

  &lt;!-- Tables (with SELECT, LOOKUP UPDATE, INSERT, DELETE operations. For Demo we have used just SELECT EndPoint) --&gt;
  &lt;Tables&gt; 
    &lt;Table Name="Orders" SelectEndPoint="get_orders"/&gt;
    &lt;Table Name="Customers" SelectEndPoint="get_customers"/&gt;
  &lt;/Tables&gt;
&lt;/ApiConfig&gt;</pre><p>
&nbsp;</p>
<h2>Using API Connector File in Apps</h2>
<p>Once API connector file is created</p>
<h3>Use in ODBC Apps</h3>
<p><a href="https://zappysys.com/api/integration-hub/odata-connector/odbc">Click here to see an example</a> &#8211; Using API connector file in ODBC Apps (ODATA). For other popular apps <a href="https://zappysys.com/api/integration-hub/odata-connector/">check this page</a> and click on desired app.</p>
<p>Here is how it may look like if we import the previous connector file in API Driver UI. Notice how we selected the V3 Base URL as API. Also, see how various connector file elements translated to Driver UI&#8230;. very cool right ?</p>
<div id="attachment_10033" style="width: 603px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2023/04/reading-api-data-using-custom-api-connector-odbc-app.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-10033" class="size-full wp-image-10033" src="https://zappysys.com/blog/wp-content/uploads/2023/04/reading-api-data-using-custom-api-connector-odbc-app.png" alt="Using Custom API Connector File - New ODBC DSN - ZappySys API Driver" width="593" height="610" srcset="https://zappysys.com/blog/wp-content/uploads/2023/04/reading-api-data-using-custom-api-connector-odbc-app.png 593w, https://zappysys.com/blog/wp-content/uploads/2023/04/reading-api-data-using-custom-api-connector-odbc-app-292x300.png 292w" sizes="(max-width: 593px) 100vw, 593px" /></a><p id="caption-attachment-10033" class="wp-caption-text">Using Custom API Connector File &#8211; New ODBC DSN &#8211; ZappySys API Driver</p></div>
<div id="attachment_10028" style="width: 584px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2023/04/create-custom-api-connector-odbc-driver.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-10028" class="size-full wp-image-10028" src="https://zappysys.com/blog/wp-content/uploads/2023/04/create-custom-api-connector-odbc-driver.png" alt="Using Custom API Connector file in ZappySys API ODBC Driver" width="574" height="442" srcset="https://zappysys.com/blog/wp-content/uploads/2023/04/create-custom-api-connector-odbc-driver.png 574w, https://zappysys.com/blog/wp-content/uploads/2023/04/create-custom-api-connector-odbc-driver-300x231.png 300w" sizes="(max-width: 574px) 100vw, 574px" /></a><p id="caption-attachment-10028" class="wp-caption-text">Using Custom API Connector file in ZappySys API ODBC Driver</p></div>
<p>Here is the output from Preview Tab</p>
<div id="attachment_10029" style="width: 675px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2023/04/get-data-custom-api-driver-odbc.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-10029" class="size-full wp-image-10029" src="https://zappysys.com/blog/wp-content/uploads/2023/04/get-data-custom-api-driver-odbc.png" alt="Preview Data from Custom API Driver - Using ZappySys API Driver" width="665" height="703" srcset="https://zappysys.com/blog/wp-content/uploads/2023/04/get-data-custom-api-driver-odbc.png 665w, https://zappysys.com/blog/wp-content/uploads/2023/04/get-data-custom-api-driver-odbc-284x300.png 284w" sizes="(max-width: 665px) 100vw, 665px" /></a><p id="caption-attachment-10029" class="wp-caption-text">Preview Data from Custom API Driver &#8211; Using ZappySys API Driver</p></div>
<h3>Use in JAVA Apps</h3>
<p><a href="https://zappysys.com/api/integration-hub/odata-connector/java">Click here to see an example</a> &#8211; Using API connector file in JAVA based Apps (It uses ZappySys Data Gateway as Bridge rather than direct ODBC call in Java becuase JAVA doesnt support ODBC directly)</p>
<h3>Use in SQL Server (T-SQL code)</h3>
<p><a href="https://zappysys.com/api/integration-hub/odata-connector/sql-server">Click here to see an example</a> &#8211; Using API connector file in SQL Server (It uses ZappySys Data Gateway as Bridge rather than direct ODBC call in SQL Servr becuase of some known issues of direct ODBC)</p>
<h3>Use in SSIS Package</h3>
<p><a href="https://zappysys.com/api/integration-hub/odata-connector/ssis">Click here to see an example</a> &#8211; Using API connector file in SSIS Packages. It uses native API Source / API Destination components.</p>
<h2>Create / Edit Connector file using Wizard from API Driver UI</h2>
<p>If you like to edit your file previously created using Wizard then you can do the following steps.</p>
<ol>
<li>Assuming you have already setup <a href="https://zappysys.com/api/integration-hub/odata-connector/odbc">ODBC DSN for API Connector File</a> we previously created.</li>
<li>Open Odbc UI (search for &#8220;<strong>ODBC</strong>&#8221; in the start menu and select &#8220;ODBC Administrator&#8221;)</li>
<li>Double-click on the Data source you like to edit</li>
<li>On the <strong>Properties</strong> Tab &gt; Go to <strong>Advanced</strong> Tab</li>
<li>Click on <strong>Customize &#8211; Current Connector File</strong> (If you wish to create a new API connector file then you can click on <strong>Create New Connector File</strong> Button instead)</li>
</ol>
<div id="attachment_10031" style="width: 787px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2023/04/edit-custom-api-connector-file-odbc-driver-ui.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-10031" class="size-full wp-image-10031" src="https://zappysys.com/blog/wp-content/uploads/2023/04/edit-custom-api-connector-file-odbc-driver-ui.png" alt="Create / Edit Custom API Connector File - From API ODBC Driver UI" width="777" height="695" srcset="https://zappysys.com/blog/wp-content/uploads/2023/04/edit-custom-api-connector-file-odbc-driver-ui.png 777w, https://zappysys.com/blog/wp-content/uploads/2023/04/edit-custom-api-connector-file-odbc-driver-ui-300x268.png 300w, https://zappysys.com/blog/wp-content/uploads/2023/04/edit-custom-api-connector-file-odbc-driver-ui-768x687.png 768w" sizes="(max-width: 777px) 100vw, 777px" /></a><p id="caption-attachment-10031" class="wp-caption-text">Create / Edit Custom API Connector File &#8211; From API ODBC Driver UI</p></div>
<h2>Create Connector file from SSIS JSON / XML Source UI Settings</h2>
<p>If you are an SSIS user and you have configured <a href="https://zappysys.com/api/integration-hub/json-connector/ssis">JSON Source</a> or <a href="https://zappysys.com/api/integration-hub/xml-connector/ssis">XML Source</a> then you convert those UI settings into a basic API connector file by going on <strong>API Template</strong> and clicking on <strong>Create New Connector File</strong> button like below.</p>
<div id="attachment_10032" style="width: 898px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2023/04/create-new-custom-api-connector-file-from-ssis-json-xml-source-ui.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-10032" class="size-full wp-image-10032" src="https://zappysys.com/blog/wp-content/uploads/2023/04/create-new-custom-api-connector-file-from-ssis-json-xml-source-ui.png" alt="Create a new Custom API Connector File - From SSIS JSON / XML Source UI" width="888" height="731" srcset="https://zappysys.com/blog/wp-content/uploads/2023/04/create-new-custom-api-connector-file-from-ssis-json-xml-source-ui.png 888w, https://zappysys.com/blog/wp-content/uploads/2023/04/create-new-custom-api-connector-file-from-ssis-json-xml-source-ui-300x247.png 300w, https://zappysys.com/blog/wp-content/uploads/2023/04/create-new-custom-api-connector-file-from-ssis-json-xml-source-ui-768x632.png 768w" sizes="(max-width: 888px) 100vw, 888px" /></a><p id="caption-attachment-10032" class="wp-caption-text">Create a new Custom API Connector File &#8211; From SSIS JSON / XML Source UI</p></div>
<h2>Create API Connector file from scratch</h2>
<p>So far you have understood the basic ideas about connector files. Also explored creating / editing API Connector File using Wizard in ODBC / SSIS.</p>
<p>Now let&#8217;s look at concepts of creating connector file in detail.</p>
<h3>Basic Properties (Name, Slug, Logo)</h3>
<p>Coming Soon</p>
<h3>Service URL (API Base URL)</h3>
<p>Coming Soon</p>
<h3>Authentication</h3>
<p>Coming Soon</p>
<h3>Templates</h3>
<p>Coming Soon</p>
<h3>Parameters</h3>
<p>Coming Soon</p>
<h3>EndPoints</h3>
<p>Coming Soon</p>
<h3>Metadata / OutputColumns</h3>
<p>Coming Soon</p>
<h3>Tables</h3>
<p>Coming Soon</p>
<h2>Contact Us &#8211; We will build Custom API Driver for you</h2>
<p>If you are still not sure how to use all these on your own or you do not have time/experience&#8230; no worries. <a href="https://zappysys.com/contact-us/">Contact us</a> and we will provide you an estimate for building a custom API Driver / connector.</p>
<p>In the contact form above provide us following details (or as much as you can provide)</p>
<ul>
<li>Which connector do you like to build?</li>
<li>How are you planning to consume that data (i.e. which apps e.g. Power BI, Tableau)?</li>
<li>Your use case (e.g. read customer data from Zoho Invoice System)</li>
<li>Include table / data feed names you prefer to read from (e.g. Read Invoices, Read/Write Customers)</li>
</ul>
<h2>Conclusion</h2>
<p>In this article, we explored how easy it is to create your custom ODBC Driver for API using a powerful API Connector Framework. <a href="https://zappysys.com/products/odbc-powerpack/download/">Download ODBC PowerPack</a> and build your own API Driver in a few clicks.</p>
<p>The post <a href="https://zappysys.com/blog/create-custom-odbc-driver-api-without-coding/">How to create custom ODBC Driver for API without coding</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Connect to Infor Compass using JDBC Driver in ODBC Apps (e.g. SQL Server, Power BI, Excel, Informatica)</title>
		<link>https://zappysys.com/blog/connect-infor-compass-jdbc-driver-odbc-apps-power-bi-excel-informatica-sql-server/</link>
		
		<dc:creator><![CDATA[ZappySys]]></dc:creator>
		<pubDate>Tue, 13 Sep 2022 22:04:31 +0000</pubDate>
				<category><![CDATA[JDBC Bridge Driver]]></category>
		<category><![CDATA[infor]]></category>
		<category><![CDATA[infor datalake]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[jdbc]]></category>
		<category><![CDATA[odbc]]></category>
		<guid isPermaLink="false">https://zappysys.com/blog/?p=9787</guid>

					<description><![CDATA[<p>Introduction In this blog post you will learn how to use Infor Compass JDBC driver in ODBC Apps (i.e. non-JAVA apps) such as Power BI, Excel, Informatica and many more listed here using JDBC-ODBC Bridge Driver. In other words, if you like to use Infor Compass data in your App / Programming language and App [&#8230;]</p>
<p>The post <a href="https://zappysys.com/blog/connect-infor-compass-jdbc-driver-odbc-apps-power-bi-excel-informatica-sql-server/">Connect to Infor Compass using JDBC Driver in ODBC Apps (e.g. SQL Server, Power BI, Excel, Informatica)</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2>Introduction</h2>
<p><a href="https://zappysys.com/blog/wp-content/uploads/2022/09/Infor_logo-300x300.png"><img loading="lazy" decoding="async" class=" wp-image-9795 alignleft" src="https://zappysys.com/blog/wp-content/uploads/2022/09/Infor_logo-300x300.png" alt="" width="139" height="139" srcset="https://zappysys.com/blog/wp-content/uploads/2022/09/Infor_logo-300x300.png 300w, https://zappysys.com/blog/wp-content/uploads/2022/09/Infor_logo-300x300-150x150.png 150w" sizes="(max-width: 139px) 100vw, 139px" /></a>In this blog post you will learn how to use <a href="https://docs.infor.com/inforos/2021.x/en-us/datafabrug/default.html?helpcontent=aky1631199546535.html" target="_blank" rel="noopener">Infor Compass JDBC driver</a> in ODBC Apps (i.e. non-JAVA apps) such as Power BI, Excel, Informatica and <a href="https://zappysys.com/api/integration-hub/jdbc-connector/" target="_blank" rel="noopener">many more listed here</a> using <a href="https://zappysys.com/products/odbc-powerpack/odbc-jdbc-bridge-driver/" target="_blank" rel="noopener">JDBC-ODBC Bridge Driver</a>. In other words, if you like to use Infor Compass data in your App / Programming language and App doesnt support using JDBC Driver Infor Provides then this article is for you. ZappySys has created a Bridge Driver which can translate ODBC calls to JDBC making it possible to call any JDBC driver in non Java Apps (i.e. ODBC Apps) written in languages like C++ / C#  / Python etc.</p>
<p>So lets get started.</p>
<div class="content_block" id="custom_post_widget-9166"><h2>Requirements</h2>
In order to access API data inside your App using ODBC Driver you will need to make sure following requirements are met.
<ol>
 	<li>Download and Install <a href="https://zappysys.com/products/odbc-powerpack/" target="_blank" rel="noopener">ZappySys ODBC PowerPack</a> (This includes XML / JSON / REST API and few other drivers for SQL Server and ODBC connectivity in tools like Excel, Power BI, SSRS)</li>
</ol></div>
<h2>Download Infor Compass JDBC Driver and ionapi file</h2>
<p>Check below links to download and configure Infor Compass JDBC.</p>
<ol>
<li><a href="https://docs.infor.com/inforos/2021.x/en-us/datafabrug/default.html?helpcontent=aky1631199546535.html">Download Infor Compass JDBC Driver (*.jar file)</a></li>
<li><a href="https://docs.infor.com/inforos/2021.x/en-us/datafabrug/default.html?helpcontent=daa1631199546835.html">Extract Driver</a> files to local folder</li>
<li><a href="https://docs.infor.com/inforos/2021.x/en-us/datafabrug/default.html?helpcontent=qxg1631199547147.html">Download and Configure *.ionapi file</a> &#8211; <strong>Infor Compass JDBC Driver.ionapi</strong> file (Placed in same directory where JDBC driver is saved)</li>
</ol>
<h2>Setup JDK (Java Runtime)</h2>
<p>Before you start using ZappySys JDBC Bridge Driver, we need to install JAVA Runtime (JRE) or Java Development Kit (JDK).</p>
<p>We recommend installing <strong>JDK21 or higher</strong> (other JRE / JDK version(s) might work too).</p>
<p>There are several ways to get Java Runtime Installer, but we recommend from following link. Skip below steps if you have JAVA Runtime already installed.</p>
<ol>
<li>Download JDK 21 (i.e. Amazon Corrento OpenJDK distribution). <a href="https://docs.aws.amazon.com/corretto/latest/corretto-21-ug/downloads-list.html" target="_blank" rel="noopener">Listed here</a><br />
<strong>Direct Download Link</strong>:  <a href="https://corretto.aws/downloads/latest/amazon-corretto-21-x64-windows-jdk.msi" target="_blank" rel="noopener noreferrer">amazon-corretto-21-x64-windows-jdk.msi</a></li>
<li>Run the downloaded msi installer file</li>
<li>After it&#8217;s installed, you can confirm Java version by running the following command line. It will show<br />
<pre class="crayon-plain-tag">java.exe -version</pre>
<strong>Sample Output</strong><br />
<pre class="crayon-plain-tag">openjdk version "21.0.7" 2025-04-15 LTS
OpenJDK Runtime Environment Temurin-21.0.7+6 (build 21.0.7+6-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.7+6 (build 21.0.7+6-LTS, mixed mode, sharing)</pre>
</li>
</ol>
<p>&nbsp;</p>
<h2>Download Infor JDBC Driver / Generate ionapi Credentials File</h2>
<p>To access infor Data using their official JDBC Driver you will need to do 2 things</p>
<ol>
<li>Download Infor JDBC Driver locally</li>
<li>Create ionapi file locally</li>
</ol>
<p><a href="https://docs.infor.com/inforos/2021.x/en-us/datafabrug/default.html?helpcontent=qxg1631199547147.html" target="_blank" rel="noopener">Read this link</a> for more information</p>
<p>Here is the video Tutorial</p>
<a href="https://zappysys.com/blog/connect-infor-compass-jdbc-driver-odbc-apps-power-bi-excel-informatica-sql-server/"><img decoding="async" src="https://zappysys.com/blog/wp-content/plugins/wp-youtube-lyte/lyteCache.php?origThumbUrl=%2F%2Fi.ytimg.com%2Fvi%2FyipG8w6qQPg%2Fhqdefault.jpg" alt="YouTube Video"></a><br /><br /></p>
<p>&nbsp;</p>
<h2>Create ODBC DSN for Infor Compass JDBC Driver</h2>
<p>In this section, you will learn <i>how to Configure ODBC DSN</i>. Later on, this DSN can be used to use ZappySys Driver. ODBC DSN can be stored at Machine Level (for all users) or the Current User Level. In this case, we are going to load data into Microsoft Excel from PostgreSQL Storage using ZappySys JDBC Bridge ODBC Driver.</p>
<p>&nbsp;</p>
<ol>
<li>Type <strong>odbcad32.exe</strong> in your search box and launch the DSN Config utility.<br />
<img decoding="async" class="figureimage" src="https://zappysys.com/blog/wp-content/uploads/2018/03/odbc-data-source-64-bits.png" /></li>
<li>If you want access for yourself then stay on User DSN Tab. If you want to grant access to other users, then go to the System DSN tab. For <a href="https://zappysys.com/onlinehelp/odbc-powerpack/scr/odbc-integration-programming-tsql.htm">SQL Server Integration</a> go to the System Tab and add a new System DSN rather than User DSN. Click the New button.<br />
<img decoding="async" class="figureimage" title="ZappySys ODBC Driver - Open UI" src="https://zappysys.com/onlinehelp/odbc-powerpack/scr/images/zappysys-odbc-driver-open-ui.png" alt="ZappySys ODBC Driver - Open UI" /></li>
<li>From the Driver list Select ZappySys ODBC Driver. For this example, select [ZappySys JDBC Bridge Driver].<br />
<img decoding="async" class="figureimage" title="ZappySys ODBC Driver - Create JDBC Bridge Driver" src="https://zappysys.com/onlinehelp/odbc-powerpack/scr/images/jdbc-driver/jdbc-bridge-driver-create.png" alt="ZappySys ODBC Driver - Create JDBC Bridge Driver" /></li>
</ol>
<p>&nbsp;</p>
<h2>Configure ODBC DSN for Infor Compass Connectivity</h2>
<p>Once you downloaded / extracted JDBC (*.jar) and *.ionapi files and saved them to the local disk you can configure ZappySys JDBC Bridge Driver like the below</p>
<ol>
<li>Create a folder e.g. C:\Infor_Datalake</li>
<li>Extract jdbc driver files in that folder, keep ionapi file in the same folder too (v1.7 will look ionapi file under this folder)</li>
<li>Make sure do not rename <strong>ionapi</strong> file. It must be named as &#8220;<strong>Infor Compass JDBC Driver.ionapi</strong>&#8221;<br />
<div class="su-note"  style="border-color:#e5de9d;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"><div class="su-note-inner su-u-clearfix su-u-trim" style="background-color:#FFF8B7;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;">
If you are getting this error (<a href="https://community.zappysys.com/t/the-infor-compass-jdbc-driver-ionapi-file-is-not-found-infor-data-lake-error/142">Infor Compass JDBC Driver.ionapi file is not found</a>) then we suggest you copy ionapi file in the below locations too. If you are not planning to use <a href="https://zappysys.com/api/integration-hub/jdbc-connector/sql-server" target="_blank" rel="noopener">Data Gateway / Linked Server</a> then you can skip ionapi file copy to 3rd location (i.e. <b>ZappySys.TdsServer.WindowsService</b> folder).<br />
<pre class="crayon-plain-tag">C:\Program Files (x86)\ZappySys\ZappySys ODBC PowerPack\JdbcBridgeDriverX64
C:\Program Files (x86)\ZappySys\ZappySys ODBC PowerPack\JdbcBridgeDriverX86
C:\Program Files (x86)\ZappySys\ZappySys ODBC PowerPack\ZappySys.TdsServer.WindowsService</pre>
</div></div></li>
<li>Open ODBC DataSource UI by double clicking the DSN (you created in the previous section).</li>
<li>Enter JDBC Connection String as per this format<br />
<pre class="crayon-plain-tag">jdbc:infordatalake://TENANTNNAME</pre>
</li>
<li>Enter Driver class (Optional).<br />
<pre class="crayon-plain-tag">com.infor.idl.jdbc.Driver</pre>
</li>
<li>Enter User ID and Password is optional so <strong>keep it blank</strong> unless required by driver. Click <strong>Test Connection</strong>
<div id="attachment_9788" style="width: 578px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2022/09/connect-infor-compass-jdbc-odbc-bridge-driver.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-9788" class="wp-image-9788 size-full" src="https://zappysys.com/blog/wp-content/uploads/2022/09/connect-infor-compass-jdbc-odbc-bridge-driver.png" alt="Using Infor Compass JDBC Driver in ODBC Apps via ZappySys JDBC Bridge Driver " width="568" height="546" srcset="https://zappysys.com/blog/wp-content/uploads/2022/09/connect-infor-compass-jdbc-odbc-bridge-driver.png 568w, https://zappysys.com/blog/wp-content/uploads/2022/09/connect-infor-compass-jdbc-odbc-bridge-driver-300x288.png 300w" sizes="(max-width: 568px) 100vw, 568px" /></a><p id="caption-attachment-9788" class="wp-caption-text">Using Infor Compass JDBC Driver in ODBC Apps via ZappySys JDBC Bridge Driver</p></div></li>
<li>Now you can go to Preview Tab and select Table from the dropdown and write query to preview data</li>
</ol>
<h2>Video Tutorial &#8211; ODBC-JDBC Bridge Driver</h2>
<a href="https://zappysys.com/blog/connect-infor-compass-jdbc-driver-odbc-apps-power-bi-excel-informatica-sql-server/"><img decoding="async" src="https://zappysys.com/blog/wp-content/plugins/wp-youtube-lyte/lyteCache.php?origThumbUrl=%2F%2Fi.ytimg.com%2Fvi%2FBEJ1HbBZqxY%2Fhqdefault.jpg" alt="YouTube Video"></a><br /><br /></p>
<p>&nbsp;</p>
<h2>Connect Infor Compass Datalake in SQL Server (Linked Server)</h2>
<p>So in our previous section, we saw how to connect using ODBC Driver but if you like to access Infor Datalake data in SQL Server then you have to use the Data gateway approach. <a href="https://zappysys.com/api/integration-hub/jdbc-connector/sql-server" target="_blank" rel="noopener">Click here</a> to learn more.</p>
<p>In Data Gateway Driver UI is pretty much the same as ODBC UI except few differences. You also need to configure the Linked server which requires extra steps. The above link is for a generic JDBC Driver but follow Infor Datalake JDBC-specific steps mentioned in the ODBC setup section in this article.</p>
<h2>Troubleshooting Known Errors</h2>
<p>Here in this section, we will discuss some known errors and its workaround.</p>
<h3>The Infor Compass JDBC Driver.ionapi file is not found</h3>
<p>If you get this error you can review <a href="https://community.zappysys.com/t/the-infor-compass-jdbc-driver-ionapi-file-is-not-found-infor-data-lake-error/142">this solution</a></p>
<h3><span class="hljs-selector-tag">Data</span> <span class="hljs-selector-tag">Lake</span> <span class="hljs-selector-tag">is</span> <span class="hljs-selector-tag">not</span> <span class="hljs-selector-tag">available /  Unable to verify trust for server certificate chain</span></h3>
<p>If you get the following error then <a href="https://community.zappysys.com/t/how-to-fix-jbr-error-java-sql-sqlexception-data-lake-is-not-available-unable-to-verify-trust-for-server-certificate-chain-cn-ionapi-inforcloudsuite-com/101">check this link</a> for possible workarounds</p><pre class="crayon-plain-tag">JBR error: java.sql.SQLException: <strong>Data Lake is not available</strong>

at com.infor.idl.jdbc.Driver.connect(Driver.java:422) 
at DbConnection.Init(DbConnection.java:45) 

.......... 
.......... 
<strong>Unable to verify trust for server certificate chain</strong> [CN=mingle-ionapi.inforcloudsuite.com, CN=pa-trusted-ca.noble.loc, CN=noble-SUBCA-CA, DC=noble, DC=loc, CN=ROOTCA-CA, CN=ROOTCA-CA] .......... at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559) 
.......... 
..........</pre><p>
<h3>Test Connection Hangs</h3>
<p>This happens if you have not installed the latest Java version (i.e. Java 21 or higher) and you are using the latest JDBC, which doesn&#8217;t support Java8 (i.e. infor-compass-jdbc-2025.06.05.jar)</p>
<p>To fix this issue, uninstall the  older version of Java and install the new Java (e.g. v21 or higher) <a href="https://corretto.aws/downloads/latest/amazon-corretto-21-x64-windows-jdk.msi">from here</a></p>
<h2>Using Infor Compass ODBC-JDBC connection in various apps (e.g. Power BI, Excel, Informatica, SQL Server)</h2>
<p>Once you create ODBC DSN you are ready to test that in any ODBC-compliant apps <a href="https://zappysys.com/api/integration-hub/jdbc-connector/" target="_blank" rel="noopener">listed here</a></p>
<p>If your app is not listed in the above link, then no worries just find the Option to connect to ODBC in your App and use DSN we created in an earlier section.</p>
<div class="content_block" id="custom_post_widget-7051">ZappySys ODBC Drivers built using ODBC standard which is widely adopted by industry for a long time. Which mean the majority of BI Tools / Database Engines / ETL Tools already there will support native / 3rd party ODBC Drivers. Below is the small list of most popular tools / programming languages our Drivers support. If your tool / programming language doesn't appear in the below list, which means we have not documented use case but as long as your tool supports ODBC Standard, our drivers should work fine.

&nbsp;

<img loading="lazy" decoding="async" class="" src="//zappysys.com/images/odbc-powerpack/odbc-powerpack-integration.jpg" alt="ZappySys ODBC Drivers for REST API, JSON, XML - Integrate with Power BI, Tableau, QlikView, QlikSense, Informatica PowerCenter, Excel, SQL Server, SSIS, SSAS, SSRS, Visual Studio / WinForm / WCF, Python, C#, VB.net, PHP. PowerShell " width="750" height="372" />
<table style="valign: top;">
<tbody>
<tr>
<td>
<p style="text-align: center;"><strong>BI / Reporting Tools
Integration</strong></p>
</td>
<td style="text-align: center;"><strong>ETL Tools
Integration
</strong></td>
<td style="text-align: center;"><strong>Programming Languages</strong>
<strong>Integration</strong></td>
</tr>
<tr>
<td>
<ul>
 	<li><a href="https://zappysys.com/blog/howto-import-json-rest-api-power-bi/" target="_blank" rel="noopener">Microsoft Power BI</a></li>
 	<li><a href="https://zappysys.com/blog/import-rest-api-tableau-read-json-soap-xml-csv/">Tableau</a></li>
 	<li><a href="https://zappysys.com/blog/read-rest-api-using-ssrs-reports-call-json-xml-web-service/" target="_blank" rel="noopener">SSRS (SQL Reporting Services)</a></li>
 	<li><a href="https://zappysys.com/blog/qlik-rest-connector-examples-read-json-xml-api/" target="_blank" rel="noopener">QlikView /Qlik Sense</a></li>
 	<li><a href="https://zappysys.com/blog/call-rest-api-in-microstrategy-json-soap-xml/" target="_blank" rel="noopener">MicroStrategy</a></li>
 	<li><a href="https://zappysys.com/blog/import-rest-api-google-sheet-call-appscript-load-json-soap-xml-csv/" target="_blank" rel="noopener">Google Sheet</a></li>
 	<li><a href="https://zappysys.com/blog/import-json-excel-load-file-rest-api/" target="_blank" rel="noopener">Microsoft Excel</a></li>
 	<li><a href="https://zappysys.com/api/integration-hub/rest-api-connector/access?context=connector" target="_blank" rel="noopener">Microsoft Access</a></li>
 	<li>Oracle OBIEE</li>
 	<li>Many more (not in this list).....</li>
</ul>
</td>
<td>
<ul>
 	<li><a href="https://zappysys.com/blog/read-json-informatica-import-rest-api-json-file/" target="_blank" rel="noopener">Informatica PowerCenter</a> (Windows)</li>
 	<li>Informatica Cloud</li>
 	<li>SSIS (SQL Integration Services)</li>
 	<li><a href="https://zappysys.com/blog/import-rest-api-json-sql-server/" target="_blank" rel="noopener">SQL Server</a></li>
 	<li><a href="https://zappysys.com/blog/read-write-rest-api-data-in-talend-json-xml-soap/" target="_blank" rel="noopener">Talend Data Studio</a></li>
 	<li><a href="https://zappysys.com/blog/pentaho-read-rest-api-in-pentaho/" target="_blank" rel="noopener">Pentaho Kettle</a></li>
 	<li>Oracle OBIEE</li>
 	<li>Many more (not in this list).....</li>
</ul>
</td>
<td>
<ul>
 	<li>Visual Studio</li>
 	<li><a href="https://zappysys.com/blog/calling-rest-api-in-c/" target="_blank" rel="noopener">C#</a></li>
 	<li>C++</li>
 	<li><a href="https://zappysys.com/blog/connect-java-to-rest-api-json-soap-xml/" target="_blank" rel="noopener">JAVA</a></li>
 	<li><a href="https://zappysys.com/blog/set-rest-python-client/" target="_blank" rel="noopener">Python</a></li>
 	<li>PHP</li>
 	<li><a href="https://zappysys.com/blog/call-rest-api-powershell-script-export-json-csv/" target="_blank" rel="noopener">PowerShell</a></li>
 	<li><a href="https://zappysys.com/blog/import-rest-api-json-sql-server/" target="_blank" rel="noopener">T-SQL (Using Linked Server)</a></li>
</ul>
</td>
</tr>
</tbody>
</table>
&nbsp;</div>
<h2>Conclusion</h2>
<p>In this post we saw how easy it is to use the Infor Compass JDBC driver in any non-JAVA app in a few steps. <a href="https://zappysys.com/products/odbc-powerpack/odbc-jdbc-bridge-driver/">Click here to download</a> ZappySys JDBC Bridge Driver.</p>
<p>The post <a href="https://zappysys.com/blog/connect-infor-compass-jdbc-driver-odbc-apps-power-bi-excel-informatica-sql-server/">Connect to Infor Compass using JDBC Driver in ODBC Apps (e.g. SQL Server, Power BI, Excel, Informatica)</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to register Salesforce App and obtain Client ID / Secret (for API Call / OAuth)</title>
		<link>https://zappysys.com/blog/register-salesforce-app-obtain-client-id-secret-oauth-api-call/</link>
		
		<dc:creator><![CDATA[ZappySys]]></dc:creator>
		<pubDate>Mon, 27 Dec 2021 20:40:45 +0000</pubDate>
				<category><![CDATA[Salesforce Driver]]></category>
		<category><![CDATA[SSIS Salesforce Connection]]></category>
		<category><![CDATA[SSIS Salesforce Destination]]></category>
		<category><![CDATA[SSIS Salesforce Source]]></category>
		<category><![CDATA[oauth]]></category>
		<category><![CDATA[odbc]]></category>
		<category><![CDATA[salesforce]]></category>
		<category><![CDATA[ssis]]></category>
		<guid isPermaLink="false">https://zappysys.com/blog/?p=9482</guid>

					<description><![CDATA[<p>Introduction Using Salesforce Connection with OAuth App in SSIS / ODBC Once you have Client ID / Secret, you can use it in the Salesforce Connection in SSIS Connector / ODBC Driver for Salesforce like below (Only the new version will have OAuth option) Troubleshooting Known Issues Let&#8217;s look at some common issues with Salesforce [&#8230;]</p>
<p>The post <a href="https://zappysys.com/blog/register-salesforce-app-obtain-client-id-secret-oauth-api-call/">How to register Salesforce App and obtain Client ID / Secret (for API Call / OAuth)</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2>Introduction</h2>
<div class="content_block" id="custom_post_widget-9476">In this section, we will discuss how to register OAuth App to call Salesforce API using Client ID / Secret rather than using your User Id / Password.

Once you follow these steps below to register your Salesforce App (OAuth App), at the end you will get a Client ID (sometimes referred to as App Id) and Client Secret (or App Secret). These two pieces can be used later on to call Salesforce API using OAuth.

So let's get started.
<h3>Register Salesforce App (OAuth)</h3>
<ol>
 	<li>Login into your account and go to <strong><em>Setup</em> </strong>as shown below (click on gear icon at the top right corner):
<img loading="lazy" decoding="async" src="https://zappysys.zendesk.com/attachments/token/7D9Rx9qHJswkt28sC5vTggrNT/?name=inline-1178316509.png" alt="Accessing Salesforce Setup to create an OAuth App" width="342" height="233" data-original-height="233" data-original-width="342" /></li>
 	<li>Then in the search bar input "app" and open <strong><em>App Manager</em></strong>:
<img loading="lazy" decoding="async" src="https://zappysys.zendesk.com/attachments/token/DTjFQpyDw4NViKdJyhyFkO1ng/?name=inline1698967483.png" alt="Searching Salesforce App Manager to create an OAuth App" width="689" height="364" data-original-height="364" data-original-width="689" /></li>
 	<li>Then click <strong><em>New Connected App</em></strong> to create a new OAuth App:
<strong>NOTE:</strong> In some version, it may say <strong><strong>New External Client App
</strong></strong>
<p data-start="1271" data-end="1309">Look for one of the following buttons:</p>

<ul data-start="1310" data-end="1395">
 	<li data-start="1310" data-end="1348">
<p data-start="1312" data-end="1348"><strong data-start="1312" data-end="1333">New Connected App</strong> (Classic name)</p>
</li>
 	<li data-start="1349" data-end="1395">
<p data-start="1351" data-end="1395"><strong data-start="1351" data-end="1378">New External Client App</strong> (Lightning name)</p>
</li>
</ul>
<img loading="lazy" decoding="async" src="https://zappysys.zendesk.com/attachments/token/eD6OrA9TqfRuM5N41Vqd7nrvb/?name=inline684283902.png" alt="Creating a Salesforce App to get data via ODBC driver" width="867" height="327" data-original-height="327" data-original-width="867" /></li>
 	<li>Give your App a name and:
- Enable OAuth Settings
- Set callback URL to following two URLs (one in each line)
<strong><em>https://login.salesforce.com/services/oauth2/success
</em></strong><em><strong>https://zappysys.com/oauth</strong></em>
- Add an OAuth scope you want or simply add "<strong><em>Full access</em></strong>".
- Add "<strong><em>Perform requests on your behalf at any time (offline_token)</em></strong>" scope to get a refresh token so that you don't have to re-authenticate each time requesting an access token:<a href="https://zappysys.com/blog/wp-content/uploads/2018/06/create-salesforce-connected-oauth-app-for-odbc-datasource.png"><img loading="lazy" decoding="async" class="wp-image-4267 size-full" src="https://zappysys.com/blog/wp-content/uploads/2018/06/create-salesforce-connected-oauth-app-for-odbc-datasource.png" alt="Configuring Salesforce App OAuth settings to get data via ODBC driver" width="1041" height="700" srcset="https://zappysys.com/blog/wp-content/uploads/2018/06/create-salesforce-connected-oauth-app-for-odbc-datasource.png 1041w, https://zappysys.com/blog/wp-content/uploads/2018/06/create-salesforce-connected-oauth-app-for-odbc-datasource-300x202.png 300w, https://zappysys.com/blog/wp-content/uploads/2018/06/create-salesforce-connected-oauth-app-for-odbc-datasource-768x516.png 768w, https://zappysys.com/blog/wp-content/uploads/2018/06/create-salesforce-connected-oauth-app-for-odbc-datasource-1024x689.png 1024w, https://zappysys.com/blog/wp-content/uploads/2018/06/create-salesforce-connected-oauth-app-for-odbc-datasource-272x182.png 272w" sizes="(max-width: 1041px) 100vw, 1041px" /></a>

<span style="text-decoration: underline; color: #800000;"><strong>IMPORTANT:</strong></span> You can use "<strong>Access and manage your data (api)</strong>" if you do not like to grant full permission to this app but make sure you request same permission from the caller app too  (Example on ZappySys Salesforce Connection UI -&gt; Advanced Tab -&gt; Set scope as "<strong>api offline_access</strong>" rather than "<strong>full offline_access</strong>"</li>
 	<li>Click "Save".</li>
</ol>
<h3>Get Client Id and Client Secret for Salesforce Connected App</h3>
Once the App is created, we need to find out the App Id / Secret so we can use it for API calls.
<ol>
 	<li>Go to App Manager</li>
 	<li>Find out the recently created App and click View (click on the small arrow to the right)
<a href="https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-view-edit-oauth-app-settings.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-9477" src="https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-view-edit-oauth-app-settings.png" alt="" width="1029" height="413" srcset="https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-view-edit-oauth-app-settings.png 1029w, https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-view-edit-oauth-app-settings-300x120.png 300w, https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-view-edit-oauth-app-settings-768x308.png 768w, https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-view-edit-oauth-app-settings-1024x411.png 1024w" sizes="(max-width: 1029px) 100vw, 1029px" /></a></li>
 	<li>Once App page is loaded you can Copy <strong>Consumer Key</strong> and <strong>Consumer Secret</strong> (click on reveal to see). Also copy anyone Call back URL (We will need this for OAuth Connection &gt; Advanced Tab &gt; Call Back URL or Redirect URL property depending on which ZappySys Product / Driver you are using)
<a href="https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-oauth-app-clientid-secret-callbackurl.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-9478" src="https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-oauth-app-clientid-secret-callbackurl.png" alt="" width="974" height="554" srcset="https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-oauth-app-clientid-secret-callbackurl.png 974w, https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-oauth-app-clientid-secret-callbackurl-300x171.png 300w, https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-oauth-app-clientid-secret-callbackurl-768x437.png 768w" sizes="(max-width: 974px) 100vw, 974px" /></a></li>
 	<li>That's it, you can now use these 3 pieces to ZappySys <strong>OAuth connection UI</strong> or on <strong>Salesforce Connection UI</strong> (new version with OAuth support). The above screenshot shows where to enter these 3 pieces in the New Salesforce Connection. For the OAuth Connection, the redirect URL goes to the Advanced Tab &gt; Callback URL textbox.</li>
</ol>
<h3>Get Client Id and Secret for Salesforce External Client App</h3>
If you created a new App by clicking on the <strong>New External Client App</strong> button, then your App may not be visible in the App Manager Screen. In that case, find it below way.

[caption id="attachment_11637" align="alignnone" width="1222"]<a href="https://zappysys.com/blog/wp-content/uploads/2021/12/obtain-salesforce-oauth-clientid-secret.jpg"><img loading="lazy" decoding="async" class="size-full wp-image-11637" src="https://zappysys.com/blog/wp-content/uploads/2021/12/obtain-salesforce-oauth-clientid-secret.jpg" alt="" width="1222" height="733" srcset="https://zappysys.com/blog/wp-content/uploads/2021/12/obtain-salesforce-oauth-clientid-secret.jpg 1222w, https://zappysys.com/blog/wp-content/uploads/2021/12/obtain-salesforce-oauth-clientid-secret-300x180.jpg 300w, https://zappysys.com/blog/wp-content/uploads/2021/12/obtain-salesforce-oauth-clientid-secret-1024x614.jpg 1024w, https://zappysys.com/blog/wp-content/uploads/2021/12/obtain-salesforce-oauth-clientid-secret-768x461.jpg 768w" sizes="(max-width: 1222px) 100vw, 1222px" /></a> Get Client Id, Client Secret - For New External Client App[/caption]
<h3>Enable Client Credentials Grant (Non-Interactive Run-As)</h3>
If you like to enable Non-Interactive mode, just like UserId / Password Authentication, but without actually passing a real UserId or Password on the Connection UI, then you can enable Client Credentials Flow as below.

<strong>NOTE:</strong> Only the New version of ZappySys Salesforce Connection supports Client Credentials Grant. <span style="text-decoration: underline;"><strong>Version released after Nov 1, 2025 supports this grant type</strong></span>.

[caption id="attachment_11639" align="alignnone" width="419"]<a href="https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-client-credentials-grant-runas.jpg"><img loading="lazy" decoding="async" class="size-full wp-image-11639" src="https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-client-credentials-grant-runas.jpg" alt="" width="419" height="480" srcset="https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-client-credentials-grant-runas.jpg 419w, https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-client-credentials-grant-runas-262x300.jpg 262w" sizes="(max-width: 419px) 100vw, 419px" /></a> Enable Salesforce Client Credentials Grant (Run As)[/caption]
<h3>(OPTIONAL) Configure Salesforce OAuth refresh token validity</h3>
By default, Salesforce Refresh Token doesn't expire once you generate. If you want to change the default behavior, follow these steps.
<ol>
 	<li>Go to "<strong>Manage Connected Apps</strong>" menu item and press on your App name:<img loading="lazy" decoding="async" class="wp-image-4298 size-full" src="https://zappysys.com/blog/wp-content/uploads/2018/06/salesforce-oauth-app-policy-management-2.png" alt="Finding Salesforce App to configure its policies" width="660" height="410" srcset="https://zappysys.com/blog/wp-content/uploads/2018/06/salesforce-oauth-app-policy-management-2.png 660w, https://zappysys.com/blog/wp-content/uploads/2018/06/salesforce-oauth-app-policy-management-2-300x186.png 300w, https://zappysys.com/blog/wp-content/uploads/2018/06/salesforce-oauth-app-policy-management-2-436x272.png 436w" sizes="(max-width: 660px) 100vw, 660px" /></li>
 	<li>Click "Edit Policies" to configure refresh token validity:
<img loading="lazy" decoding="async" class="wp-image-4271 size-full" src="https://zappysys.com/blog/wp-content/uploads/2018/06/edit-salesforce-connected-app-policies.png" alt="Editing Salesforce App OAuth refresh token issuing policy" width="680" height="391" srcset="https://zappysys.com/blog/wp-content/uploads/2018/06/edit-salesforce-connected-app-policies.png 680w, https://zappysys.com/blog/wp-content/uploads/2018/06/edit-salesforce-connected-app-policies-300x173.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></li>
 	<li>Set "<strong>All users may self-authorize</strong>" and "<strong>Refresh token is valid until revoked</strong>" options:<a href="https://zappysys.com/blog/wp-content/uploads/2018/06/salesforce-rest-api-app-odbc-oauth-refresh-token-validity-1.png"><img loading="lazy" decoding="async" class="wp-image-4273 size-full" src="https://zappysys.com/blog/wp-content/uploads/2018/06/salesforce-rest-api-app-odbc-oauth-refresh-token-validity-1.png" alt="Making Salesforce App OAuth refresh token to never expire" width="870" height="498" srcset="https://zappysys.com/blog/wp-content/uploads/2018/06/salesforce-rest-api-app-odbc-oauth-refresh-token-validity-1.png 870w, https://zappysys.com/blog/wp-content/uploads/2018/06/salesforce-rest-api-app-odbc-oauth-refresh-token-validity-1-300x172.png 300w, https://zappysys.com/blog/wp-content/uploads/2018/06/salesforce-rest-api-app-odbc-oauth-refresh-token-validity-1-768x440.png 768w" sizes="(max-width: 870px) 100vw, 870px" /></a></li>
 	<li>Click "Save".</li>
</ol>
<h3></h3></div>
<h2>Using Salesforce Connection with OAuth App in SSIS / ODBC</h2>
<p>Once you have Client ID / Secret, you can use it in the Salesforce Connection in SSIS Connector / ODBC Driver for Salesforce like below (Only the new version will have OAuth option)</p>
<p><a href="https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-connection-using-oauth-app-clientid-secret.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-9513" src="https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-connection-using-oauth-app-clientid-secret.png" alt="" width="604" height="383" srcset="https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-connection-using-oauth-app-clientid-secret.png 604w, https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-connection-using-oauth-app-clientid-secret-300x190.png 300w" sizes="(max-width: 604px) 100vw, 604px" /></a></p>
<h2>Troubleshooting Known Issues</h2>
<p>Let&#8217;s look at some common issues with Salesforce Connection and how to fix them.</p>
<h3>OAuth Error: Missing Required Code Challenge</h3>
<p>When you click Generate Token button, you may get an error like the one below.</p>
<div id="attachment_11066" style="width: 767px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-oauth-pkce-verfier-error-missing-required-code-challenge.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11066" class="size-full wp-image-11066" src="https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-oauth-pkce-verfier-error-missing-required-code-challenge.png" alt="Salesforce OAuth Generate Token Error - Missing Required Code Challenge" width="757" height="571" srcset="https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-oauth-pkce-verfier-error-missing-required-code-challenge.png 757w, https://zappysys.com/blog/wp-content/uploads/2021/12/salesforce-oauth-pkce-verfier-error-missing-required-code-challenge-300x226.png 300w" sizes="(max-width: 757px) 100vw, 757px" /></a><p id="caption-attachment-11066" class="wp-caption-text">Salesforce OAuth Generate Token Error &#8211; Missing Required Code Challenge</p></div>
<p><strong>Solution</strong></p>
<p>Here is how to fix it.</p>
<p>For Salesforce Connection UI: Go to Advanced Tab =&gt; Check Enable PKCE Code Verifier option<br />
&#8211;OR&#8211;<br />
For OAuth Connection UI: Go to OAuth2 Grant Options Tab =&gt; Check Enable Code Verifier Option</p>
<div id="attachment_11067" style="width: 1384px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2021/12/oauth-connection-enable-pkce-code-verifier-option.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11067" class="size-full wp-image-11067" src="https://zappysys.com/blog/wp-content/uploads/2021/12/oauth-connection-enable-pkce-code-verifier-option.png" alt="Enable PKCE code verifier option - OAuth Connection for Salesforce" width="1374" height="637" srcset="https://zappysys.com/blog/wp-content/uploads/2021/12/oauth-connection-enable-pkce-code-verifier-option.png 1374w, https://zappysys.com/blog/wp-content/uploads/2021/12/oauth-connection-enable-pkce-code-verifier-option-300x139.png 300w, https://zappysys.com/blog/wp-content/uploads/2021/12/oauth-connection-enable-pkce-code-verifier-option-1024x475.png 1024w, https://zappysys.com/blog/wp-content/uploads/2021/12/oauth-connection-enable-pkce-code-verifier-option-768x356.png 768w" sizes="(max-width: 1374px) 100vw, 1374px" /></a><p id="caption-attachment-11067" class="wp-caption-text">Enable PKCE code verifier option &#8211; OAuth Connection for Salesforce.</p></div>
<p>The post <a href="https://zappysys.com/blog/register-salesforce-app-obtain-client-id-secret-oauth-api-call/">How to register Salesforce App and obtain Client ID / Secret (for API Call / OAuth)</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Download Gmail Attachment in SSIS</title>
		<link>https://zappysys.com/blog/download-gmail-attachment-in-ssis/</link>
		
		<dc:creator><![CDATA[ZappySys Team]]></dc:creator>
		<pubDate>Wed, 30 Dec 2020 18:29:57 +0000</pubDate>
				<category><![CDATA[JSON File / REST API Driver]]></category>
		<category><![CDATA[REST API Integration]]></category>
		<category><![CDATA[attachment]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[ssis]]></category>
		<category><![CDATA[varbinary]]></category>
		<guid isPermaLink="false">https://zappysys.com/blog/?p=9207</guid>

					<description><![CDATA[<p>Introduction Downloading Gmail Attachments in SSIS is always a little more difficult than working with simple text or numeric columns. If you are not an SSIS expert, doing it for the first time may be challenging. That is why we created this article for you. This is a common request we receive, so we are [&#8230;]</p>
<p>The post <a href="https://zappysys.com/blog/download-gmail-attachment-in-ssis/">Download Gmail Attachment in SSIS</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2>Introduction</h2>
<div class="su-note"  style="border-color:#e5dd9d;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"><div class="su-note-inner su-u-clearfix su-u-trim" style="background-color:#fff7b7;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"><strong>UPDATE:</strong> ZappySys has released a brand new <a href="https://zappysys.com/api/integration-hub/gmail-connector/ssis" target="_blank" rel="noopener">Gmail Connector for SSIS</a>, which makes it much simpler to <strong>download attachments, read / search Emails, users, mail folders, send emails, and more in SSIS</strong> compared to the steps listed in this article. You can still use the steps from this article, but if you are new to APIs or want to avoid the learning curve, use a newer approach.</div></div>
<p>Downloading Gmail Attachments in SSIS is always a little more difficult than working with simple text or numeric columns. If you are not an SSIS expert, doing it for the first time may be challenging. That is why we created this article for you. This is a common request we receive, so we are bringing this article to you.</p>
<p>Gmail is the most popular email service in the world, and it can be helpful to automate and get valuable information from it. We will connect to Gmail with the REST API. For that, if you are not an experienced user of the REST API, do not worry. This article is for you. We will provide simple steps for the connection.</p>
<h2>Requirements</h2>
<p>To do it, we will need the following components:</p>
<ol>
<li><a href="https://docs.microsoft.com/en-us/sql/ssdt/previous-releases-of-sql-server-data-tools-ssdt-and-ssdt-bi?view=sql-server-ver15">SSDT for SSIS</a> must be installed on your computer</li>
<li><a href="https://zappysys.com/products/ssis-powerpack/download/">ZappySys SSIS Powerpack</a> should be installed. This Powerpack Plugin includes connectors to Gmail via the REST API.</li>
</ol>
<p>&nbsp;</p>
<h2>Getting Started</h2>
<h3>Creating the connection</h3>
<ol>
<li>First of all, in SSDT, create a new SSIS project</li>
<li>To create a connection in SSDT, open the Connection Manager and select New Connection.
<div id="attachment_11671" style="width: 732px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2020/12/Create-a-new-connection.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11671" class="wp-image-11671 size-full" src="https://zappysys.com/blog/wp-content/uploads/2020/12/Create-a-new-connection.png" alt="Create a new connection" width="722" height="229" srcset="https://zappysys.com/blog/wp-content/uploads/2020/12/Create-a-new-connection.png 722w, https://zappysys.com/blog/wp-content/uploads/2020/12/Create-a-new-connection-300x95.png 300w, https://zappysys.com/blog/wp-content/uploads/2020/12/Create-a-new-connection-720x229.png 720w" sizes="(max-width: 722px) 100vw, 722px" /></a><p id="caption-attachment-11671" class="wp-caption-text">Create a new connection</p></div></li>
<li>Select the ZS OAuth connection. This is a special connection included with the <a href="https://zappysys.com/products/ssis-powerpack/download/">ZS.<br />
SSIS PowerPack</a> installer that we will use to connect to Gmail.</p>
<div id="attachment_11676" style="width: 488px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2020/12/Select-ZS-OAuth-connector.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11676" class="wp-image-11676 size-full" src="https://zappysys.com/blog/wp-content/uploads/2020/12/Select-ZS-OAuth-connector.png" alt="Select ZS-OAuth connector" width="478" height="447" srcset="https://zappysys.com/blog/wp-content/uploads/2020/12/Select-ZS-OAuth-connector.png 478w, https://zappysys.com/blog/wp-content/uploads/2020/12/Select-ZS-OAuth-connector-300x281.png 300w" sizes="(max-width: 478px) 100vw, 478px" /></a><p id="caption-attachment-11676" class="wp-caption-text">Select ZS-OAuth connector</p></div>
<div class="mceTemp"></div>
</li>
<li>In the ZS OAuth connection, select the Google API OAuth Provider and specify the following credentials and scope permissions:
<div id="attachment_11677" style="width: 713px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2020/12/SSIS-Gmail-connection-1.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11677" class="size-full wp-image-11677" src="https://zappysys.com/blog/wp-content/uploads/2020/12/SSIS-Gmail-connection-1.png" alt="SSIS Gmail connection" width="703" height="674" srcset="https://zappysys.com/blog/wp-content/uploads/2020/12/SSIS-Gmail-connection-1.png 703w, https://zappysys.com/blog/wp-content/uploads/2020/12/SSIS-Gmail-connection-1-300x288.png 300w" sizes="(max-width: 703px) 100vw, 703px" /></a><p id="caption-attachment-11677" class="wp-caption-text">SSIS Gmail connection</p></div>
<pre class="crayon-plain-tag">https://mail.google.com/
https://www.googleapis.com/auth/gmail.modify
https://www.googleapis.com/auth/gmail.readonly
https://www.googleapis.com/auth/gmail.addons.current.message.readonly
https://www.googleapis.com/auth/gmail.addons.current.message.action</pre>
</li>
</ol>
<h3>Creating the package to download Gmail attachments in SSIS</h3>
<ol>
<li>First of all, drag and drop the Data Flow Task from the SSIS Toolbox and double-click it<br />
to edit.</p>
<div id="attachment_11622" style="width: 472px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2019/08/Drag-and-Drop-SSIS-Data-Flow-Task-from-SSIS-Toolbox.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11622" class="wp-image-11622 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/08/Drag-and-Drop-SSIS-Data-Flow-Task-from-SSIS-Toolbox.png" alt="" width="462" height="157" srcset="https://zappysys.com/blog/wp-content/uploads/2019/08/Drag-and-Drop-SSIS-Data-Flow-Task-from-SSIS-Toolbox.png 462w, https://zappysys.com/blog/wp-content/uploads/2019/08/Drag-and-Drop-SSIS-Data-Flow-Task-from-SSIS-Toolbox-300x102.png 300w" sizes="(max-width: 462px) 100vw, 462px" /></a><p id="caption-attachment-11622" class="wp-caption-text">Drag and Drop SSIS Data Flow Task from SSIS Toolbox</p></div></li>
<li>Secondly, in the Data Flow, we will use the JSON Source to connect to Gmail and get the attachments. JSON Source is a ZappySys component used now only to connect to JSON files, but also to connect to REST API Servers that support JSON. In this case, Gmail REST API can send information in JSON Format. Use the connection created before.</li>
<li>Basically, we need to specify the URL of the Gmail attachment. In Gmail, the email attachment is inside the message. Then you need to specify the <em>message-id</em> and the Gmail <em>attachment-id</em> like this:
<div id="attachment_11678" style="width: 838px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2020/12/Zappysys-JSON-source-Gmail-attachments-configuration.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11678" class="size-full wp-image-11678" src="https://zappysys.com/blog/wp-content/uploads/2020/12/Zappysys-JSON-source-Gmail-attachments-configuration.png" alt="Zappysys JSON source Gmail attachments configuration" width="828" height="717" srcset="https://zappysys.com/blog/wp-content/uploads/2020/12/Zappysys-JSON-source-Gmail-attachments-configuration.png 828w, https://zappysys.com/blog/wp-content/uploads/2020/12/Zappysys-JSON-source-Gmail-attachments-configuration-300x260.png 300w, https://zappysys.com/blog/wp-content/uploads/2020/12/Zappysys-JSON-source-Gmail-attachments-configuration-768x665.png 768w" sizes="(max-width: 828px) 100vw, 828px" /></a><p id="caption-attachment-11678" class="wp-caption-text">Zappysys JSON source Gmail attachments configuration</p></div>
<pre class="crayon-plain-tag">https://www.googleapis.com/gmail/v1/users/me/messages/{{User::email_id}}/attachments/{{User::attachment_id}}</pre>
</li>
<li>Now, in the go-to columns tab, set the data type to DT_IMAGE and increase the length of the other columns&#8217; DT_WSTR fields by 1000 and 1500. We set <pre class="crayon-plain-tag">contentBytes</pre> to the <pre class="crayon-plain-tag">DT_IMAGE</pre>  datatype, it&#8217;s like <pre class="crayon-plain-tag">varbinary(MAX)</pre>
<div id="attachment_11675" style="width: 836px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2020/12/JSON-Source-Columns-Tab-attachment-datatype.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11675" class="size-full wp-image-11675" src="https://zappysys.com/blog/wp-content/uploads/2020/12/JSON-Source-Columns-Tab-attachment-datatype.png" alt="JSON Source Columns Tab - attachment datatype" width="826" height="331" srcset="https://zappysys.com/blog/wp-content/uploads/2020/12/JSON-Source-Columns-Tab-attachment-datatype.png 826w, https://zappysys.com/blog/wp-content/uploads/2020/12/JSON-Source-Columns-Tab-attachment-datatype-300x120.png 300w, https://zappysys.com/blog/wp-content/uploads/2020/12/JSON-Source-Columns-Tab-attachment-datatype-768x308.png 768w" sizes="(max-width: 826px) 100vw, 826px" /></a><p id="caption-attachment-11675" class="wp-caption-text">JSON Source Columns Tab &#8211; attachment datatype</p></div></li>
<li>Next, we will use the derived column to set the path to the local folder where the attachment will be stored. The derived column will be used to set the local path for the attachment. Make sure to specify valid paths with double backslashes, since backslashes are special characters. The derived column is a special transformation component that creates new columns. <a href="https://docs.microsoft.com/en-us/sql/integration-services/expressions/integration-services-ssis-expressions?view=sql-server-ver15">SSIS expressions</a>.
<div id="attachment_11672" style="width: 798px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2020/12/Derived-columns-Gmail-attachment.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11672" class="size-full wp-image-11672" src="https://zappysys.com/blog/wp-content/uploads/2020/12/Derived-columns-Gmail-attachment.png" alt="Derived columns - Gmail attachment" width="788" height="624" srcset="https://zappysys.com/blog/wp-content/uploads/2020/12/Derived-columns-Gmail-attachment.png 788w, https://zappysys.com/blog/wp-content/uploads/2020/12/Derived-columns-Gmail-attachment-300x238.png 300w, https://zappysys.com/blog/wp-content/uploads/2020/12/Derived-columns-Gmail-attachment-768x608.png 768w" sizes="(max-width: 788px) 100vw, 788px" /></a><p id="caption-attachment-11672" class="wp-caption-text">Derived columns &#8211; Gmail attachment file path</p></div></li>
<li>Also, we will require the Export column to download into a file. This component is specially used to get images or binary files into the file system.
<div id="attachment_11673" style="width: 763px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2020/12/Export-columns-transformation-Gmail-attachment.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11673" class="size-full wp-image-11673" src="https://zappysys.com/blog/wp-content/uploads/2020/12/Export-columns-transformation-Gmail-attachment.png" alt="Export columns transformation - Gmail attachment" width="753" height="637" srcset="https://zappysys.com/blog/wp-content/uploads/2020/12/Export-columns-transformation-Gmail-attachment.png 753w, https://zappysys.com/blog/wp-content/uploads/2020/12/Export-columns-transformation-Gmail-attachment-300x254.png 300w" sizes="(max-width: 753px) 100vw, 753px" /></a><p id="caption-attachment-11673" class="wp-caption-text">Export columns transformation &#8211; Gmail attachment</p></div></li>
<li>Finally, we will use the <a href="https://zappysys.com/blog/ssis-trash-destination-dummy-data-source-example/">Trash destination</a> to get the attachment and finish the flow. This one is also a ZappySys component ubiquitous.</li>
<li>Your package should be something like this:
<div id="attachment_11674" style="width: 306px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2020/12/Final-Result-Gmail-attachment.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11674" class="size-full wp-image-11674" src="https://zappysys.com/blog/wp-content/uploads/2020/12/Final-Result-Gmail-attachment.png" alt="Final Result - Gmail attachment" width="296" height="320" srcset="https://zappysys.com/blog/wp-content/uploads/2020/12/Final-Result-Gmail-attachment.png 296w, https://zappysys.com/blog/wp-content/uploads/2020/12/Final-Result-Gmail-attachment-278x300.png 278w" sizes="(max-width: 296px) 100vw, 296px" /></a><p id="caption-attachment-11674" class="wp-caption-text">Final Result &#8211; Gmail attachment</p></div></li>
<li>The next step is to run it and test it.</li>
<li>If everything is fine, we will be able to see the file in your system.</li>
</ol>
<h2>Conclusion</h2>
<p>In conclusion, we learned how to download Gmail attachments in SSIS. Basically, you need to use the ZappySys JSON Source to connect to Gmail via the REST API, then use the derived column component to specify the path to store the attachment. The next step is to use the Export column component to export the attachment. Finally, the ZS Trash destination is the attachment&#8217;s destination. If you liked this article, do not hesitate to continue testing and using <a href="https://zappysys.com/">ZappySys PowerPack for SSIS.</a></p>
<h2>API Connector</h2>
<p>Here are a few examples with our <a href="https://zappysys.com/api/integration-hub/gmail-connector/ssis">API connector for Gmail </a></p>
<div id="attachment_11670" style="width: 992px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2020/12/API-connector-Gmail-get-message-attachments.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11670" class="size-full wp-image-11670" src="https://zappysys.com/blog/wp-content/uploads/2020/12/API-connector-Gmail-get-message-attachments.png" alt="API connector - Gmail get message attachments" width="982" height="684" srcset="https://zappysys.com/blog/wp-content/uploads/2020/12/API-connector-Gmail-get-message-attachments.png 982w, https://zappysys.com/blog/wp-content/uploads/2020/12/API-connector-Gmail-get-message-attachments-300x209.png 300w, https://zappysys.com/blog/wp-content/uploads/2020/12/API-connector-Gmail-get-message-attachments-768x535.png 768w" sizes="(max-width: 982px) 100vw, 982px" /></a><p id="caption-attachment-11670" class="wp-caption-text">API connector &#8211; Gmail get message attachments</p></div>
<div id="attachment_11669" style="width: 992px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2020/12/API-connector-Gmail-download-message-attachments.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11669" class="size-full wp-image-11669" src="https://zappysys.com/blog/wp-content/uploads/2020/12/API-connector-Gmail-download-message-attachments.png" alt="API connector - Gmail download message attachments" width="982" height="684" srcset="https://zappysys.com/blog/wp-content/uploads/2020/12/API-connector-Gmail-download-message-attachments.png 982w, https://zappysys.com/blog/wp-content/uploads/2020/12/API-connector-Gmail-download-message-attachments-300x209.png 300w, https://zappysys.com/blog/wp-content/uploads/2020/12/API-connector-Gmail-download-message-attachments-768x535.png 768w" sizes="(max-width: 982px) 100vw, 982px" /></a><p id="caption-attachment-11669" class="wp-caption-text">API connector &#8211; Gmail download message attachments</p></div>
<p>&nbsp;</p>
<p>The post <a href="https://zappysys.com/blog/download-gmail-attachment-in-ssis/">Download Gmail Attachment in SSIS</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Download AdWords report using Google Ads API, ODBC, and XML Driver</title>
		<link>https://zappysys.com/blog/download-adwords-report-using-google-api-odbc-xml-driver/</link>
		
		<dc:creator><![CDATA[ZappySys]]></dc:creator>
		<pubDate>Thu, 24 Oct 2019 13:49:00 +0000</pubDate>
				<category><![CDATA[ODBC Drivers]]></category>
		<category><![CDATA[ODBC PowerPack]]></category>
		<category><![CDATA[XML File / SOAP API Driver]]></category>
		<category><![CDATA[ads]]></category>
		<category><![CDATA[AdWords]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[reporting]]></category>
		<category><![CDATA[xml driver]]></category>
		<guid isPermaLink="false">https://zappysys.com/blog/?p=8244</guid>

					<description><![CDATA[<p>Introduction In the previous article, we learned how to get data from AdWords in SSIS and basically control your AdWords account programmatically, outside the dashboard. In this one, we will continue on how to download AdWords report by using Google Ads API, ODBC, and ZappySys XML Driver. Let&#8217;s not waste our time and cut to [&#8230;]</p>
<p>The post <a href="https://zappysys.com/blog/download-adwords-report-using-google-api-odbc-xml-driver/">Download AdWords report using Google Ads API, ODBC, and XML Driver</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2>Introduction</h2>
<div class="su-note"  style="border-color:#e5de9d;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"><div class="su-note-inner su-u-clearfix su-u-trim" style="background-color:#FFF8B7;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"><strong>UPDATE:</strong> ZappySys has released a brand new <a href="https://zappysys.com/api/integration-hub/google-ads-connector/">API Connector for Google AdWords</a> which makes it much simpler to <strong>Read/Write Google AdWords Data in SSIS/ODBC</strong> compared to the steps listed in this article. You can still use steps from this article but if you are new to API or want to avoid learning curve with API then use newer approach.</p>
<p>Please visit <a href="https://zappysys.com/api/integration-hub/">this page to see all</a> Pre-Configured ready to use API connectors which you can use in <a href="https://zappysys.com/products/ssis-powerpack/ssis-api-source/">SSIS API Source</a> / <a href="https://zappysys.com/products/ssis-powerpack/ssis-api-destination/">SSIS API Destination</a> OR <a href="https://zappysys.com/products/odbc-powerpack/odbc-api-driver/">API ODBC Driver</a> (for non-SSIS Apps such as Excel, Power BI, Informatica).<br />
</div></div>
<p>In the previous article, we learned <a href="https://zappysys.com/blog/get-data-from-google-adwords-using-ssis/" target="_blank" rel="noopener">how to get data from AdWords </a><a href="https://zappysys.com/blog/get-data-from-google-adwords-using-ssis/" target="_blank" rel="noopener">in SSIS</a> and basically control your AdWords account programmatically, outside the dashboard. In this one, we will continue on how to download AdWords report by using Google Ads API, ODBC, and ZappySys XML Driver. Let&#8217;s not waste our time and cut to the chase!</p>
<h2>Prerequisites</h2>
<ol>
<li><a href="http://ads.google.com" target="_blank" rel="noopener">Google Ads</a> account up and running.</li>
<li><a href="https://zappysys.com/products/odbc-powerpack/" target="_blank" rel="noopener">ZappySys ODBC PowerPack</a> installed.</li>
</ol>
<h2>Step-by-Step &#8211; Download AdWords report</h2>
<h3>Get Developer Token</h3>
<p>The first important step to access any Google Ads Account is to request a developer token. <a href="https://developers.google.com/adwords/api/docs/guides/first-api-call" target="_blank" rel="noopener">Click this link</a> for step by step information. Watch a short video to get an overview of the entire process to access data via API.</p>
<h3>Get Client Customer Id</h3>
<p>Login into a <em><strong>non-manager</strong></em> account at <a href="https://ads.google.com" target="_blank" rel="noopener">https://ads.google.com</a> and get your Client Customer Id:</p>
<div id="attachment_8247" style="width: 594px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2019/10/download-adwords-report-using-google-api-and-odbc-clientCustomerId.png" rel="attachment wp-att-8247"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-8247" class="wp-image-8247 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/10/download-adwords-report-using-google-api-and-odbc-clientCustomerId.png" alt="" width="584" height="341" srcset="https://zappysys.com/blog/wp-content/uploads/2019/10/download-adwords-report-using-google-api-and-odbc-clientCustomerId.png 584w, https://zappysys.com/blog/wp-content/uploads/2019/10/download-adwords-report-using-google-api-and-odbc-clientCustomerId-300x175.png 300w" sizes="(max-width: 584px) 100vw, 584px" /></a><p id="caption-attachment-8247" class="wp-caption-text">Getting Google Ads (formerly AdWords) Client Customer Id</p></div>
<p>Copy it to a notepad, we will use it later.</p>
<h3>Open ODBC Data Sources Manager</h3>
<div class="content_block" id="custom_post_widget-8248">Search for "odbc" in your start menu and click on ODBC (64 bits). If you can't find this then you can also go to <span class="lang:default highlight:0 decode:true crayon-inline">Start Menu &gt; ZappySys &gt; ODBC PowerPack &gt; Click on ODBC Data Sources (64-Bit)</span>.
<div class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2018/03/odbc-data-source-64-bits.png">
<img decoding="async" src="https://zappysys.com/blog/wp-content/uploads/2018/03/odbc-data-source-64-bits.png" alt="Open ODBC Data Source" />
</a>
<p class="wp-caption-text">Open ODBC Data Source</p>

</div></div>
<h3>Create ODBC Data Source based on ZappySys XML Driver</h3>
<div class="content_block" id="custom_post_widget-8251">Select tab <em>User DSN</em> if you want to create a data source only for your user, or select System DSN to create a data source for all users or for OS services (e.g. SQL Server Agent):
<div class="wp-caption alignnone">
<img loading="lazy" decoding="async" class="alignnone size-full wp-image-8252" src="https://zappysys.com/blog/wp-content/uploads/2019/10/download-adwords-report-using-google-api-and-odbc-create-xml-driver-based-dsn.png" alt="" width="657" height="486" srcset="https://zappysys.com/blog/wp-content/uploads/2019/10/download-adwords-report-using-google-api-and-odbc-create-xml-driver-based-dsn.png 657w, https://zappysys.com/blog/wp-content/uploads/2019/10/download-adwords-report-using-google-api-and-odbc-create-xml-driver-based-dsn-300x222.png 300w" sizes="(max-width: 657px) 100vw, 657px" />
<p class="wp-caption-text">Creating ZappySys XML Driver based data source</p>
</div></div>
<h3>Configure authentication in the ODBC data source</h3>
<p>Let&#8217;s authenticate first:</p>
<ol>
<li>Select <strong>OAuth</strong> in <em>Connection Type</em> property.</li>
<li>Click <strong>Click to Configure</strong> link.</li>
<li>In <em>OAuth Provider</em> property select <strong>Google</strong>.</li>
<li>Then either select <strong>Use Default OAuth App</strong> or <strong>Use Custom OAuth App</strong>. For the latter, you will need to create a <a href="https://zappysys.com/blog/register-google-oauth-application-get-clientid-clientsecret/#Step-By-Step_How_to_register_Google_OAuth_Application" target="_blank" rel="noopener">Google OAuth App yourself</a>. It&#8217;s perfectly safe to use the default application, but if your company policy does not allow it, you may consider creating it yourself.</li>
<li>In <em>Scopes</em> enter:<br />
<code>https://www.googleapis.com/auth/adwords</code></li>
<li>Then hit <strong>Generate Token</strong> and hit allow once asked.</li>
</ol>
<div id="attachment_8261" style="width: 666px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2019/10/download-adwords-report-using-google-api-and-odbc-oauth-configuration-getting-tokens.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-8261" class="wp-image-8261 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/10/download-adwords-report-using-google-api-and-odbc-oauth-configuration-getting-tokens.png" alt="" width="656" height="745" srcset="https://zappysys.com/blog/wp-content/uploads/2019/10/download-adwords-report-using-google-api-and-odbc-oauth-configuration-getting-tokens.png 656w, https://zappysys.com/blog/wp-content/uploads/2019/10/download-adwords-report-using-google-api-and-odbc-oauth-configuration-getting-tokens-264x300.png 264w" sizes="(max-width: 656px) 100vw, 656px" /></a><p id="caption-attachment-8261" class="wp-caption-text">Download AdWords report &#8211; Configuring authentication in ODBC data source</p></div>
<h3>Proceed with HTTP request configuration</h3>
<p>Then go on with configuring the data source:</p>
<div id="attachment_8260" style="width: 711px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2019/10/download-adwords-report-using-google-api-and-odbc-xml-data-source-configuration.png" rel="attachment wp-att-8260"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-8260" class="wp-image-8260 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/10/download-adwords-report-using-google-api-and-odbc-xml-data-source-configuration.png" alt="" width="701" height="702" srcset="https://zappysys.com/blog/wp-content/uploads/2019/10/download-adwords-report-using-google-api-and-odbc-xml-data-source-configuration.png 701w, https://zappysys.com/blog/wp-content/uploads/2019/10/download-adwords-report-using-google-api-and-odbc-xml-data-source-configuration-150x150.png 150w, https://zappysys.com/blog/wp-content/uploads/2019/10/download-adwords-report-using-google-api-and-odbc-xml-data-source-configuration-300x300.png 300w" sizes="(max-width: 701px) 100vw, 701px" /></a><p id="caption-attachment-8260" class="wp-caption-text">Configuring HTTP request in ODBC data source to download an AdWords report</p></div>
<ol>
<li>Give your data source a name</li>
<li>Then input this URL to download the report:<br />
<code>https://adwords.google.com/api/adwords/reportdownload/v201809</code><br />
If the above URL does not work, <a href="https://developers.google.com/adwords/api/docs/guides/reporting#http_request_url" target="_blank" rel="noopener">get the working one from Google&#8217;s documentation</a>.</li>
<li>Input <strong>POST</strong> as <em>HTTP Request Method</em>.</li>
<li>In Body enter this text:<br />
<code>__rdxml=&lt;reportDefinition xmlns="https://adwords.google.com/api/adwords/cm/v201809"&gt;<br />
&lt;selector&gt;<br />
&lt;fields&gt;CampaignId&lt;/fields&gt;<br />
&lt;fields&gt;Impressions&lt;/fields&gt;<br />
&lt;fields&gt;Clicks&lt;/fields&gt;<br />
&lt;fields&gt;Cost&lt;/fields&gt;<br />
&lt;predicates&gt;<br />
&lt;field&gt;CampaignStatus&lt;/field&gt;<br />
&lt;operator&gt;IN&lt;/operator&gt;<br />
&lt;values&gt;ENABLED&lt;/values&gt;<br />
&lt;values&gt;PAUSED&lt;/values&gt;<br />
&lt;/predicates&gt;<br />
&lt;/selector&gt;<br />
&lt;reportName&gt;My Campaign Performance Report&lt;/reportName&gt;<br />
&lt;reportType&gt;CAMPAIGN_PERFORMANCE_REPORT&lt;/reportType&gt;<br />
&lt;dateRangeType&gt;LAST_7_DAYS&lt;/dateRangeType&gt;<br />
&lt;downloadFormat&gt;XML&lt;/downloadFormat&gt;<br />
&lt;/reportDefinition&gt;</code><br />
This will display the data of CAMPAIGN_PERFORMANCE_REPORT report (campaign Id, impressions, clicks, and cost) for the last 7 days, for all campaigns that are enabled or paused. Make sure to visit the <a href="https://developers.google.com/adwords/api/docs/guides/reporting#create_a_report_definition" target="_blank" rel="noopener">Google documentation page</a>, which contains the information about how to download a different kind of report, how to configure predicates, etc.</li>
<li>In <em>Body Content Type</em> property select <strong>Form (application/x-www-form-urlencoded) </strong>option.</li>
<li>In <em>HTTP Headers</em> enter your <strong>developerToken</strong> and <strong>clientCustomerId</strong> retrieved in previous steps.</li>
</ol>
<h3>Select data filter in ODBC data source</h3>
<p>Then hit <strong>Select Filter</strong> button and select <strong>row</strong> node, so that <em>Array Filter</em> is set to <strong>$.report.table.row[*]</strong></p>
<div id="attachment_8264" style="width: 662px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/download-adwords-report-using-google-api-odbc-xml-driver/download-adwords-report-using-google-api-and-odbc-the-filter/#main" rel="attachment wp-att-8264"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-8264" class="wp-image-8264 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/10/download-adwords-report-using-google-api-and-odbc-the-filter.png" alt="" width="652" height="696" srcset="https://zappysys.com/blog/wp-content/uploads/2019/10/download-adwords-report-using-google-api-and-odbc-the-filter.png 652w, https://zappysys.com/blog/wp-content/uploads/2019/10/download-adwords-report-using-google-api-and-odbc-the-filter-281x300.png 281w" sizes="(max-width: 652px) 100vw, 652px" /></a><p id="caption-attachment-8264" class="wp-caption-text">Filtering on AdWords report data</p></div>
<p>If asked whether you want to treat the <strong>row</strong> element as an array, click &#8220;yes&#8221;. You can also go to the <strong>Xml Array Handling</strong> tab and see if the element <strong>row</strong> is specified there.</p>
<h2>The Results</h2>
<p>To view the results press <strong>Preview</strong> tab and then click <strong>Preview Data</strong>:</p>
<div id="attachment_8266" style="width: 628px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2019/10/download-adwords-report-using-google-api-and-odbc-the-results-b.png" rel="attachment wp-att-8266"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-8266" class="wp-image-8266 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/10/download-adwords-report-using-google-api-and-odbc-the-results-b.png" alt="" width="618" height="647" srcset="https://zappysys.com/blog/wp-content/uploads/2019/10/download-adwords-report-using-google-api-and-odbc-the-results-b.png 618w, https://zappysys.com/blog/wp-content/uploads/2019/10/download-adwords-report-using-google-api-and-odbc-the-results-b-287x300.png 287w" sizes="(max-width: 618px) 100vw, 618px" /></a><p id="caption-attachment-8266" class="wp-caption-text">Previewing AdWords report data</p></div>
<p>Now you can use this data source and get the data into an <a href="https://zappysys.com/blog/import-json-excel-load-file-rest-api/#How_to_import_REST_API_data_to_Excel" target="_blank" rel="noopener">Excel sheet</a>, <a href="https://zappysys.com/blog/call-soap-api-power-bi-read-xml-web-service-data/#Import_XML_SOAP_Web_Service_in_Power_BI_Using_XML_Driver" target="_blank" rel="noopener">Power BI report</a>, <a href="https://zappysys.com/blog/category/odbc-powerpack/odbc-gateway/" target="_blank" rel="noopener">SQL Server</a> (would need to create a data source in <a href="https://zappysys.com/products/odbc-powerpack/data-gateway/" target="_blank" rel="noopener">ZappySys Data Gateway</a> instead) or <a href="https://zappysys.com/blog/category/odbc-powerpack/odbc-app-integration/" target="_blank" rel="noopener">elsewhere</a>.</p>
<h2>Reusing the data source</h2>
<p>If your client application supports, you can override data source settings, such as HTTP body, in SQL query using <strong>WITH</strong> clause. In that case, you won&#8217;t need to create multiple data sources for different kind of reports; e.g.:</p>
<p><code>SELECT * FROM $ (RequestData='@c:\files\report-definition.txt')</code></p>
<p><code>SELECT * FROM $ (RequestData='__rdxml=&lt;reportDefinition xmlns="https://adwords.google.com/api/adwords/cm/v201809"&gt;<br />
&lt;selector&gt;<br />
&lt;fields&gt;CampaignId&lt;/fields&gt;<br />
&lt;fields&gt;Cost&lt;/fields&gt;<br />
&lt;/selector&gt;<br />
&lt;reportName&gt;My Campaign Performance Report&lt;/reportName&gt;<br />
&lt;reportType&gt;CAMPAIGN_PERFORMANCE_REPORT&lt;/reportType&gt;<br />
&lt;dateRangeType&gt;LAST_7_DAYS&lt;/dateRangeType&gt;<br />
&lt;downloadFormat&gt;XML&lt;/downloadFormat&gt;<br />
&lt;/reportDefinition&gt;')</code></p>
<p>Build a SQL query using the <strong>Query Builder</strong>:</p>
<div id="attachment_8267" style="width: 597px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-8267" class="wp-image-8267 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/10/download-adwords-report-using-google-api-and-odbc-query-builder.png" alt="" width="587" height="373" srcset="https://zappysys.com/blog/wp-content/uploads/2019/10/download-adwords-report-using-google-api-and-odbc-query-builder.png 587w, https://zappysys.com/blog/wp-content/uploads/2019/10/download-adwords-report-using-google-api-and-odbc-query-builder-300x191.png 300w" sizes="(max-width: 587px) 100vw, 587px" /><p id="caption-attachment-8267" class="wp-caption-text">Use Query Builder to construct SQL query and override data source properties</p></div>
<h2>Conclusion</h2>
<p>In this article, we learned how to download AdWords report using ODBC PowerPack and Google API. We created an ODBC data source based on XML Driver, then configured the OAuth authentication, HTTP request and data filtering without a single line of code. Then we previewed AdWords &#8220;Campaign Performance Report&#8221; data and finally, considered how to reuse the data source we created. Visit <a href="https://zappysys.com/blog/category/odbc-powerpack/odbc-app-integration/" target="_blank" rel="noopener">https://zappysys.com/blog/category/odbc-powerpack/odbc-app-integration/</a> for examples of how to integrate data sources based on ZappySys Drivers into applications.</p>
<h2>References</h2>
<p><a href="https://developers.google.com/adwords/api/docs/guides/reporting" target="_blank" rel="noopener">https://developers.google.com/adwords/api/docs/guides/reporting</a></p>
<p><a href="https://developers.google.com/adwords/api/docs/appendix/reports" target="_blank" rel="noopener">https://developers.google.com/adwords/api/docs/appendix/reports</a></p>
<p><a href="https://developers.google.com/adwords/api/docs/appendix/reports/campaign-performance-report" target="_blank" rel="noopener">https://developers.google.com/adwords/api/docs/appendix/reports/campaign-performance-report</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a href="https://zappysys.com/blog/download-adwords-report-using-google-api-odbc-xml-driver/">Download AdWords report using Google Ads API, ODBC, and XML Driver</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Get data from Google Search Console API in SSIS and ODBC Apps</title>
		<link>https://zappysys.com/blog/get-data-google-search-console-api-ssis-odbc-drivers/</link>
		
		<dc:creator><![CDATA[ZappySys]]></dc:creator>
		<pubDate>Wed, 09 Oct 2019 20:22:28 +0000</pubDate>
				<category><![CDATA[JSON File / REST API Driver]]></category>
		<category><![CDATA[ODBC Gateway]]></category>
		<category><![CDATA[ODBC PowerPack]]></category>
		<category><![CDATA[SSIS JSON Source (File/REST)]]></category>
		<category><![CDATA[SSIS REST API Task]]></category>
		<category><![CDATA[google api]]></category>
		<category><![CDATA[oauth]]></category>
		<guid isPermaLink="false">https://zappysys.com/blog/?p=8128</guid>

					<description><![CDATA[<p>Introduction In our previous few posts we saw how to call various google apis in SSIS.  In this post lets learn how to call Google Search Console API in SSIS or other ODBC Compatible Apps such as Power BI, Informatica, SSRS using API Drivers for ODBC About Google Search Console API (Google Webmaster API) If [&#8230;]</p>
<p>The post <a href="https://zappysys.com/blog/get-data-google-search-console-api-ssis-odbc-drivers/">Get data from Google Search Console API in SSIS and ODBC Apps</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2>Introduction</h2>
<p>In our previous few posts we saw how to call various <a href="https://zappysys.com/blog/category/google-api/" target="_blank" rel="noopener">google apis</a> in SSIS.  In this post lets learn how to call Google Search Console API in SSIS or other ODBC Compatible Apps such as Power BI, Informatica, SSRS using <a href="https://zappysys.com/products/odbc-powerpack/">API Drivers for ODBC</a></p>
<div class="content_block" id="custom_post_widget-2523"><h2><span id="Prerequisites">Prerequisites</span></h2>
Before we perform the steps listed in this article, you will need to make sure the following prerequisites are met:
<ol style="margin-left: 1.5em;">
 	<li><abbr title="SQL Server Integration Services">SSIS</abbr> designer installed. Sometimes it is referred to as <abbr title="Business Intelligence Development Studio">BIDS</abbr> or <abbr title="SQL Server Data Tools">SSDT</abbr> (<a href="https://docs.microsoft.com/en-us/sql/ssdt/download-sql-server-data-tools-ssdt" target="_blank" rel="noopener">download it from the Microsoft site</a>).</li>
 	<li>Basic knowledge of SSIS package development using <em>Microsoft SQL Server Integration Services</em>.</li>
 	<li>Make sure <span style="text-decoration: underline;"><a href="https://zappysys.com/products/ssis-powerpack/" target="_blank" rel="noopener">ZappySys SSIS PowerPack</a></span> is installed (<a href="https://zappysys.com/products/ssis-powerpack/download/" target="_blank" rel="noopener">download it</a>, if you haven't already).</li>
 	<li>(<em>Optional step</em>)<em>.</em> <a href="https://zappysys.zendesk.com/hc/en-us/articles/360035974593" target="_blank" rel="noopener">Read this article</a>, if you are planning to deploy packages to a server and schedule their execution later.</li>
</ol></div>
<h2>About Google Search Console API (Google Webmaster API)</h2>
<p>If you are new to Google Search Console API (i.e. Webmaster API) then start <a href="https://developers.google.com/webmaster-tools/search-console-api-original/v3/prereqs" target="_blank" rel="noopener">from this link</a>. You can also <a href="https://developers.google.com/apis-explorer/#p/webmasters/v3/" target="_blank" rel="noopener">check API Explorer</a> here to test API requests.</p>
<p>Search API can be called by supplying either <a href="https://developers.google.com/webmaster-tools/search-console-api-original/v3/how-tos/authorizing#APIKey" target="_blank" rel="noopener">API key</a> in URL  or <a href="https://zappysys.com/blog/register-google-oauth-application-get-clientid-clientsecret/">use OAuth</a></p>
<p>Search Console V3 Covers following APIs (May add more in future)</p>
<div class="su-table su-table-alternate">
<table class="NYYWNC-h-b">
<tbody>
<tr>
<td><strong><span class="gwt-InlineLabel">API Name</span></strong></td>
<td><strong><span class="gwt-InlineLabel">Description</span></strong></td>
</tr>
<tr>
<td class="NYYWNC-h-c"><span class="gwt-InlineLabel">webmasters.searchanalytics.query</span></td>
<td class="NYYWNC-h-a"><span class="gwt-InlineLabel">Query your data with filters and parameters that you define. Returns zero or more rows grouped by the row keys that you define. You must define a date range of one or more days. When date is one of the group by values, any days without data are omitted from the result list. If you need to know which days have data, issue a broad date range query grouped by date for any metric, and see which day rows are returned.</span></td>
</tr>
<tr>
<td class="NYYWNC-h-c"><span class="gwt-InlineLabel">webmasters.sitemaps.delete</span></td>
<td class="NYYWNC-h-a"><span class="gwt-InlineLabel">Deletes a sitemap from this site.</span></td>
</tr>
<tr>
<td class="NYYWNC-h-c"><span class="gwt-InlineLabel">webmasters.sitemaps.get</span></td>
<td class="NYYWNC-h-a"><span class="gwt-InlineLabel">Retrieves information about a specific sitemap.</span></td>
</tr>
<tr>
<td class="NYYWNC-h-c"><span class="gwt-InlineLabel">webmasters.sitemaps.list</span></td>
<td class="NYYWNC-h-a"><span class="gwt-InlineLabel">Lists the sitemaps-entries submitted for this site, or included in the sitemap index file (if sitemapIndex is specified in the request).</span></td>
</tr>
<tr>
<td class="NYYWNC-h-c"><span class="gwt-InlineLabel">webmasters.sitemaps.submit</span></td>
<td class="NYYWNC-h-a"><span class="gwt-InlineLabel">Submits a sitemap for a site.</span></td>
</tr>
<tr>
<td class="NYYWNC-h-c"><span class="gwt-InlineLabel">webmasters.sites.add</span></td>
<td class="NYYWNC-h-a"><span class="gwt-InlineLabel">Adds a site to the set of the user&#8217;s sites in Search Console.</span></td>
</tr>
<tr>
<td class="NYYWNC-h-c"><span class="gwt-InlineLabel">webmasters.sites.delete</span></td>
<td class="NYYWNC-h-a"><span class="gwt-InlineLabel">Removes a site from the set of the user&#8217;s Search Console sites.</span></td>
</tr>
<tr>
<td class="NYYWNC-h-c"><span class="gwt-InlineLabel">webmasters.sites.get</span></td>
<td class="NYYWNC-h-a"><span class="gwt-InlineLabel">Retrieves information about specific site.</span></td>
</tr>
<tr>
<td class="NYYWNC-h-c"><span class="gwt-InlineLabel">webmasters.sites.list</span></td>
<td class="NYYWNC-h-a"><span class="gwt-InlineLabel">Lists the user&#8217;s Search Console sites.</span></td>
</tr>
</tbody>
</table>
</div>
<p><strong>Search Console API Call Example</strong></p>
<p>Here is simple example of Search Console API call. Below example returns all sites you added under your search console account.</p>
<p><strong>Request</strong></p><pre class="crayon-plain-tag">GET https://www.googleapis.com/webmasters/v3/sites?key={YOUR_API_KEY}</pre><p>
<strong>Response</strong></p><pre class="crayon-plain-tag">{
 "siteEntry": [
  {
   "siteUrl": "https://my-google-search-api-1.com/",
   "permissionLevel": "siteOwner"
  },
  {
   "siteUrl": "https://www.my-google-search-api-1.com/",
   "permissionLevel": "siteOwner"
  },
  {
   "siteUrl": "https://my-google-search-api-2.com/",
   "permissionLevel": "siteOwner"
  },
  {
   "siteUrl": "https://www.my-google-search-api-2.com/",
   "permissionLevel": "siteOwner"
  }
 ]
}</pre><p>
&nbsp;</p>
<h2>Step-By-Step &#8211; Call Search Console API in SSIS</h2>
<p>Now lets look at very simple API call to <a href="https://developers.google.com/webmaster-tools/search-console-api-original/v3/sites/list" target="_blank" rel="noopener">list search console sites</a></p>
<ol>
<li>Open SSIS Package</li>
<li>Drag and drop ZS REST API Task from SSIS tool box
<div style="width: 565px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="size-full" src="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/rest-api-task/ssis-rest-api-web-service-task-drag.png" alt="Drag and Drop ZS REST API Task from SSIS Toolbox" width="555" height="199" /><p class="wp-caption-text">Drag and Drop ZS REST API Task from SSIS Toolbox</p></div></li>
<li>Now double click REST API Task and configure (Skip <strong>Step 5</strong> if you use <a href="https://developers.google.com/webmaster-tools/search-console-api-original/v3/how-tos/authorizing#APIKey" target="_blank" rel="noopener">API Key</a> instead of OAuth).</li>
<li>Enter API URL you like to call. For This example we will use simple URL as below<br />
<strong>OAuth based Authentication</strong><br />
<pre class="crayon-plain-tag">https://www.googleapis.com/webmasters/v3/sites/</pre>
<strong>API Key based Authentication</strong><br />
<pre class="crayon-plain-tag">https://www.googleapis.com/webmasters/v3/sites/?key={YOUR_API_KEY}</pre>
</li>
<li>If you want to use OAuth based credentials then perform the following steps
<ol>
<li>Select <strong>URL from Connection </strong></li>
<li>Click <strong>New ZS-OAUTH</strong> connection from Dropdown</li>
<li>On the OAuth UI select <strong>Google as Provider</strong></li>
<li>Enter Scopes as below<br />
<pre class="crayon-plain-tag">https://www.googleapis.com/auth/webmasters
https://www.googleapis.com/auth/webmasters.readonly</pre>
</li>
<li>Click Generate Token. When you get Login Prompt enter your Google Account information and <strong>click Accept</strong></li>
<li>Click OK to Save OAuth UI</li>
</ol>
</li>
<li>This is how it will look like if you use OAuth Connection
<div id="attachment_8131" style="width: 1037px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2019/10/call-google-search-api-using-oauth-ssis-rest-api-task.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-8131" class="size-full wp-image-8131" src="https://zappysys.com/blog/wp-content/uploads/2019/10/call-google-search-api-using-oauth-ssis-rest-api-task.png" alt="Call Google Search Console API using SSIS REST API Task (OAuth Authentication)" width="1027" height="869" srcset="https://zappysys.com/blog/wp-content/uploads/2019/10/call-google-search-api-using-oauth-ssis-rest-api-task.png 1027w, https://zappysys.com/blog/wp-content/uploads/2019/10/call-google-search-api-using-oauth-ssis-rest-api-task-300x254.png 300w, https://zappysys.com/blog/wp-content/uploads/2019/10/call-google-search-api-using-oauth-ssis-rest-api-task-768x650.png 768w, https://zappysys.com/blog/wp-content/uploads/2019/10/call-google-search-api-using-oauth-ssis-rest-api-task-1024x866.png 1024w" sizes="(max-width: 1027px) 100vw, 1027px" /></a><p id="caption-attachment-8131" class="wp-caption-text">Call Google Search Console API using SSIS REST API Task (OAuth Authentication)</p></div></li>
<li>Now click Test Request / Response to check if its working. You should get response like below</li>
</ol>
<p>&nbsp;</p>
<h2>Read from Search Console Analytics API (query)</h2>
<p>Now let&#8217;s look at how to <a href="https://developers.google.com/webmaster-tools/search-console-api-original/v3/searchanalytics/query" target="_blank" rel="noopener">call Search Console Analytics API (i.e. query)</a> for Specified Site and extract data in tabular format using <a href="https://zappysys.com/products/ssis-powerpack/ssis-json-file-source/" target="_blank" rel="noopener">ZS JSON Source</a>. In below example we will obtain search Impression, clicks, position etc for specified site. We will aggregate this over date and country (dimensions).</p>
<p>In this section you will learn how to use JSON Source Adapter to extract data from JSON file (In this case its Web URL).</p>
<ol>
<li>Firstly, You need to <b>Download and Install</b> SSIS <a href="https://zappysys.com/products/ssis-powerpack/download/" target="_blank" rel="noopener">ZappySys PowerPack.</a></li>
<li>Once you finished first step, Open Visual Studio and Create New SSIS Package Project.</li>
<li>Now, Drag and Drop SSIS <b>Data Flow Task</b> from SSIS Toolbox.<br />
<img decoding="async" class="figureimage" title="SSIS Data Flow Task - Drag and Drop" src="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/drag-and-drop-data-flow-task.png" alt="SSIS Data Flow Task - Drag and Drop" /></li>
<li>Double click on the Data Flow task to see Data Flow designer surface.</li>
<li>From the SSIS toolbox drag and drop JSON Source on the Data Flow designer surface.<br />
<img decoding="async" class="figureimage" title="SSIS JSON Source - Drag and Drop" src="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/json-source/ssis-json-source-adapter-drag.png" alt="SSIS JSON Source - Drag and Drop" /></li>
<li>Double click JSON Source and configure like below
<ol>
<li>Enter URL as below. Notice two things, first we used <strong>&lt;&lt;somedata,FUN_URLENC&gt;&gt;</strong> <a href="https://zappysys.com/onlinehelp/ssis-powerpack/scr/ssis-format-specifiers.htm" target="_blank" rel="noopener">placeholder function</a> to encode <strong>:</strong> and <strong>//</strong> in the URL so it <a href="https://zappysys.zendesk.com/hc/en-us/articles/360012261713">become %2F %3A</a>. We use <pre class="crayon-plain-tag">--dont-escape--</pre>  suffix at the end.<br />
<strong>For OAuth based Credentials</strong><br />
<pre class="crayon-plain-tag">https://www.googleapis.com/webmasters/v3/sites/&lt;&lt;https://mysite.com,FUN_URLENC&gt;&gt;/searchAnalytics/query--dont-escape--</pre>
<strong>For API Key based Credentials</strong><br />
<pre class="crayon-plain-tag">https://www.googleapis.com/webmasters/v3/sites/&lt;&lt;https://mysite.com,FUN_URLENC&gt;&gt;/searchAnalytics/query/?key={YOUR_API_KEY}--dont-escape--</pre>
</li>
<li>Check Use Credentials and select OAuth connection (created earlier) (if you are using API key in URL then skip this step).</li>
<li>Select <strong>POST</strong> as HTTP Method</li>
<li>Enter Body for Query. Here are <a href="https://developers.google.com/webmaster-tools/search-console-api-original/v3/how-tos/search_analytics" target="_blank" rel="noopener">some examples</a> for various queries you can use. For our case we want to group by date and country so use below<br />
<pre class="crayon-plain-tag">{
"startDate": "2019-01-01",
"endDate": "2019-01-10",
"dimensions" : ["date","country"]
}</pre>
</li>
<li>Select <strong>Content Type</strong> as <pre class="crayon-plain-tag">application/json</pre>  from Content Type drop down.</li>
<li>Select Filter or enter as  <pre class="crayon-plain-tag">$.rows[*]</pre></li>
<li>Now go to Extract Multiple Arrays Tab and <strong>Check Array Flattening Option</strong> (on older version it was on the different Tab)</li>
</ol>
</li>
<li>Click Preview and you will see your Google Search Console API data as below.
<div id="attachment_8138" style="width: 914px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2019/10/read-google-search-console-api-example.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-8138" class="size-full wp-image-8138" src="https://zappysys.com/blog/wp-content/uploads/2019/10/read-google-search-console-api-example.png" alt="Read from Google Search API Console (Analytics Query Endpoint) - JSON Source" width="904" height="827" srcset="https://zappysys.com/blog/wp-content/uploads/2019/10/read-google-search-console-api-example.png 904w, https://zappysys.com/blog/wp-content/uploads/2019/10/read-google-search-console-api-example-300x274.png 300w, https://zappysys.com/blog/wp-content/uploads/2019/10/read-google-search-console-api-example-768x703.png 768w" sizes="(max-width: 904px) 100vw, 904px" /></a><p id="caption-attachment-8138" class="wp-caption-text">Read from Google Search API Console (Analytics Query Endpoint) &#8211; JSON Source</p></div></li>
</ol>
<h2>Loading Google Search Console API data into SQL Server / Other Target</h2>
<div class="content_block" id="custom_post_widget-5617"><p>ZappySys SSIS PowerPack makes it easy to load data from various sources such as REST, SOAP, JSON, XML, CSV or from other source into SQL Server, or PostgreSQL, or Amazon Redshift, or other  targets. The <strong>Upsert Destination</strong> component allows you to automatically insert new records and update existing ones based on key columns. Below are the detailed steps to configure it.</p>
<h3>Step 1: Add Upsert Destination to Data Flow</h3>
<ol>
<li>Drag and drop the <strong>Upsert Destination</strong> component from the SSIS Toolbox.</li>
<li>Connect your source component (e.g., JSON / REST / Other Source) to the Upsert Destination.</li>
</ol>
<div class="wp-caption aligncenter">
<a href="https://zappysys.com/blog/wp-content/uploads/2017/08/ssis-data-flow-drag-drop-upsert-destination.png">
<img loading="lazy" decoding="async" class="size-full" alt="" src="https://zappysys.com/blog/wp-content/uploads/2017/08/ssis-data-flow-drag-drop-upsert-destination.png" /></a>
<p class="wp-caption-text">SSIS - Data Flow - Drang and Drop Upsert Destination Component</p>
</div>
<h3>Step 2: Configure Target Connection</h3>
<ol>
<li>Double-click the <strong>Upsert Destination</strong> component to open the configuration window.</li>
<li>Under <strong>Connection</strong>, select an existing target connection or click <strong>NEW</strong> to create a new connection.
<ul>
<li>Example: SQL Server, or PostgreSQL, or Amazon Redshift.</li>
</ul>
</li>
</ol>
<h3>Step 3: Select or Create Target Table</h3>
<ol>
<li>In the <strong>Target Table</strong> dropdown, select the table where you want to load data.</li>
<li>Optionally, click <strong>NEW</strong> to create a new table based on the source columns.</li>
</ol>
<div class="wp-caption aligncenter">
<a href="https://zappysys.com/blog/wp-content/uploads/2020/09/upsert-destination-configuration.png">
<img loading="lazy" decoding="async" class="size-full" alt="" src="https://zappysys.com/blog/wp-content/uploads/2020/09/upsert-destination-configuration.png" /></a>
<p class="wp-caption-text">Configure SSIS Upsert Destination Connection - Loading data (REST / SOAP / JSON / XML /CSV) into SQL Server or other target using SSIS</p>
</div>
<h3>Step 4: Map Columns</h3>
<ol>
<li>Go to the <strong>Mappings</strong> tab.</li>
<li>Click <strong>Auto Map</strong> to map source columns to target columns by name.</li>
<li>Ensure you <strong>check the Primary key column(s)</strong> that will determine whether a record is inserted or updated.</li>
<li>You can manually adjust the mappings if necessary.</li>
</ol>
 <div class="wp-caption aligncenter">
<a href="https://zappysys.com/blog/wp-content/uploads/2020/09/upsert-destination-key.png">
<img loading="lazy" decoding="async" class="size-full" alt="" src="https://zappysys.com/blog/wp-content/uploads/2020/09/upsert-destination-key.png" /></a>
<p class="wp-caption-text">SSIS Upsert Destination - Columns Mappings</p>
</div>
<h3>Step 5: Save Settings</h3>
<ul>
<li>Click <strong>OK</strong> to save the Upsert Destination configuration.</li>
</ul>
<h3>Step 6: Optional: Add Logging or Analysis</h3>
<ul>
<li>You may add extra destination components to log the number of inserted vs. updated records for monitoring or auditing purposes.</li>
</ul>
<h3>Step 7: Execute the Package</h3>
<ul>
<li>Run your SSIS package and verify that the data is correctly inserted and updated in the target table.</li>
</ul>
<div class="wp-caption aligncenter">
<a href="https://zappysys.com/blog/wp-content/uploads/2018/12/ssis-upsert-destination-execute.png">
<img loading="lazy" decoding="async" class="size-full" alt="" src="https://zappysys.com/blog/wp-content/uploads/2018/12/ssis-upsert-destination-execute.png" /></a>
<p class="wp-caption-text">SSIS Upsert Destination Execution</p>
</div></div>
<p>&nbsp;</p>
<h2>Import Google Search Console API data in Reporting / other ETL tools (ODBC Usecase)</h2>
<p>There will be a time when you dont want to use SSIS connector like mentioned in previous sections but extract Google Search API data in Reporting Tools / Other ETL Platform.  Good news is you can use <a href="https://zappysys.com/products/odbc-powerpack/odbc-json-rest-api-driver/" target="_blank" rel="noopener">ZappySys ODBC Driver for JSON / REST API</a> in ODBC Apps. See few popular ODBC Apps below.</p>
<ul>
<li>Power BI connection for Google Search Console API</li>
<li>Excel connection for Google Search Console API</li>
<li>Informatica connection for Google Search Console API</li>
<li>MS Access connection for Google Search Console API</li>
<li>C# , PowerShell, VB.net connection for Google Search Console API</li>
</ul>
<div id="attachment_6416" style="width: 766px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2019/01/odbc-json-driver-generate-quickbooks-query.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6416" class="size-full wp-image-6416" src="https://zappysys.com/blog/wp-content/uploads/2019/01/odbc-json-driver-generate-quickbooks-query.png" alt="Preview / Generate Query in JSON Driver / XML Driver" width="756" height="432" srcset="https://zappysys.com/blog/wp-content/uploads/2019/01/odbc-json-driver-generate-quickbooks-query.png 756w, https://zappysys.com/blog/wp-content/uploads/2019/01/odbc-json-driver-generate-quickbooks-query-300x171.png 300w" sizes="(max-width: 756px) 100vw, 756px" /></a><p id="caption-attachment-6416" class="wp-caption-text">Preview / Generate Query in JSON Driver / XML Driver</p></div>
<h2></h2>
<h2>Load Google Search Console API in SQL Server without any ETL</h2>
<p>Now let&#8217;s look at even more interesting integration scenario. If you have SQL Server and like to load Google Search Console API without any ETL then you can use <a href="https://zappysys.com/products/odbc-powerpack/data-gateway/" target="_blank" rel="noopener">Data Gateway</a></p>
<p>Read this article to learn how to <a href="https://zappysys.com/blog/import-rest-api-json-sql-server/" target="_blank" rel="noopener">load REST API in SQL Server</a> without any coding (Use just T-SQL) .</p>
<p>You can write query like below to load data inside SQL Table.</p><pre class="crayon-plain-tag">SELECT * FROM OPENQUERY([MY_LINKED_SERVER]
, 'SELECT * FROM $
WITH(
	 Src=''https://www.googleapis.com/webmasters/v3/sites/&lt;&lt;https://mysite.com,FUN_URLENC&gt;&gt;/searchAnalytics/query/?key={YOUR_API_KEY}--dont-escape--''
	,Filter=''$.rows[*]''
	,RequestData=''{
"startDate": "2019-01-01",
"endDate": "2019-01-10",
"dimensions" : ["date","country"]
}''
	,RequestContentTypeCode=''ApplicationJson''
	,Header=''cache-control: no-cache || Accept: */*''
	,RequestMethod=''POST''
	,EnableArrayFlattening=''True''
)')</pre><p>
<div id="attachment_5293" style="width: 899px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2018/11/query-rest-api-sql-server-linked-server-openquery-zappysys-data-gateway.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-5293" class="size-full wp-image-5293" src="https://zappysys.com/blog/wp-content/uploads/2018/11/query-rest-api-sql-server-linked-server-openquery-zappysys-data-gateway.png" alt="SSMS Output - Query REST API via Linked Server OPENQUERY statement (Connect to ZappySys Data Gateway)" width="889" height="481" srcset="https://zappysys.com/blog/wp-content/uploads/2018/11/query-rest-api-sql-server-linked-server-openquery-zappysys-data-gateway.png 889w, https://zappysys.com/blog/wp-content/uploads/2018/11/query-rest-api-sql-server-linked-server-openquery-zappysys-data-gateway-300x162.png 300w, https://zappysys.com/blog/wp-content/uploads/2018/11/query-rest-api-sql-server-linked-server-openquery-zappysys-data-gateway-768x416.png 768w" sizes="(max-width: 889px) 100vw, 889px" /></a><p id="caption-attachment-5293" class="wp-caption-text">SSMS Output &#8211; Query REST API via Linked Server OPENQUERY statement (Connect to ZappySys Data Gateway)</p></div>
<h2>Conclusion</h2>
<p>So in this post we saw how easy it is to achieve total REST API integration in SSIS using JSON Connector. We also saw how to use ODBC Drivers to query REST API data inside Apps like Excel, MS Access, Informatica and other ODBC Apps using ODBC JSON / REST API driver. If you are SSIS User download <a href="https://zappysys.com/products/ssis-powerpack/">SSIS PowerPack and try for FREE</a> and if you don&#8217;t have SSIS in house and want to try more generic approach then <a href="https://zappysys.com/products/odbc-powerpack/" target="_blank" rel="noopener">Download ODBC PowerPack Drivers for FREE Trial</a>.</p>
<p>The post <a href="https://zappysys.com/blog/get-data-google-search-console-api-ssis-odbc-drivers/">Get data from Google Search Console API in SSIS and ODBC Apps</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
