<?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: Calling Paginated API with an &amp;quot;endCursor&amp;quot; variable that needs to be passed to subseque in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Calling-Paginated-API-with-an-quot-endCursor-quot-variable-that/m-p/2719012#M38105</link>
    <description>&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Did the above suggestions help with your scenario? if that is the case, you can consider Kudo or Accept the helpful suggestions to help others who faced similar requirements.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;If these also don't help, please share more detailed information to help us clarify your scenario to test.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;&lt;A href="http://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;How to Get Your Question Answered Quickly&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Xiaoxin Sheng&lt;/P&gt;</description>
    <pubDate>Tue, 23 Aug 2022 06:34:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-08-23T06:34:31Z</dc:date>
    <item>
      <title>Calling Paginated API with an "endCursor" variable that needs to be passed to subsequent calls</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Calling-Paginated-API-with-an-quot-endCursor-quot-variable-that/m-p/2688177#M37789</link>
      <description>&lt;P&gt;Hey there.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking for help for a bit of a complicated problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a connection to a REST API that returns a&lt;STRONG&gt; pagination variable&lt;/STRONG&gt; to send on subsequent API requests to retrieve the next page.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to loop through the pages and get all the data into PBI desktop but am having trouble doing so with this &lt;STRONG&gt;endCursor&lt;/STRONG&gt; variable.&lt;/P&gt;&lt;P&gt;Here's an example response for a call with an "&lt;STRONG&gt;endCursor&lt;/STRONG&gt;"(the variable in question) and a "&lt;STRONG&gt;hasNextPage&lt;/STRONG&gt;":&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-120px"&gt;&lt;DIV class="lia-indent-padding-left-120px"&gt;&lt;STRONG&gt;"pagination":&amp;nbsp;{&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-120px"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"endCursor":&amp;nbsp;"(random variable is here)",&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-120px"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"hasNextPage":&amp;nbsp;true&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-120px"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-120px"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I'm not sure how I would be able to pass the variable into the "RelativePath" and have it loop through all the data.&lt;/DIV&gt;&lt;DIV&gt;Has anyone done this successfully?&lt;/DIV&gt;</description>
      <pubDate>Mon, 08 Aug 2022 21:14:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Calling-Paginated-API-with-an-quot-endCursor-quot-variable-that/m-p/2688177#M37789</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-08T21:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Paginated API with an "endCursor" variable that needs to be passed to subseque</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Calling-Paginated-API-with-an-quot-endCursor-quot-variable-that/m-p/2693793#M37833</link>
      <description>&lt;P&gt;HI&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Perhaps you can take a look at the 'GenerateByPage' helper function to create a custom function to iterator and expand records based on the page number:&lt;BR /&gt;&lt;A href="https://docs.microsoft.com/en-us/power-query/helperfunctions#tablegeneratebypage" target="_blank"&gt;Helper functions for M extensions for Power Query connectors - Power Query | Microsoft Docs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Moonlight&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 02:44:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Calling-Paginated-API-with-an-quot-endCursor-quot-variable-that/m-p/2693793#M37833</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-11T02:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Paginated API with an "endCursor" variable that needs to be passed to subseque</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Calling-Paginated-API-with-an-quot-endCursor-quot-variable-that/m-p/2719012#M38105</link>
      <description>&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Did the above suggestions help with your scenario? if that is the case, you can consider Kudo or Accept the helpful suggestions to help others who faced similar requirements.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;If these also don't help, please share more detailed information to help us clarify your scenario to test.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;&lt;A href="http://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;How to Get Your Question Answered Quickly&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Xiaoxin Sheng&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 06:34:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Calling-Paginated-API-with-an-quot-endCursor-quot-variable-that/m-p/2719012#M38105</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-23T06:34:31Z</dc:date>
    </item>
  </channel>
</rss>

