<?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 copy Data from Rest API with pagination? in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/How-to-copy-Data-from-Rest-API-with-pagination/m-p/4295709#M6444</link>
    <description>&lt;P&gt;What if my pagination is done via body within a POST request where I need to have "after" parameter? If I use "pagination rules" where I add queryparameters and set "after" to &lt;SPAN&gt;$.paging.next.after, how do I put this value back into my request? I've been digging around for this everywhere and could not find anything. The solution offered in ADF did not work&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Nov 2024 17:03:43 GMT</pubDate>
    <dc:creator>nik1031</dc:creator>
    <dc:date>2024-11-21T17:03:43Z</dc:date>
    <item>
      <title>How to copy Data from Rest API with pagination?</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/How-to-copy-Data-from-Rest-API-with-pagination/m-p/3724403#M1964</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to copy data using Data Pipelines from a Rest API into a dataware house. I am stuck at the pagination part. I am unable to get the pipeline to run through all data.&lt;BR /&gt;&lt;BR /&gt;Here is a sample response from the API. Note that it gives a url for the next page and returns null when it is the last page:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{ &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;"count": 656, &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;"next": "&lt;A href="https://hi.abc.com/v3/customer/core/users/?limit=100&amp;amp;offset=100" target="_blank" rel="noopener"&gt;https://hi.abc.com/v3/customer/core/users/?limit=100&amp;amp;offset=100&lt;/A&gt;", &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;"previous": null, &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;&lt;SPAN&gt;"results": [&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The question is how do I configure the set up so that it takes the "next": url and iterates it until it is null?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried the following set up and it did not work out.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 15:48:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/How-to-copy-Data-from-Rest-API-with-pagination/m-p/3724403#M1964</guid>
      <dc:creator>shun888</dc:creator>
      <dc:date>2024-02-26T15:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy Data from Rest API with pagination?</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/How-to-copy-Data-from-Rest-API-with-pagination/m-p/3726240#M1971</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="371773" data-lia-user-login="shun888" class="lia-mention lia-mention-user"&gt;shun888&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for using Microsoft Fabric Community.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As I understand that&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;you are looking for how to use the pagination rules i&lt;/SPAN&gt;&lt;SPAN&gt;n Microsoft fabric for the data pipeline using the copy data activity from an API&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;APIs often return a large amount of data. Pagination allows you to retrieve a&amp;nbsp;manageable subset of this data at a time, preventing unnecessary strain on resources and reducing the likelihood of timeouts or errors.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;For more information please refer to this documentation:&amp;nbsp;&lt;A href="https://techcommunity.microsoft.com/t5/fasttrack-for-azure/implementing-pagination-with-the-copy-activity-in-microsoft/ba-p/3914977" target="_blank" rel="noopener"&gt;Implementing Pagination with the Copy Activity in Microsoft Fabric&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this information helps. Please do let us know if you have any further questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 06:24:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/How-to-copy-Data-from-Rest-API-with-pagination/m-p/3726240#M1971</guid>
      <dc:creator>v-cboorla-msft</dc:creator>
      <dc:date>2024-02-27T06:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy Data from Rest API with pagination?</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/How-to-copy-Data-from-Rest-API-with-pagination/m-p/3727948#M1976</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="371773" data-lia-user-login="shun888" class="lia-mention lia-mention-user"&gt;shun888&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Glad that your query got resolved.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please continue using Fabric Community for any help regarding your queries.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 14:34:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/How-to-copy-Data-from-Rest-API-with-pagination/m-p/3727948#M1976</guid>
      <dc:creator>v-cboorla-msft</dc:creator>
      <dc:date>2024-02-27T14:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy Data from Rest API with pagination?</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/How-to-copy-Data-from-Rest-API-with-pagination/m-p/4295709#M6444</link>
      <description>&lt;P&gt;What if my pagination is done via body within a POST request where I need to have "after" parameter? If I use "pagination rules" where I add queryparameters and set "after" to &lt;SPAN&gt;$.paging.next.after, how do I put this value back into my request? I've been digging around for this everywhere and could not find anything. The solution offered in ADF did not work&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 17:03:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/How-to-copy-Data-from-Rest-API-with-pagination/m-p/4295709#M6444</guid>
      <dc:creator>nik1031</dc:creator>
      <dc:date>2024-11-21T17:03:43Z</dc:date>
    </item>
  </channel>
</rss>

