<?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 Read multiple Json pages from a REST API in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Read-multiple-Json-pages-from-a-REST-API/m-p/2377677#M139488</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a scenario to extract responses from a REST API  on a daily basis. For this as per the API definition I have to provide query parameter as from_date and to_date hence responses for this particular period would be retrieved form the API and a max of 50 responses is included in a page.  If this particular period have 100 records then it would be included in 2 pages. &lt;/P&gt;&lt;P&gt;The design what I implement only iterate to the first page and return 50 records , in order to get the whole records I need to call the Rest API one more time. That is another query parameter the API support to pass the page number ,so in this case I have to pass the page parameter dynamically two time .&lt;/P&gt;&lt;P&gt;I tried this requirement as like below&lt;/P&gt;&lt;P&gt;Firstly, with the date range I found the total number of page and save to a context variable (say 2)&lt;/P&gt;&lt;P&gt;then in the next branch I put one tforLoop and give the condition to iterate two times. The problem is I cannot connect tForloop  to tRestClient. If anybody have some idea about to resolve this , Please share your suggestions.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Thu, 20 Jan 2022 21:58:58 GMT</pubDate>
    <dc:creator>SreejithSL</dc:creator>
    <dc:date>2022-01-20T21:58:58Z</dc:date>
    <item>
      <title>Read multiple Json pages from a REST API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-multiple-Json-pages-from-a-REST-API/m-p/2377677#M139488</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a scenario to extract responses from a REST API  on a daily basis. For this as per the API definition I have to provide query parameter as from_date and to_date hence responses for this particular period would be retrieved form the API and a max of 50 responses is included in a page.  If this particular period have 100 records then it would be included in 2 pages. &lt;/P&gt;&lt;P&gt;The design what I implement only iterate to the first page and return 50 records , in order to get the whole records I need to call the Rest API one more time. That is another query parameter the API support to pass the page number ,so in this case I have to pass the page parameter dynamically two time .&lt;/P&gt;&lt;P&gt;I tried this requirement as like below&lt;/P&gt;&lt;P&gt;Firstly, with the date range I found the total number of page and save to a context variable (say 2)&lt;/P&gt;&lt;P&gt;then in the next branch I put one tforLoop and give the condition to iterate two times. The problem is I cannot connect tForloop  to tRestClient. If anybody have some idea about to resolve this , Please share your suggestions.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 21:58:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-multiple-Json-pages-from-a-REST-API/m-p/2377677#M139488</guid>
      <dc:creator>SreejithSL</dc:creator>
      <dc:date>2022-01-20T21:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Read multiple Json pages from a REST API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-multiple-Json-pages-from-a-REST-API/m-p/2377678#M139489</link>
      <description>&lt;P&gt;I have written an article/blog which covers this with the Slack API. You can see it here....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;https://community.talend.com/s/article/Sending-Slack-messages-with-Talend-part-2-Collecting-your-Slack-data?language=en_US&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are looking for the "Retrieving key Slack information to send messages" section.  I repeat calls to the API and make use of a "cursor" in the URL which is constructed from the result of the previous call.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 22:49:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-multiple-Json-pages-from-a-REST-API/m-p/2377678#M139489</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-20T22:49:55Z</dc:date>
    </item>
  </channel>
</rss>

