<?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: How to loop tRestClient component if my Response from API is like this: in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-loop-tRestClient-component-if-my-Response-from-API-is/m-p/2309412#M146594</link>
    <description>Hi 
&lt;BR /&gt;How to get the sub_sub_folder? Are they all listed in the response of step1 or need to redo step1 to get the sub_sub_folder for each sub_folder?
&lt;BR /&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
    <pubDate>Thu, 12 Dec 2019 03:13:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-12-12T03:13:15Z</dc:date>
    <item>
      <title>How to loop tRestClient component if my Response from API is like this:</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-loop-tRestClient-component-if-my-Response-from-API-is/m-p/2309411#M146593</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt; 
  &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
  &lt;P&gt;I am preparing a Talend job which will fetch data from web services using API. The structure of the web service is like this:&amp;nbsp;&lt;/P&gt; 
  &lt;UL&gt; 
   &lt;LI&gt;Parent Folder ( We have the URL for parent folder)&amp;nbsp; Which contains Sub-Folders and inside Sub-Folders we have other Sub-Folders/ Documents.&lt;/LI&gt; 
  &lt;/UL&gt; 
  &lt;P&gt;Steps which we need to implement:&amp;nbsp;&lt;/P&gt; 
  &lt;P&gt;&lt;EM&gt;PS: I have changed&amp;nbsp; the URLs ( As it is confidential) ( Given some random URLs for examples)&lt;/EM&gt;&lt;/P&gt; 
  &lt;P&gt;&lt;STRONG&gt;Step 1 :&lt;/STRONG&gt; After hitting the Parent Folder URL using &lt;EM&gt;tRestClient&lt;/EM&gt; Component, we will get a response in JSON format. Which includes information like:&lt;/P&gt; 
  &lt;UL&gt; 
   &lt;LI&gt;{&lt;/LI&gt; 
   &lt;LI&gt;"Name": "FOLDER_NAME"&lt;/LI&gt; 
   &lt;LI&gt;"CreatedDate": "2017-02-10T15:24:44.87Z",&lt;/LI&gt; 
   &lt;LI&gt;"CreatedBy": "xyz@pqr.com",&lt;/LI&gt; 
   &lt;LI&gt;&amp;nbsp;"UpdatedDate": "2019-01-18T19:34:26.723Z",&lt;/LI&gt; 
   &lt;LI&gt;&amp;nbsp;"UpdatedBy": "shgqc@fqwefe.com",&lt;/LI&gt; 
  &lt;/UL&gt;
 &lt;BR /&gt;&lt;BR /&gt;To see the whole post, download it &lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009McvM" target="_blank"&gt;here&lt;/A&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:51:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-loop-tRestClient-component-if-my-Response-from-API-is/m-p/2309411#M146593</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T03:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to loop tRestClient component if my Response from API is like this:</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-loop-tRestClient-component-if-my-Response-from-API-is/m-p/2309412#M146594</link>
      <description>Hi 
&lt;BR /&gt;How to get the sub_sub_folder? Are they all listed in the response of step1 or need to redo step1 to get the sub_sub_folder for each sub_folder?
&lt;BR /&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 12 Dec 2019 03:13:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-loop-tRestClient-component-if-my-Response-from-API-is/m-p/2309412#M146594</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-12T03:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to loop tRestClient component if my Response from API is like this:</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-loop-tRestClient-component-if-my-Response-from-API-is/m-p/2309413#M146595</link>
      <description>&lt;P&gt;Hi Shong, Thanks for you concern. To get the details of sub_sub_folder we need to hit the sub_folder URL. So you can say that we need to redo the step 1. But in step 1 we are passing parent folder link which is static. So we cannot change it in future processing, we need to hit the URL of sub_folder to get the details of Sub_sub_folder.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Shahbaz&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2019 05:07:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-loop-tRestClient-component-if-my-Response-from-API-is/m-p/2309413#M146595</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-12T05:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to loop tRestClient component if my Response from API is like this:</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-loop-tRestClient-component-if-my-Response-from-API-is/m-p/2309414#M146596</link>
      <description>&lt;P&gt;We will not get sub_sub_folder details from step 1. From step 1 we are only getting sub_folder details.&lt;BR /&gt;After going inside sub_folder we will fetch sub_sub_folder URL (i.e., URL which after hitting gives sub_sub_folder details in response) .&lt;BR /&gt;So we have to proceed like this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please ask me if any doubts is still there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Shahbaz&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2019 05:13:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-loop-tRestClient-component-if-my-Response-from-API-is/m-p/2309414#M146596</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-12T05:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to loop tRestClient component if my Response from API is like this:</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-loop-tRestClient-component-if-my-Response-from-API-is/m-p/2309415#M146597</link>
      <description>Shong, You can add/subtract Steps according to your preference. There is no hard &amp;amp; fast rule for that. The overall work is to go the end of all folders and hit the Document URL and from the response we get, Hit the HistoryItem URL. Whatever response we get from there we just have to push it into DB.
&lt;BR /&gt;I hope it is clear now.</description>
      <pubDate>Thu, 12 Dec 2019 13:40:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-loop-tRestClient-component-if-my-Response-from-API-is/m-p/2309415#M146597</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-12T13:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to loop tRestClient component if my Response from API is like this:</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-loop-tRestClient-component-if-my-Response-from-API-is/m-p/2309416#M146598</link>
      <description>Hi Shong,
&lt;BR /&gt;I am waiting for your reply.
&lt;BR /&gt;Thanks &amp;amp; Regards
&lt;BR /&gt;Shahbaz</description>
      <pubDate>Fri, 13 Dec 2019 15:27:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-loop-tRestClient-component-if-my-Response-from-API-is/m-p/2309416#M146598</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-13T15:27:44Z</dc:date>
    </item>
  </channel>
</rss>

