{"id":4378,"date":"2018-07-07T09:03:41","date_gmt":"2018-07-07T09:03:41","guid":{"rendered":"https:\/\/zappysys.com\/blog\/?p=4378"},"modified":"2023-11-23T22:39:22","modified_gmt":"2023-11-23T22:39:22","slug":"call-soap-rest-api-using-dynamic-token-ssis","status":"publish","type":"post","link":"https:\/\/zappysys.com\/blog\/call-soap-rest-api-using-dynamic-token-ssis\/","title":{"rendered":"How to call SOAP \/ REST API using Dynamic Token in SSIS \/ ODBC"},"content":{"rendered":"<h2>Introduction<\/h2>\n<p><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/REST-API-icon.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-4254 alignleft\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/REST-API-icon.jpg\" alt=\"Logo REST API\" width=\"217\" height=\"232\" \/><\/a>In this blog, we will learn how to call SOAP \/ REST API using Dynamic Token in SSIS (i.e. Two steps authentication approach &#8211; Fist Call Login API to get token and then call API).<\/p>\n<p>In our previous blog post, we saw how to call Web API using some industry standards approaches, such as <a href=\"https:\/\/zappysys.com\/blog\/rest-api-authentication-with-oauth-2-0-using-ssis\/\" target=\"_blank\" rel=\"noopener\">OAuth 2.0 Authorization<\/a> or <a href=\"https:\/\/zappysys.com\/blog\/how-to-set-base64-encoded-authorization-header-for-http-web-request\/\" target=\"_blank\" rel=\"noopener\">Basic Authorization<\/a>. However, not all APIs follow the industry standard to authenticate API requests. After talking with many customers we noticed that very common non-standard technique to authenticate API is Dynamic Token Approach. In this approach first, you have to call Login request to get a temporary token (i.e. sessionid ). Once you get that temp token you can supply it along with your API requests. These temp token\/session id usually expires in short time (i.e. expire in one hour or so).<\/p>\n<p>Sounds complicated? Well not really if you use ZappySys <a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/\" target=\"_blank\" rel=\"noopener\">SSIS PowerPack<\/a> or <a href=\"https:\/\/zappysys.com\/products\/odbc-powerpack\/\" target=\"_blank\" rel=\"noopener\">ODBC Drivers for API<\/a>. In this\u00a0post, we will go through the steps, to authenticate using Dynamic Token approach. We will show you features of\u00a0\u00a0<a href=\"https:\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/ssis-http-connection-manager.htm\">ZappySys SSIS HTTP Connection Manager<\/a>. For example purpose, we will call XML SOAP API using <a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-xml-source\/\">SSIS XML Source Connector<\/a> but same concepts can be applied to read from JSON API using\u00a0\u00a0<a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-json-file-source\/\">SSIS JSON Source Connector<\/a>\u00a0or CSV API using <a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-csv-file-source-flat-file-web-api\/\" target=\"_blank\" rel=\"noopener\">CSV Source Connector<\/a>.<\/p>\n<p>So let&#8217;s get started.<\/p>\n<h2><\/h2>\n<div class=\"content_block\" id=\"custom_post_widget-2523\"><h2><span id=\"Prerequisites\">Prerequisites<\/span><\/h2>\r\nBefore we perform the steps listed in this article, you will need to make sure the following prerequisites are met:\r\n<ol style=\"margin-left: 1.5em;\">\r\n \t<li><abbr title=\"SQL Server Integration Services\">SSIS<\/abbr> designer installed.\u00a0Sometimes 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>\r\n \t<li>Basic knowledge of SSIS package\u00a0development using\u00a0<em>Microsoft SQL Server Integration Services<\/em>.<\/li>\r\n \t<li>Make sure\u00a0<span style=\"text-decoration: underline;\"><a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/\" target=\"_blank\" rel=\"noopener\">ZappySys SSIS PowerPack<\/a><\/span>\u00a0is installed (<a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/download\/\" target=\"_blank\" rel=\"noopener\">download it<\/a>, if you haven't already).<\/li>\r\n \t<li>(<em>Optional step<\/em>)<em>.<\/em>\u00a0<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>\r\n<\/ol><\/div>\n<h2>Getting Started<\/h2>\n<p>In order to start, we will show several examples. ZappySys includes an\u00a0<a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-xml-source\/\">SSIS XML Source Connector<\/a> and\u00a0\u00a0<a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-json-file-source\/\">SSIS JSON Source Connector<\/a> that will help you to call SOAP \/ REST API, read various data from SOAP \/ REST API with SSIS.<\/p>\n<p>To get token from login \/ authentication URL you have to gather a few pieces from your API documentation.<\/p>\n<ul>\n<li>How to call Login API for your API &#8211; (This is not the same URL as Vendor Site Login Page, but its usually API Login endpoint e.g. https:\/\/somecompany\/api\/v2\/login)<\/li>\n<li>API Response Format (e.g. JSON, XML ,CSV or Random Text )<\/li>\n<\/ul>\n<p>In our below example steps, we will use XML API which requires POST method first to pass Userid \/ password to authenticate. If Authentication is successful it may return a response in XML format which contains token.<\/p>\n<p>In the next step, we will call other API (e.g. get-data) and pass token as Authorization Header. All these steps will be done automatically using\u00a0 <a href=\"https:\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/ssis-http-connection-manager.htm\">ZappySys SSIS HTTP Connection Manager<\/a>.<\/p>\n<h2>Create HTTP Connection for Dynamic Token<\/h2>\n<p>To get API response data using SOAP \/ REST API call, you\u00a0need\u00a0to get an API Token from your\u00a0login request URL. I am using ZappySys sample SOAP API to show you for the Demo purpose. Follow the steps mentioned below to get API Token:<\/p>\n<h3>Create in SSIS<\/h3>\n<ol>\n<li>Right Click on Connection Managers Window, and one Context menu appears for creating a new\u00a0connection manager.\n<div id=\"attachment_10775\" style=\"width: 742px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/Select-connection.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10775\" class=\"size-full wp-image-10775\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/Select-connection.png\" alt=\"Select new connection\" width=\"732\" height=\"446\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/Select-connection.png 732w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/Select-connection-300x183.png 300w\" sizes=\"(max-width: 732px) 100vw, 732px\" \/><\/a><p id=\"caption-attachment-10775\" class=\"wp-caption-text\">Connection Manager Window: Create New Connection<\/p><\/div>\n<div class=\"mceTemp\"><\/div>\n<\/li>\n<li>Select ZS HTTP Connection Manager from the list of Connection Managers and, double-click on it or click on Add button to add a new Connection Manager. By Default, The created connection manager is of Package-Level. You can set Project Level Connection manager too If you want.\n<div id=\"attachment_10776\" style=\"width: 486px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/Select-HTTP-connection.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10776\" class=\"size-full wp-image-10776\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/Select-HTTP-connection.png\" alt=\"Connection list from SSIS\" width=\"476\" height=\"487\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/Select-HTTP-connection.png 476w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/Select-HTTP-connection-293x300.png 293w\" sizes=\"(max-width: 476px) 100vw, 476px\" \/><\/a><p id=\"caption-attachment-10776\" class=\"wp-caption-text\">List of SSIS Connection Managers \u2013 Select HTTP Connection Manager<\/p><\/div><\/li>\n<\/ol>\n<h3>Create in ODBC<\/h3>\n<p>To use HTTP Connection in ODBC Drivers you can change connection Type to HTTP like below and it will show similar UI discussed in this article.<\/p>\n<div id=\"attachment_10777\" style=\"width: 814px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/Create-HTTP-connection-in-ODBC.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10777\" class=\"size-full wp-image-10777\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/Create-HTTP-connection-in-ODBC.png\" alt=\"New HTTP connection in ODBC\" width=\"804\" height=\"522\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/Create-HTTP-connection-in-ODBC.png 804w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/Create-HTTP-connection-in-ODBC-300x195.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/Create-HTTP-connection-in-ODBC-768x499.png 768w\" sizes=\"(max-width: 804px) 100vw, 804px\" \/><\/a><p id=\"caption-attachment-10777\" class=\"wp-caption-text\">Create an HTTP connection inside an ODBC driver<\/p><\/div>\n<h2>Configure HTTP Connection Credential Type<\/h2>\n<p>Once you add new SSIS ZS HTTP Connection Manager, Go to General Tab and Configure HTTP Connection Manager for Two Step Authorization Flow. Enter API URL, Login Credentials, and configure some basic settings for the same. We used Login URL as just example but you can enter any valid API URL endpoint here. Actual Login URL goes on Dynamic Token Tab (see next step)<\/p>\n<div id=\"attachment_10778\" style=\"width: 628px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/HTTP-connection-dynamic-token-general-tab.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10778\" class=\"size-full wp-image-10778\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/HTTP-connection-dynamic-token-general-tab.png\" alt=\"HTTP connection with dynamic token in ODBC\" width=\"618\" height=\"515\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/HTTP-connection-dynamic-token-general-tab.png 618w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/HTTP-connection-dynamic-token-general-tab-300x250.png 300w\" sizes=\"(max-width: 618px) 100vw, 618px\" \/><\/a><p id=\"caption-attachment-10778\" class=\"wp-caption-text\">SSIS ZS HTTP Connection Manager: General Tab Configurations Settings<\/p><\/div>\n<h2>Configure Request Settings<\/h2>\n<p>Once you enter Username \/ password details on General Tab now we need to setup some information like Login Request URL, Body, Headers. Lets look at few options.<\/p>\n<h3><strong>Passing User ID \/Password in Body<\/strong><\/h3>\n<ol>\n<li>Go to Dynamic Token tab, Enter the following pieces.\n<ol>\n<li>Token\/API Login URL<br \/>\nFor our example enter API Login URL as:<br \/>\n<span class=\"lang:default highlight:0 decode:true crayon-inline\">https:\/\/zappysys.com\/downloads\/files\/test\/soap-login.aspx<\/span><\/li>\n<li>Request Method as <strong>POST<\/strong><\/li>\n<li>Request Body as below. Notice we used\u00a0<span class=\"lang:default highlight:0 decode:true crayon-inline\">[$userid$]<\/span>\u00a0 and\u00a0<span class=\"lang:default highlight:0 decode:true crayon-inline\">[$password$]<\/span>\u00a0 placeholders. These are replaced automatically at runtime so you do not have to hard code in Body and keep it secure. (See General Tab to enter UserID\/Password)<br \/>\n<strong>Pass User ID \/ Password in Body<\/strong><\/p>\n<pre class=\"lang:xhtml decode:true\">&lt;soapenv:Envelope xmlns:soapenv=\"\"http:\/\/schemas.xmlsoap.org\/soap\/envelope\/\"\" xmlns:urn=\"\"urn:partner.soap.sforce.com\"\"&gt;\r\n   &lt;soapenv:Body&gt;\r\n      &lt;urn:login&gt;\r\n         &lt;urn:username&gt;[$userid$]&lt;\/urn:username&gt;\r\n         &lt;urn:password&gt;[$password$]&lt;\/urn:password&gt;\r\n      &lt;\/urn:login&gt;\r\n   &lt;\/soapenv:Body&gt;\r\n&lt;\/soapenv:Envelope&gt;<\/pre>\n<\/li>\n<li>Select Request Body Content Type. For JSON data it may be application\/json. For Key\/Value Pair\u00a0 <strong>key1=value1&amp;key2=value2<\/strong> leave it Default.<strong>Passing User ID \/Password in Request BODY<\/strong>\n<div id=\"attachment_10779\" style=\"width: 858px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/HTTP-connection-dynamic-token-configuration-tab.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10779\" class=\"size-full wp-image-10779\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/HTTP-connection-dynamic-token-configuration-tab.png\" alt=\"HTTP connection dynamic tab\" width=\"848\" height=\"797\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/HTTP-connection-dynamic-token-configuration-tab.png 848w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/HTTP-connection-dynamic-token-configuration-tab-300x282.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/HTTP-connection-dynamic-token-configuration-tab-768x722.png 768w\" sizes=\"(max-width: 848px) 100vw, 848px\" \/><\/a><p id=\"caption-attachment-10779\" class=\"wp-caption-text\">SSIS ZS HTTP Connection Manager: Dynamic Token Tab Configurations Settings of Request Tab<\/p><\/div><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<h3><strong>Passing User ID \/ Password in URL (GET Request)<\/strong><\/h3>\n<p>Our Example API pass credentials in the <strong>POST<\/strong> body but some API may pass via URL as <strong>GET<\/strong> request.<\/p>\n<p>In such case, you can enter like this<br \/>\n<span class=\"lang:default highlight:0 decode:true crayon-inline\">https:\/\/mysite.com\/api\/v2\/login?userid=[$userid$]&amp;password=[$password$]<\/span><br \/>\nNotice in above URL we used\u00a0<span class=\"lang:default highlight:0 decode:true crayon-inline\">[$userid$]<\/span>\u00a0 and\u00a0<span class=\"lang:default highlight:0 decode:true crayon-inline\">[$password$]<\/span>\u00a0 \u00a0placeholders. These are replaced automatically at runtime (See General Tab to enter UserID\/Password)<\/p>\n<h3><strong>Passing User ID \/Password in Header as Basic Authentication<\/strong><\/h3>\n<p>Another scenario is API requires <a href=\"https:\/\/zappysys.com\/blog\/how-to-set-base64-encoded-authorization-header-for-http-web-request\/\" target=\"_blank\" rel=\"noopener\">HTTP Basic authentication<\/a>, (Pass User ID \/ Password in Header as Base64 encoded value) then you can pass credentials like this:<\/p>\n<p><code style=\"margin-bottom: 10pt;\">Authorization: Basic &lt;&lt;[$userid$]:[$password$],FUN_BASE64ENC&gt;&gt;<br \/>\n<\/code><\/p>\n<p>Here we have used\u00a0<code style=\"margin-bottom: 10pt;\">FUN_BASE64ENC<\/code>\u00a0function but there are <a href=\"https:\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/ssis-format-specifiers.htm\" target=\"_blank\" rel=\"noopener\">many other functions<\/a> can be used anywhere in Body or Headers<\/p>\n<div id=\"attachment_10780\" style=\"width: 652px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/HTTP-connection-dynamic-token-configuration-header-ODBC.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10780\" class=\"size-full wp-image-10780\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/HTTP-connection-dynamic-token-configuration-header-ODBC.png\" alt=\"HTTP connection dynamic token in header request credentials\" width=\"642\" height=\"512\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/HTTP-connection-dynamic-token-configuration-header-ODBC.png 642w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/HTTP-connection-dynamic-token-configuration-header-ODBC-300x239.png 300w\" sizes=\"(max-width: 642px) 100vw, 642px\" \/><\/a><p id=\"caption-attachment-10780\" class=\"wp-caption-text\">Using Basic Authentication in Dynamic Token approach<\/p><\/div>\n<h2>Configure Response Settings<\/h2>\n<p>Now lets configure how to extract token (single value) from response. Which can be XML, JSON or sometimes Raw Text. We support 4 modes (default = None means full response text is treated as token). If you want to extract just single value and not full text then use below settings.<\/p>\n<h3>XML Expression Type (Use XPath)<\/h3>\n<ol>\n<li>Now, Go to Response Settings tab under a Dynamic Token tab, Enter Response Settings like Token Extract\u00a0Mode, Expression Type, Content Filter Expression as below XPath Expression. The expression basically extracts content from sessionid XML node using below <a href=\"https:\/\/zappysys.com\/blog\/ssis-extract-single-xml-node-using-xpath-soap-response\/\" target=\"_blank\" rel=\"noopener\">XPath Expression<\/a>.<span class=\"lang:default decode:true crayon-inline\">\/\/*[local-name()=&#8217;sessionid&#8217;]<\/span>\n<div id=\"attachment_10781\" style=\"width: 650px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/HTTP-connection-dynamic-token-response-settings-tab.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10781\" class=\"size-full wp-image-10781\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/HTTP-connection-dynamic-token-response-settings-tab.png\" alt=\"Get XML response for dynamic token\" width=\"640\" height=\"510\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/HTTP-connection-dynamic-token-response-settings-tab.png 640w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/HTTP-connection-dynamic-token-response-settings-tab-300x239.png 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><p id=\"caption-attachment-10781\" class=\"wp-caption-text\">ODBC ZS HTTP Connection Manager: Dynamic Token Tab Configurations Settings of Response Tab<\/p><\/div><\/li>\n<li>That&#8217;s it click on OK button to save your Connection Manager Configurations.<\/li>\n<\/ol>\n<h3>JSON Expression Type (Use JSONPath)<\/h3>\n<p>If you API returns JSON response (like <a href=\"https:\/\/zappysys.com\/blog\/read-walmart-api-data-ssis-odbc\/\">Walmart API Example<\/a>) then you can do something like below. Choose Expression Type=JSON and in Response Content Filter You can enter expression like $.some_property_name\u00a0 (e.g. $.access_token). Check more about How to write <a href=\"https:\/\/zappysys.com\/blog\/jsonpath-examples-expression-cheetsheet\/\">JSON Path expression here<\/a>.<\/p>\n<div id=\"attachment_10782\" style=\"width: 793px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/HTTP-connection-dynamic-token-response-settings-tab-SSIS.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10782\" class=\"size-full wp-image-10782\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/HTTP-connection-dynamic-token-response-settings-tab-SSIS.png\" alt=\"Walmart API \u2013 Extract Token \u2013 Response Settings\" width=\"783\" height=\"646\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/HTTP-connection-dynamic-token-response-settings-tab-SSIS.png 783w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/HTTP-connection-dynamic-token-response-settings-tab-SSIS-300x248.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/HTTP-connection-dynamic-token-response-settings-tab-SSIS-768x634.png 768w\" sizes=\"(max-width: 783px) 100vw, 783px\" \/><\/a><p id=\"caption-attachment-10782\" class=\"wp-caption-text\">SSIS ZS HTTP Connection Manager &#8211; Get a JSON response for the token<\/p><\/div>\n<h3>Regular Expression Type (Use Regex)<\/h3>\n<p>Another advanced mode to extract token from response is Regex Mode. You can write any valid regular expression <a href=\"https:\/\/zappysys.com\/blog\/using-regular-expressions-in-ssis\/\" target=\"_blank\" rel=\"noopener\">like this one<\/a> to extract just one value.<\/p>\n<p>For example if your response returns raw string with token in double quotes but you want just token and no double quotes around it then try something like below.<\/p>\n<div id=\"attachment_10783\" style=\"width: 793px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/HTTP-connection-dynamic-token-response-settings-tab-regex-example.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10783\" class=\"size-full wp-image-10783\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/HTTP-connection-dynamic-token-response-settings-tab-regex-example.png\" alt=\"Dynamic token from a regex expression\" width=\"783\" height=\"646\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/HTTP-connection-dynamic-token-response-settings-tab-regex-example.png 783w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/HTTP-connection-dynamic-token-response-settings-tab-regex-example-300x248.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/HTTP-connection-dynamic-token-response-settings-tab-regex-example-768x634.png 768w\" sizes=\"(max-width: 783px) 100vw, 783px\" \/><\/a><p id=\"caption-attachment-10783\" class=\"wp-caption-text\">Extract Token from response \u2013 Remove double quotes around value using Regular Expression<\/p><\/div>\n<h2><strong>Call API\u00a0<\/strong><strong>in SSIS with\u00a0<\/strong><strong>Dynamic API Token<\/strong><\/h2>\n<p>Now once you have setup HTTP connection manager to authenticate and get API token, we are ready for next step. Now we can use that token in SOAP \/ REST API Service call. So, let&#8217;s\u00a0move to the SSIS Part.<\/p>\n<ol>\n<li>Once SSIS Package is open, Goto Data Flow Section, For that Drag and Drop DataFlow Task from the SSIS Toolbox.\n<div id=\"attachment_10784\" style=\"width: 472px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/SSIS-drag-and-drop-data-flow.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10784\" class=\"wp-image-10784 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/SSIS-drag-and-drop-data-flow.png\" alt=\"Use data flow \" width=\"462\" height=\"157\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/SSIS-drag-and-drop-data-flow.png 462w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/SSIS-drag-and-drop-data-flow-300x102.png 300w\" sizes=\"(max-width: 462px) 100vw, 462px\" \/><\/a><p id=\"caption-attachment-10784\" class=\"wp-caption-text\">Drag and drop Data flow task<\/p><\/div><\/li>\n<li>Now, Drag and Drop SSIS ZS XML Source Component from the SSIS Toolbox (if your API is JSON based then drag ZS JSON Source).\n<div id=\"attachment_10785\" style=\"width: 854px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/SSIS-drag-and-drop-XML-source.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10785\" class=\"wp-image-10785 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/SSIS-drag-and-drop-XML-source.png\" alt=\"Drag and Drop ZS SSIS XML Source Component\" width=\"844\" height=\"401\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/SSIS-drag-and-drop-XML-source.png 844w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/SSIS-drag-and-drop-XML-source-300x143.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/SSIS-drag-and-drop-XML-source-768x365.png 768w\" sizes=\"(max-width: 844px) 100vw, 844px\" \/><\/a><p id=\"caption-attachment-10785\" class=\"wp-caption-text\">Drag and Drop ZS SSIS XML Source Component<\/p><\/div><\/li>\n<li>Let&#8217;s double-click on XML Source Component to configure it&#8217;s Properties. Enter Request URL.\n<pre class=\"lang:default decode:true\">https:\/\/zappysys.com\/downloads\/files\/test\/soap-getdata.aspx<\/pre>\n<div id=\"attachment_10786\" style=\"width: 838px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/XML-source-enter-URL.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10786\" class=\"wp-image-10786 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/XML-source-enter-URL.png\" alt=\"Enter URL to XML source\" width=\"828\" height=\"735\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/XML-source-enter-URL.png 828w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/XML-source-enter-URL-300x266.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/XML-source-enter-URL-768x682.png 768w\" sizes=\"(max-width: 828px) 100vw, 828px\" \/><\/a><p id=\"caption-attachment-10786\" class=\"wp-caption-text\">SSIS XML Source: Enter your SOAP Request URL<\/p><\/div><\/li>\n<li>Check Use Credentials (Username\/Password OR Token), Select HTTP Connection Manager from the drop-down list, we have created just before.\n<div id=\"attachment_10787\" style=\"width: 838px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/XML-source-enter-credential.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10787\" class=\"wp-image-10787 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/XML-source-enter-credential.png\" alt=\"USe a credentials inside XML source\" width=\"828\" height=\"374\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/XML-source-enter-credential.png 828w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/XML-source-enter-credential-300x136.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/XML-source-enter-credential-768x347.png 768w\" sizes=\"(max-width: 828px) 100vw, 828px\" \/><\/a><p id=\"caption-attachment-10787\" class=\"wp-caption-text\">ZS SSIS XML Source Component: Check Use Credentials and Select Connection Manager<\/p><\/div><\/li>\n<li>Select the Request Method and Enter SOAP Request Body something like this. Notice that we used <strong>[$token$]<\/strong> as a placeholder. This is automatically replaced at runtime by ZS-HTTP Connection Manager.<strong>Passing Token in Body<\/strong>\n<pre class=\"lang:default decode:true\">&lt;soapenv:Envelope xmlns:soapenv=\"http:\/\/schemas.xmlsoap.org\/soap\/envelope\/\" xmlns:urn=\"urn:partner.soap.sforce.com\"&gt;\r\n   &lt;soapenv:Body&gt;\r\n      &lt;urn:sessionid&gt;[$token$]&lt;\/urn:sessionid&gt;\r\n   &lt;\/soapenv:Body&gt;\r\n&lt;\/soapenv:Envelope&gt;<\/pre>\n<p><strong>Passing Token in Header<br \/>\n<\/strong><br \/>\nIf your API expects token via HTTP Header (e.g. <strong>Authorization:<\/strong> <strong>xxxx-my-token-xxxxxxxx<\/strong> ) then make sure you configure Auth Scheme and Header name on HTTP Connection. By default it sends Token in Authorization header if you dont do anything.<\/p>\n<div id=\"attachment_10788\" style=\"width: 836px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/Passing-Token-in-Header.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10788\" class=\"size-full wp-image-10788\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/Passing-Token-in-Header.png\" alt=\"Dynamic Token in the header\" width=\"826\" height=\"733\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/Passing-Token-in-Header.png 826w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/Passing-Token-in-Header-300x266.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/Passing-Token-in-Header-768x682.png 768w\" sizes=\"(max-width: 826px) 100vw, 826px\" \/><\/a><p id=\"caption-attachment-10788\" class=\"wp-caption-text\">ZS SSIS XML Source Component: Enter SOAP Request Body<\/p><\/div><\/li>\n<li>Select Content-Type as per your Request, here we are selecting <span class=\"lang:default decode:true crayon-inline \">text\/XML;charset=UTF-8<\/span>\u00a0 and adding 1 HTTP Header: <span class=\"lang:default decode:true crayon-inline \">SOAPAction: &#8220;https:\/\/zappysys.com\/soap-getdata&#8221;<\/span>\n<div id=\"attachment_10789\" style=\"width: 838px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/Passing-Token-in-body.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10789\" class=\"size-full wp-image-10789\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/Passing-Token-in-body.png\" alt=\"Select Content-Type Add HTTP Request Header\" width=\"828\" height=\"742\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/Passing-Token-in-body.png 828w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/Passing-Token-in-body-300x269.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/Passing-Token-in-body-768x688.png 768w\" sizes=\"(max-width: 828px) 100vw, 828px\" \/><\/a><p id=\"caption-attachment-10789\" class=\"wp-caption-text\">ZS SSIS XML Source Component: Select Content-Type Add HTTP Request Header<\/p><\/div><\/li>\n<li>select Filter Path: set as per your requirements. here for this example, we are setting:\n<pre class=\"lang:default decode:true\">$.soapenv:Envelope.soapenv:Body.urn:Row[*]<\/pre>\n<div id=\"attachment_10790\" style=\"width: 838px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/XML-source-dynamic-token-result.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10790\" class=\"size-full wp-image-10790\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/XML-source-dynamic-token-result.png\" alt=\"XML source filter with dynamic token\" width=\"828\" height=\"742\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/XML-source-dynamic-token-result.png 828w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/XML-source-dynamic-token-result-300x269.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/XML-source-dynamic-token-result-768x688.png 768w\" sizes=\"(max-width: 828px) 100vw, 828px\" \/><\/a><p id=\"caption-attachment-10790\" class=\"wp-caption-text\">ZS SSIS XML Source Component: Select Filter<\/p><\/div>\n<p>&nbsp;<\/li>\n<li>Check Include Parent Columns checkbox, for including parent Columns, and then click on Preview button to see the Preview data.\n<div id=\"attachment_10791\" style=\"width: 838px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/XML-source-dynamic-token-result-preview.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10791\" class=\"size-full wp-image-10791\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/XML-source-dynamic-token-result-preview.png\" alt=\"Preview data XML source dynamic token\" width=\"828\" height=\"742\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/XML-source-dynamic-token-result-preview.png 828w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/XML-source-dynamic-token-result-preview-300x269.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/XML-source-dynamic-token-result-preview-768x688.png 768w\" sizes=\"(max-width: 828px) 100vw, 828px\" \/><\/a><p id=\"caption-attachment-10791\" class=\"wp-caption-text\">SSIS XML Source Component: See the Preview data<\/p><\/div><\/li>\n<li>That&#8217;s it. Click on OK button to Save your Configuration.<\/li>\n<li>Finally drag any destination (i.e. OLEDB Destination) from your SSIS toolbox. If you want to load this data into SQL, then Drag OLE DB Destination Component, and configure it.<\/li>\n<\/ol>\n<h2><span id=\"Conclusion\">Conclusion<\/span><\/h2>\n<p>In this blog, we learned how to call any SOAP\/REST API with Dynamic Token, retrieve Service response data with SSIS using\u00a0<a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-xml-source\/\">XML Source\u00a0<span style=\"color: #0000ee;\"><u>Component<\/u><\/span><\/a>\u00a0OR\u00a0<a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-json-file-source\/\">JSON Source Component<\/a>\u00a0 \u00a0in a very simple way. Furthermore, you can achieve many more functionalities with this tool. Check our blogs\/articles on\u00a0<strong>XML Source Component\u00a0<\/strong>to find out what\u00a0<em>this tool<\/em>\u00a0is capable of more.<\/p>\n<h2><span id=\"References\">References<\/span><\/h2>\n<p>Finally, you can use the following links for more information about the call any SOAP \/ REST API with Dynamic Token feature with our tools:<\/p>\n<ul>\n<li><strong>Landing Page<\/strong>\u00a0for\u00a0<a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-xml-source\/\">XML Source<\/a>, you can also find\u00a0<a href=\"https:\/\/youtu.be\/2Li6Vy-nQvw\">Tutorial Video<\/a>\u00a0here.<\/li>\n<li><strong>Help File:<\/strong>\u00a0Documentation of\u00a0<a href=\"https:\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/ssis-xml-source.htm\">XML Source<\/a>.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Introduction In this blog, we will learn how to call SOAP \/ REST API using Dynamic Token in SSIS (i.e. Two steps authentication approach &#8211; Fist Call Login API to get token and then call API). In our previous blog post, we saw how to call Web API using some industry standards approaches, such as [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":4254,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[355,62],"tags":[18,161,3,12,143],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\r\n<title>How to call SOAP \/ REST API using Dynamic Token in SSIS \/ ODBC | ZappySys Blog<\/title>\r\n<meta name=\"description\" content=\"How to call SOAP \/ REST API using Dynamic Token in SSIS, ZS HTTP Connection Manager for a Token request, XML \/ JSON Source Source Component for calling API\" \/>\r\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\r\n<link rel=\"canonical\" href=\"https:\/\/zappysys.com\/blog\/call-soap-rest-api-using-dynamic-token-ssis\/\" \/>\r\n<meta property=\"og:locale\" content=\"en_US\" \/>\r\n<meta property=\"og:type\" content=\"article\" \/>\r\n<meta property=\"og:title\" content=\"How to call SOAP \/ REST API using Dynamic Token in SSIS \/ ODBC | ZappySys Blog\" \/>\r\n<meta property=\"og:description\" content=\"How to call SOAP \/ REST API using Dynamic Token in SSIS, ZS HTTP Connection Manager for a Token request, XML \/ JSON Source Source Component for calling API\" \/>\r\n<meta property=\"og:url\" content=\"https:\/\/zappysys.com\/blog\/call-soap-rest-api-using-dynamic-token-ssis\/\" \/>\r\n<meta property=\"og:site_name\" content=\"ZappySys Blog\" \/>\r\n<meta property=\"article:published_time\" content=\"2018-07-07T09:03:41+00:00\" \/>\r\n<meta property=\"article:modified_time\" content=\"2023-11-23T22:39:22+00:00\" \/>\r\n<meta property=\"og:image\" content=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/REST-API-icon.jpg\" \/>\r\n\t<meta property=\"og:image:width\" content=\"217\" \/>\r\n\t<meta property=\"og:image:height\" content=\"232\" \/>\r\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\r\n<meta name=\"author\" content=\"ZappySys\" \/>\r\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\r\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ZappySys\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\r\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/zappysys.com\/blog\/call-soap-rest-api-using-dynamic-token-ssis\/\",\"url\":\"https:\/\/zappysys.com\/blog\/call-soap-rest-api-using-dynamic-token-ssis\/\",\"name\":\"How to call SOAP \/ REST API using Dynamic Token in SSIS \/ ODBC | ZappySys Blog\",\"isPartOf\":{\"@id\":\"https:\/\/zappysys.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/zappysys.com\/blog\/call-soap-rest-api-using-dynamic-token-ssis\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/zappysys.com\/blog\/call-soap-rest-api-using-dynamic-token-ssis\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/REST-API-icon.jpg\",\"datePublished\":\"2018-07-07T09:03:41+00:00\",\"dateModified\":\"2023-11-23T22:39:22+00:00\",\"author\":{\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/c9dc782c929d0027e2e87e3951ce9d35\"},\"description\":\"How to call SOAP \/ REST API using Dynamic Token in SSIS, ZS HTTP Connection Manager for a Token request, XML \/ JSON Source Source Component for calling API\",\"breadcrumb\":{\"@id\":\"https:\/\/zappysys.com\/blog\/call-soap-rest-api-using-dynamic-token-ssis\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/zappysys.com\/blog\/call-soap-rest-api-using-dynamic-token-ssis\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zappysys.com\/blog\/call-soap-rest-api-using-dynamic-token-ssis\/#primaryimage\",\"url\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/REST-API-icon.jpg\",\"contentUrl\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/REST-API-icon.jpg\",\"width\":217,\"height\":232,\"caption\":\"Logo REST API\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/zappysys.com\/blog\/call-soap-rest-api-using-dynamic-token-ssis\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/zappysys.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to call SOAP \/ REST API using Dynamic Token in SSIS \/ ODBC\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/zappysys.com\/blog\/#website\",\"url\":\"https:\/\/zappysys.com\/blog\/\",\"name\":\"ZappySys Blog\",\"description\":\"SSIS \/ ODBC Drivers \/ API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/zappysys.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/c9dc782c929d0027e2e87e3951ce9d35\",\"name\":\"ZappySys\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/076a738938c19d459fbfe125c759a0ea?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/076a738938c19d459fbfe125c759a0ea?s=96&d=mm&r=g\",\"caption\":\"ZappySys\"},\"url\":\"https:\/\/zappysys.com\/blog\/author\/hshah\/\"}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to call SOAP \/ REST API using Dynamic Token in SSIS \/ ODBC | ZappySys Blog","description":"How to call SOAP \/ REST API using Dynamic Token in SSIS, ZS HTTP Connection Manager for a Token request, XML \/ JSON Source Source Component for calling API","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/zappysys.com\/blog\/call-soap-rest-api-using-dynamic-token-ssis\/","og_locale":"en_US","og_type":"article","og_title":"How to call SOAP \/ REST API using Dynamic Token in SSIS \/ ODBC | ZappySys Blog","og_description":"How to call SOAP \/ REST API using Dynamic Token in SSIS, ZS HTTP Connection Manager for a Token request, XML \/ JSON Source Source Component for calling API","og_url":"https:\/\/zappysys.com\/blog\/call-soap-rest-api-using-dynamic-token-ssis\/","og_site_name":"ZappySys Blog","article_published_time":"2018-07-07T09:03:41+00:00","article_modified_time":"2023-11-23T22:39:22+00:00","og_image":[{"width":217,"height":232,"url":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/REST-API-icon.jpg","type":"image\/jpeg"}],"author":"ZappySys","twitter_card":"summary_large_image","twitter_misc":{"Written by":"ZappySys","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/zappysys.com\/blog\/call-soap-rest-api-using-dynamic-token-ssis\/","url":"https:\/\/zappysys.com\/blog\/call-soap-rest-api-using-dynamic-token-ssis\/","name":"How to call SOAP \/ REST API using Dynamic Token in SSIS \/ ODBC | ZappySys Blog","isPartOf":{"@id":"https:\/\/zappysys.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/zappysys.com\/blog\/call-soap-rest-api-using-dynamic-token-ssis\/#primaryimage"},"image":{"@id":"https:\/\/zappysys.com\/blog\/call-soap-rest-api-using-dynamic-token-ssis\/#primaryimage"},"thumbnailUrl":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/REST-API-icon.jpg","datePublished":"2018-07-07T09:03:41+00:00","dateModified":"2023-11-23T22:39:22+00:00","author":{"@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/c9dc782c929d0027e2e87e3951ce9d35"},"description":"How to call SOAP \/ REST API using Dynamic Token in SSIS, ZS HTTP Connection Manager for a Token request, XML \/ JSON Source Source Component for calling API","breadcrumb":{"@id":"https:\/\/zappysys.com\/blog\/call-soap-rest-api-using-dynamic-token-ssis\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zappysys.com\/blog\/call-soap-rest-api-using-dynamic-token-ssis\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zappysys.com\/blog\/call-soap-rest-api-using-dynamic-token-ssis\/#primaryimage","url":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/REST-API-icon.jpg","contentUrl":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/REST-API-icon.jpg","width":217,"height":232,"caption":"Logo REST API"},{"@type":"BreadcrumbList","@id":"https:\/\/zappysys.com\/blog\/call-soap-rest-api-using-dynamic-token-ssis\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zappysys.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to call SOAP \/ REST API using Dynamic Token in SSIS \/ ODBC"}]},{"@type":"WebSite","@id":"https:\/\/zappysys.com\/blog\/#website","url":"https:\/\/zappysys.com\/blog\/","name":"ZappySys Blog","description":"SSIS \/ ODBC Drivers \/ API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zappysys.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/c9dc782c929d0027e2e87e3951ce9d35","name":"ZappySys","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/076a738938c19d459fbfe125c759a0ea?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/076a738938c19d459fbfe125c759a0ea?s=96&d=mm&r=g","caption":"ZappySys"},"url":"https:\/\/zappysys.com\/blog\/author\/hshah\/"}]}},"_links":{"self":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/4378"}],"collection":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/comments?post=4378"}],"version-history":[{"count":25,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/4378\/revisions"}],"predecessor-version":[{"id":10792,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/4378\/revisions\/10792"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/media\/4254"}],"wp:attachment":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/media?parent=4378"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/categories?post=4378"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/tags?post=4378"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}