<?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 Re: Restful API help - complete novice! in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Restful-API-help-complete-novice/m-p/1671767#M7964</link>
    <description>&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;So I solved this problem, was putting the wrong URL in (lol). &amp;nbsp;Connection seems to work, but then when I go to load data from the table, this is the script I get... NO IDEA what this means (lol again). &amp;nbsp;Any info is greatly appreciated! &amp;nbsp;&lt;/P&gt;&lt;P&gt;The below returns nothing except for a&amp;nbsp;faultString of "Unable able to parse GET request" which I assume means my connection is still not correct...&lt;/P&gt;&lt;DIV&gt;LIB CONNECT TO 'REST_httpstotalfitouts.simprosuite.comapi';&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;RestConnectorMasterTable:&lt;/DIV&gt;&lt;DIV&gt;SQL SELECT&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;"result",&lt;/DIV&gt;&lt;DIV&gt;"id",&lt;/DIV&gt;&lt;DIV&gt;"__KEY_root",&lt;/DIV&gt;&lt;DIV&gt;(SELECT&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;"faultCode",&lt;/DIV&gt;&lt;DIV&gt;"faultString",&lt;/DIV&gt;&lt;DIV&gt;"__FK_error"&lt;/DIV&gt;&lt;DIV&gt;FROM "error" FK "__FK_error")&lt;/DIV&gt;&lt;DIV&gt;FROM JSON (wrap on) "root" PK "__KEY_root";&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;[error]:&lt;/DIV&gt;&lt;DIV&gt;LOAD [faultCode],&lt;/DIV&gt;&lt;DIV&gt;[faultString],&lt;/DIV&gt;&lt;DIV&gt;[__FK_error] AS [__KEY_root]&lt;/DIV&gt;&lt;DIV&gt;RESIDENT RestConnectorMasterTable&lt;/DIV&gt;&lt;DIV&gt;WHERE NOT IsNull([__FK_error]);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;[root]:&lt;/DIV&gt;&lt;DIV&gt;LOAD [result],&lt;/DIV&gt;&lt;DIV&gt;[id],&lt;/DIV&gt;&lt;DIV&gt;[__KEY_root]&lt;/DIV&gt;&lt;DIV&gt;RESIDENT RestConnectorMasterTable&lt;/DIV&gt;&lt;DIV&gt;WHERE NOT IsNull([__KEY_root]);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;DROP TABLE RestConnectorMasterTable;&lt;/DIV&gt;</description>
    <pubDate>Mon, 03 Feb 2020 12:54:00 GMT</pubDate>
    <dc:creator>Blunck-TotalFitouts</dc:creator>
    <dc:date>2020-02-03T12:54:00Z</dc:date>
    <item>
      <title>Restful API help - complete novice!</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Restful-API-help-complete-novice/m-p/1670382#M7961</link>
      <description>&lt;P&gt;Hi everyone &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am need of some assistance setting up a restful API to our companies job management software, SimPro.&lt;/P&gt;&lt;P&gt;Here is there doco page -&amp;nbsp;&lt;A href="https://developer.simprogroup.com/apidoc/?page=57be307ee1bd93b729fdc4c13f15e201" target="_blank"&gt;https://developer.simprogroup.com/apidoc/?page=57be307ee1bd93b729fdc4c13f15e201&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have attempted, for days now, literally, trying to make a restful API connection to SimPro using the wizard in QlikSense. &amp;nbsp;But I have failed, too many times to count!&lt;/P&gt;&lt;P&gt;Can someone help me out?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;Carl&lt;/P&gt;</description>
      <pubDate>Tue, 28 Dec 2021 20:37:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Restful-API-help-complete-novice/m-p/1670382#M7961</guid>
      <dc:creator>Blunck-TotalFitouts</dc:creator>
      <dc:date>2021-12-28T20:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Restful API help - complete novice!</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Restful-API-help-complete-novice/m-p/1671442#M7962</link>
      <description>&lt;P&gt;Hi Carl,&lt;/P&gt;&lt;P&gt;I am not familiar with&amp;nbsp;&lt;SPAN&gt;SimPro. I am pretty new too, but I have created&amp;nbsp; a couple API&amp;nbsp; connections in my app successfully. Some simple ones with key and some that required Bearer tokens.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Looking at your API documentations, I see that you need the followings to be added:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Authorization&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;you have to check the documentations to see what goes here&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Content-Type&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;application/json&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In one of my POST connections, I have added them under "Query headers" section.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The documentation page seems to have a lot of useful content. It is worth to go through examples in there.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Just a couple things that comes to my mind:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Are you prefixing the following before the endpoint url (&amp;lt;client&amp;gt; should be replaced with the name of whatever server they assigned to your company):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;https://&amp;lt;client&amp;gt;.simprosuite.com/api/&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Pay attention to the type of call (POST vs GET)&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;If it's a post, you might need to add a body.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When you say "it doesn't work", what exactly doesn't work? I would suggest you try to hit the endpoint using "Postman". If successful, then the endpoint with your key works fine and you just have to fiddle with your script/wizard.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If the API runs fine and the load doesn't work, then the connector works and the script needs a bit of work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Good Luck!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mehrnaz&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2020 18:46:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Restful-API-help-complete-novice/m-p/1671442#M7962</guid>
      <dc:creator>Mehrnaz</dc:creator>
      <dc:date>2020-01-31T18:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Restful API help - complete novice!</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Restful-API-help-complete-novice/m-p/1671752#M7963</link>
      <description>&lt;P&gt;Hi Mehrnaz,&lt;/P&gt;&lt;P&gt;Thanks for the tips so far! So I can get the connection to work fine through postman (Get) but when trying to make the connection through QlikSense, by using the create new connection wizard, I get the error message:&lt;/P&gt;&lt;P&gt;"HTTP protocol error 401 (Unauthorized): Request resource requires authentication."&lt;/P&gt;&lt;P&gt;I've gone with a basic authentication schema and placed my username and password in the boxes. &amp;nbsp;Then in the Additional request parameters section, I've got:&lt;/P&gt;&lt;P&gt;Name = access_token&lt;/P&gt;&lt;P&gt;Value = token given to me by SimPro&lt;/P&gt;&lt;P&gt;Do you know what I am doing wrong?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Carl&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2020 12:21:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Restful-API-help-complete-novice/m-p/1671752#M7963</guid>
      <dc:creator>Blunck-TotalFitouts</dc:creator>
      <dc:date>2020-02-03T12:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Restful API help - complete novice!</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Restful-API-help-complete-novice/m-p/1671767#M7964</link>
      <description>&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;So I solved this problem, was putting the wrong URL in (lol). &amp;nbsp;Connection seems to work, but then when I go to load data from the table, this is the script I get... NO IDEA what this means (lol again). &amp;nbsp;Any info is greatly appreciated! &amp;nbsp;&lt;/P&gt;&lt;P&gt;The below returns nothing except for a&amp;nbsp;faultString of "Unable able to parse GET request" which I assume means my connection is still not correct...&lt;/P&gt;&lt;DIV&gt;LIB CONNECT TO 'REST_httpstotalfitouts.simprosuite.comapi';&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;RestConnectorMasterTable:&lt;/DIV&gt;&lt;DIV&gt;SQL SELECT&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;"result",&lt;/DIV&gt;&lt;DIV&gt;"id",&lt;/DIV&gt;&lt;DIV&gt;"__KEY_root",&lt;/DIV&gt;&lt;DIV&gt;(SELECT&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;"faultCode",&lt;/DIV&gt;&lt;DIV&gt;"faultString",&lt;/DIV&gt;&lt;DIV&gt;"__FK_error"&lt;/DIV&gt;&lt;DIV&gt;FROM "error" FK "__FK_error")&lt;/DIV&gt;&lt;DIV&gt;FROM JSON (wrap on) "root" PK "__KEY_root";&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;[error]:&lt;/DIV&gt;&lt;DIV&gt;LOAD [faultCode],&lt;/DIV&gt;&lt;DIV&gt;[faultString],&lt;/DIV&gt;&lt;DIV&gt;[__FK_error] AS [__KEY_root]&lt;/DIV&gt;&lt;DIV&gt;RESIDENT RestConnectorMasterTable&lt;/DIV&gt;&lt;DIV&gt;WHERE NOT IsNull([__FK_error]);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;[root]:&lt;/DIV&gt;&lt;DIV&gt;LOAD [result],&lt;/DIV&gt;&lt;DIV&gt;[id],&lt;/DIV&gt;&lt;DIV&gt;[__KEY_root]&lt;/DIV&gt;&lt;DIV&gt;RESIDENT RestConnectorMasterTable&lt;/DIV&gt;&lt;DIV&gt;WHERE NOT IsNull([__KEY_root]);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;DROP TABLE RestConnectorMasterTable;&lt;/DIV&gt;</description>
      <pubDate>Mon, 03 Feb 2020 12:54:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Restful-API-help-complete-novice/m-p/1671767#M7964</guid>
      <dc:creator>Blunck-TotalFitouts</dc:creator>
      <dc:date>2020-02-03T12:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Restful API help - complete novice!</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Restful-API-help-complete-novice/m-p/1671823#M7965</link>
      <description>&lt;P&gt;I haven't tried a "GET" yet, but these are what comes to my mind:&lt;/P&gt;&lt;P&gt;Did you add the following as your header also in addition to Authorization:&lt;/P&gt;&lt;P&gt;Name: Content-Type&lt;/P&gt;&lt;P&gt;Value: application/json&lt;/P&gt;&lt;P&gt;And if this doesn't solve it and if you are using "GET", are you passing in parameters into the URL? I remember that in a different environment, I had to convert spaces in my URL into the Hex value &lt;U&gt;20%&lt;/U&gt;, but I am not sure if the same would apply here.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2020 15:04:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Restful-API-help-complete-novice/m-p/1671823#M7965</guid>
      <dc:creator>Mehrnaz</dc:creator>
      <dc:date>2020-02-03T15:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Restful API help - complete novice!</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Restful-API-help-complete-novice/m-p/1671839#M7966</link>
      <description>&lt;P&gt;check this article...&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.qlik.com/articles/000076799" target="_blank"&gt;https://support.qlik.com/articles/000076799&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2020 15:59:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Restful-API-help-complete-novice/m-p/1671839#M7966</guid>
      <dc:creator>prabhu0505</dc:creator>
      <dc:date>2020-02-03T15:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Restful API help - complete novice!</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Restful-API-help-complete-novice/m-p/1673192#M7967</link>
      <description>&lt;P&gt;Thanks mate - added that in but still same issue unfortunately.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 23:50:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Restful-API-help-complete-novice/m-p/1673192#M7967</guid>
      <dc:creator>Blunck-TotalFitouts</dc:creator>
      <dc:date>2020-02-06T23:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: Restful API help - complete novice!</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Restful-API-help-complete-novice/m-p/1673193#M7968</link>
      <description>&lt;P&gt;Thanks mate - that sort of helps, but response type is JSON not XML and SimPro doesn't appear to accept CSV...&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 23:52:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Restful-API-help-complete-novice/m-p/1673193#M7968</guid>
      <dc:creator>Blunck-TotalFitouts</dc:creator>
      <dc:date>2020-02-06T23:52:16Z</dc:date>
    </item>
  </channel>
</rss>

