<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Rest Connector with SAP Concur in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Rest-Connector-with-SAP-Concur/m-p/1640578#M7785</link>
    <description>&lt;P&gt;Hello I am trying to connect to SAP Concur (Travel &amp;amp; Expense Mgmt system) via REST connector.&amp;nbsp; SAP Concur uses OAuth 2.0 authenti&lt;SPAN&gt;cation so I know I have to use one rest connection to access the token and pass it to a variable and then a 2nd rest connection that uses the info stored to variable.&amp;nbsp; I have used Postman to walk through the POST and GET steps and it works fine there (1st Screen shot).&amp;nbsp; However when I enter the information into Qlik Connector I get a 400 error (screen shot below).&amp;nbsp; Has anyone successfully implemented this?&amp;nbsp; I see a number of discussions on the topic but it seems to be a common frustration.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Postman Successful" style="width: 520px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/22556iC59040A210FF71F4/image-size/large?v=v2&amp;amp;px=999" role="button" title="10-29-2019 10-58-37 AM.jpg" alt="Postman Successful" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Postman Successful&lt;/span&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10-29-2019 10-42-16 AM.jpg" style="width: 512px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/22553i14D18226A755A8F3/image-size/large?v=v2&amp;amp;px=999" role="button" title="10-29-2019 10-42-16 AM.jpg" alt="10-29-2019 10-42-16 AM.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Dec 2021 14:19:47 GMT</pubDate>
    <dc:creator>carlcimino</dc:creator>
    <dc:date>2021-12-22T14:19:47Z</dc:date>
    <item>
      <title>Rest Connector with SAP Concur</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Rest-Connector-with-SAP-Concur/m-p/1640578#M7785</link>
      <description>&lt;P&gt;Hello I am trying to connect to SAP Concur (Travel &amp;amp; Expense Mgmt system) via REST connector.&amp;nbsp; SAP Concur uses OAuth 2.0 authenti&lt;SPAN&gt;cation so I know I have to use one rest connection to access the token and pass it to a variable and then a 2nd rest connection that uses the info stored to variable.&amp;nbsp; I have used Postman to walk through the POST and GET steps and it works fine there (1st Screen shot).&amp;nbsp; However when I enter the information into Qlik Connector I get a 400 error (screen shot below).&amp;nbsp; Has anyone successfully implemented this?&amp;nbsp; I see a number of discussions on the topic but it seems to be a common frustration.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Postman Successful" style="width: 520px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/22556iC59040A210FF71F4/image-size/large?v=v2&amp;amp;px=999" role="button" title="10-29-2019 10-58-37 AM.jpg" alt="Postman Successful" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Postman Successful&lt;/span&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10-29-2019 10-42-16 AM.jpg" style="width: 512px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/22553i14D18226A755A8F3/image-size/large?v=v2&amp;amp;px=999" role="button" title="10-29-2019 10-42-16 AM.jpg" alt="10-29-2019 10-42-16 AM.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 14:19:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Rest-Connector-with-SAP-Concur/m-p/1640578#M7785</guid>
      <dc:creator>carlcimino</dc:creator>
      <dc:date>2021-12-22T14:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Rest Connector with SAP Concur</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Rest-Connector-with-SAP-Concur/m-p/1641753#M7786</link>
      <description>&lt;P&gt;I have learned that in order for this to work there are a couple caveats that were not well documented.&lt;/P&gt;&lt;P&gt;For the first rest connection to get the authorization token:&lt;/P&gt;&lt;P&gt;1) The body portion of the POST connection&amp;nbsp;&lt;SPAN&gt;has to be URL encoded.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2) The query header(s) must be exactly as they worked in postman or other API accessing software&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3)&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;You have to store the token to variable using peek() and use a trace() function to expand the variable and be able to copy/paste it into your 2nd rest connection.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For the second rest connection using GET to utilize the token from the first rest connection:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1) &lt;/SPAN&gt;&lt;SPAN&gt;The first time setting up the second rest connection you have to manually copy and paste the token into the query headers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10-31-2019 10-15-33 AM.jpg" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/22720iE7DE9F2022F443BC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10-31-2019 10-15-33 AM.jpg" alt="10-31-2019 10-15-33 AM.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2) Click the select data icon and pick the tables from root you want to bring in and click insert script.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10-31-2019 9-00-48 AM.jpg" style="width: 256px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/22719i5A0FDC454840095F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10-31-2019 9-00-48 AM.jpg" alt="10-31-2019 9-00-48 AM.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3) After qlik inserts the script you have to alter the From portion to include your variable by including a clause that says&amp;nbsp; WITH CONNECTION.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;FROM JSON (wrap on) "root" PK "__KEY_root"&lt;BR /&gt;WITH CONNECTION (&lt;BR /&gt;HTTPHEADER "Authorization" "Bearer $(vAccessTokenValue)"&lt;BR /&gt;);&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4) You should be able to load this data repeatedly once you have it set up the first time.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;5) So far I have not found a way to "inject" the variable into the second Rest connection should I want to click the select data icon and create a different load script.&amp;nbsp; The problem here is if your token has expired you will need to re-run the 1st query, copy/paste the updated variable value into the 2nd connection and then click the select data icon.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope some of these pointers help.&amp;nbsp; I also attached the Qlik documentation on this that was lacking for folks that are not familiar with using APIs/JSON/Rest connections.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 14:49:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Rest-Connector-with-SAP-Concur/m-p/1641753#M7786</guid>
      <dc:creator>carlcimino</dc:creator>
      <dc:date>2019-10-31T14:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: Rest Connector with SAP Concur</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Rest-Connector-with-SAP-Concur/m-p/2485172#M14202</link>
      <description>&lt;P&gt;Were you able to pull all records from the Expense Entries?&amp;nbsp; I am having trouble as it only fetches me 25 records.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 17:50:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Rest-Connector-with-SAP-Concur/m-p/2485172#M14202</guid>
      <dc:creator>alantam12</dc:creator>
      <dc:date>2024-10-03T17:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Rest Connector with SAP Concur</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Rest-Connector-with-SAP-Concur/m-p/2487649#M14237</link>
      <description>&lt;P&gt;No we were not successful and abandoned the effort via Qlik.&amp;nbsp; The solution was to have our IT/data provisioning team set up a daily ingestion process to bring the data into our Azure SQLDW.&amp;nbsp; We then attached Qlik to the Azure dataset.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 12:42:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Rest-Connector-with-SAP-Concur/m-p/2487649#M14237</guid>
      <dc:creator>carlcimino</dc:creator>
      <dc:date>2024-10-17T12:42:37Z</dc:date>
    </item>
  </channel>
</rss>

