Salesforce Connector for Microsoft Fabric How to Make Generic API Request
Introduction
In this article we will delve deeper into Salesforce and Microsoft Fabric integration, and will learn how to make generic api request. We are continuing from where we left off. By this time, you must have installed ODBC PowerPack, created ODBC Data Source, and configured authentication settings in your Salesforce account .
So, let's not waste time and begin.
Use Query Builder to generate SQL query
-
The first thing you have to do is open Query Builder:
ZappySys API Driver - SalesforceSalesforceDSN
-
Then simply select the Make Generic API Request endpoint (action).
-
Continue by configuring the Required parameters. You can also set optional parameters too.
-
Move on by hitting Preview Data button to preview the results.
-
If you see the results you need, simply copy the generated query:
-
That's it! You can use this query in Microsoft Fabric.
Let's not stop here and explore SQL query examples, including how to use them in Stored Procedures and Views (virtual tables) in the next steps.
SQL query examples
Use these SQL queries in your Microsoft Fabric data source:
How to Get __DynamicRequest__
SELECT * FROM __DynamicRequest__
generic_request endpoint belongs to
__DynamicRequest__
table(s), and can therefore be used via those table(s).
Make Generic API Request in Microsoft Fabric
-
Select the table(s) and preview the data you wish to copy from Salesforce. Once done, click Next:
DSN=SalesforceDSN
More actions supported by Salesforce Connector
Learn how to perform other actions directly in Microsoft Fabric with these how-to guides: