<?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 Reading csv file path from api response JSON in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Reading-csv-file-path-from-api-response-JSON/m-p/1967707#M17172</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am using connector to make API call. The API call returns this response as JSON:&lt;/P&gt;
&lt;P&gt;{"output_file": "&lt;A style="box-sizing: border-box; background-color: transparent; color: #c20000; text-decoration: underline; outline: -webkit-focus-ring-color auto 5px; outline-offset: -2px;" href="https://rmf-bucket.s3.amazonaws.com/media/user_1/output.csv" target="_blank" rel="nofollow noopener"&gt;&lt;SPAN class="str"&gt;https://rmf-bucket.s3.amazonaws.com/media/user_1/output-sample.csv&lt;/SPAN&gt;&lt;/A&gt;"}&lt;/P&gt;
&lt;P&gt;I want to get the "output_file" path which is a CSV file and load its content.&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Thu, 11 Aug 2022 14:59:38 GMT</pubDate>
    <dc:creator>ahmad_yar</dc:creator>
    <dc:date>2022-08-11T14:59:38Z</dc:date>
    <item>
      <title>Reading csv file path from api response JSON</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Reading-csv-file-path-from-api-response-JSON/m-p/1967707#M17172</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am using connector to make API call. The API call returns this response as JSON:&lt;/P&gt;
&lt;P&gt;{"output_file": "&lt;A style="box-sizing: border-box; background-color: transparent; color: #c20000; text-decoration: underline; outline: -webkit-focus-ring-color auto 5px; outline-offset: -2px;" href="https://rmf-bucket.s3.amazonaws.com/media/user_1/output.csv" target="_blank" rel="nofollow noopener"&gt;&lt;SPAN class="str"&gt;https://rmf-bucket.s3.amazonaws.com/media/user_1/output-sample.csv&lt;/SPAN&gt;&lt;/A&gt;"}&lt;/P&gt;
&lt;P&gt;I want to get the "output_file" path which is a CSV file and load its content.&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 14:59:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Reading-csv-file-path-from-api-response-JSON/m-p/1967707#M17172</guid>
      <dc:creator>ahmad_yar</dc:creator>
      <dc:date>2022-08-11T14:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Reading csv file path from api response JSON</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Reading-csv-file-path-from-api-response-JSON/m-p/1968673#M17187</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;
&lt;P&gt;You can do this by the below method.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;using web connector&amp;nbsp;get the above file data &amp;amp; store in a variable&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;now use the url stored in variable &amp;amp; just do a load * with url using web connector data will load&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2022 10:35:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Reading-csv-file-path-from-api-response-JSON/m-p/1968673#M17187</guid>
      <dc:creator>ajaykakkar93</dc:creator>
      <dc:date>2022-08-15T10:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: Reading csv file path from api response JSON</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Reading-csv-file-path-from-api-response-JSON/m-p/1969498#M17201</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/18706"&gt;@ajaykakkar93&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;Thanks for the response, I am new to qlik and I am confused about how to add the second connector which will read data from CSV. It will be great if you can provide snippet. Currently, I am using this snippet:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;LIB CONNECT TO 'Gedeelde Omgeving:REST_http52.49.233.78apiv1rfm-latest';

RestConnectorMasterTable:
SQL SELECT
"output_file"
FROM JSON (wrap on) "root";

[root]:
LOAD [output_file]
RESIDENT RestConnectorMasterTable;

LET vOutput = peek('output_file', 0, 'root');
SET Output = $(vOutput);

LOAD * FROM $(Output)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 17 Aug 2022 06:36:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Reading-csv-file-path-from-api-response-JSON/m-p/1969498#M17201</guid>
      <dc:creator>ahmad_yar</dc:creator>
      <dc:date>2022-08-17T06:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Reading csv file path from api response JSON</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Reading-csv-file-path-from-api-response-JSON/m-p/1970431#M17210</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;in&amp;nbsp;&lt;SPAN&gt;LOAD * FROM $(Output). You will get the url now just load the url using &lt;STRONG&gt;qlik web connector&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 18:33:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Reading-csv-file-path-from-api-response-JSON/m-p/1970431#M17210</guid>
      <dc:creator>ajaykakkar93</dc:creator>
      <dc:date>2022-08-18T18:33:14Z</dc:date>
    </item>
  </channel>
</rss>

