<?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 connect to a REST api with the Qlik REST Connector but we are having problems with the pagination in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/connect-to-a-REST-api-with-the-Qlik-REST-Connector-but-we-are/m-p/6976#M124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are trying to connect to a REST api with the Qlik REST Connector but we are having problems with the pagination. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The api we use supports 2 methods of pagination, offset and next url. Both in a slightly different way than the Qlik connector supports. For offset, Qlik expects the info to be either in the headers or in the JSON data itself. In the api we need to connect to, the offset and limit are located in the url. Like this: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://api.url.com/api/v2/employee?limit=10&amp;amp;offset=20" rel="nofollow" target="_blank"&gt;https://api.url.com/api/v2/employee?limit=10&amp;amp;offset=20&lt;/A&gt;&lt;SPAN&gt; When using Next Page, Qlik looks in the headers as well. This is fine but the api sends multiple links in the same header field called Link. Qlik can’t separate these urls. Like this: [link = ; rel="next", ; rel="last”] I’ve tried writing a custom pagination script and this mostly works but I don’t know how I can read a header value of the response to get the total count.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The total count is located in the header field as ‘X-Total-Count’. Any suggestions on how to get this working?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jan 2018 08:49:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-01-25T08:49:54Z</dc:date>
    <item>
      <title>connect to a REST api with the Qlik REST Connector but we are having problems with the pagination</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/connect-to-a-REST-api-with-the-Qlik-REST-Connector-but-we-are/m-p/6976#M124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are trying to connect to a REST api with the Qlik REST Connector but we are having problems with the pagination. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The api we use supports 2 methods of pagination, offset and next url. Both in a slightly different way than the Qlik connector supports. For offset, Qlik expects the info to be either in the headers or in the JSON data itself. In the api we need to connect to, the offset and limit are located in the url. Like this: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://api.url.com/api/v2/employee?limit=10&amp;amp;offset=20" rel="nofollow" target="_blank"&gt;https://api.url.com/api/v2/employee?limit=10&amp;amp;offset=20&lt;/A&gt;&lt;SPAN&gt; When using Next Page, Qlik looks in the headers as well. This is fine but the api sends multiple links in the same header field called Link. Qlik can’t separate these urls. Like this: [link = ; rel="next", ; rel="last”] I’ve tried writing a custom pagination script and this mostly works but I don’t know how I can read a header value of the response to get the total count.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The total count is located in the header field as ‘X-Total-Count’. Any suggestions on how to get this working?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2018 08:49:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/connect-to-a-REST-api-with-the-Qlik-REST-Connector-but-we-are/m-p/6976#M124</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-25T08:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: connect to a REST api with the Qlik REST Connector but we are having problems with the pagination</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/connect-to-a-REST-api-with-the-Qlik-REST-Connector-but-we-are/m-p/6977#M125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you use the &lt;STRONG&gt;WITH CONNECTION&lt;/STRONG&gt; functionality to pass values to the URL? e.g. &lt;A href="https://community.qlik.com/message/1425026"&gt;Re: QS S3 Connection for Non Public files&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 13:50:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/connect-to-a-REST-api-with-the-Qlik-REST-Connector-but-we-are/m-p/6977#M125</guid>
      <dc:creator>Levi_Turner</dc:creator>
      <dc:date>2018-01-29T13:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: connect to a REST api with the Qlik REST Connector but we are having problems with the pagination</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/connect-to-a-REST-api-with-the-Qlik-REST-Connector-but-we-are/m-p/6978#M126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P style="font-size: 12.8px; font-family: 'Helvetica Neue'; color: #454545;"&gt;&lt;/P&gt;&lt;P style="font-size: 12.8px; font-family: 'Helvetica Neue'; color: #454545;"&gt;The issue is not passing values, we can pass the right URL parameters and header values. The problem is that the response gives back the total records in the headers.&amp;nbsp; For the pagination we need to know the total amount of records. So we need to find a way to read out the headers of the response data in order to get that amount.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 14:32:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/connect-to-a-REST-api-with-the-Qlik-REST-Connector-but-we-are/m-p/6978#M126</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-29T14:32:10Z</dc:date>
    </item>
  </channel>
</rss>

