<?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 Rest Connection &amp;amp; JSON in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Rest-Connection-amp-JSON/m-p/2082447#M88755</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have the following rest connection in Qlik sense&amp;nbsp; :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sharbel_1-1686397969341.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/109776iCDAD955FB7BBDEAB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sharbel_1-1686397969341.png" alt="Sharbel_1-1686397969341.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and&amp;nbsp; also the following&amp;nbsp; script in the Request body :&lt;/P&gt;
&lt;P&gt;{&lt;BR /&gt;"jsonrpc": "2.0",&lt;BR /&gt;"id": 38,&lt;BR /&gt;"cred": {&lt;BR /&gt;"token": "*********",&lt;BR /&gt;"user": "*********"&lt;BR /&gt;},&lt;BR /&gt;"method": "appointment.get_appointment_by_filter_v2",&lt;BR /&gt;"params": {&lt;BR /&gt;"business": {&lt;BR /&gt;"id": "4000000007291"&lt;BR /&gt;},&lt;BR /&gt;"pageSize": 1000,&lt;BR /&gt;"page": 1,&lt;BR /&gt;"skipBusinessCancelled": false,&lt;BR /&gt;"filter": {&lt;BR /&gt;"start": "2023-06-10T00:00:00.000",&lt;BR /&gt;"end": "2023-07-31T23:59:59.000"&lt;BR /&gt;},&lt;BR /&gt;"network": {&lt;BR /&gt;"id": 388&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;there are some limitations&amp;nbsp; with the above script :&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;1.it always returns 250 rows (although "pageSize": 1000)&lt;/P&gt;
&lt;P&gt;2.it is limited to only 1 page ("page": 1)&lt;/P&gt;
&lt;P&gt;3.it is limited to specific id ("id": "4000000007291")&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4."start date" and "end date" are hardcoded as well&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;I appreciate any help in modifying&amp;nbsp; the above script&amp;nbsp; so it accomplishes the following:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;1. parameter "page size" returns maximum rows&lt;/P&gt;
&lt;P&gt;2.Number of pages is not limited to 1 (maximum pages available)&lt;/P&gt;
&lt;P&gt;3.Parameter "id"&amp;nbsp; &amp;nbsp;there are 17 different&amp;nbsp; id's each one is consists of 13 digits and always starts with 400000000 (the complete number would look like 400000000XXXX)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4."start date" &amp;amp; "end date" are dynamic&amp;nbsp;&lt;/P&gt;
&lt;P&gt;appreciate your help&lt;/P&gt;
&lt;P&gt;Sharbel&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 10 Jun 2023 12:20:07 GMT</pubDate>
    <dc:creator>Sharbel</dc:creator>
    <dc:date>2023-06-10T12:20:07Z</dc:date>
    <item>
      <title>Rest Connection &amp; JSON</title>
      <link>https://community.qlik.com/t5/App-Development/Rest-Connection-amp-JSON/m-p/2082447#M88755</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have the following rest connection in Qlik sense&amp;nbsp; :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sharbel_1-1686397969341.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/109776iCDAD955FB7BBDEAB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sharbel_1-1686397969341.png" alt="Sharbel_1-1686397969341.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and&amp;nbsp; also the following&amp;nbsp; script in the Request body :&lt;/P&gt;
&lt;P&gt;{&lt;BR /&gt;"jsonrpc": "2.0",&lt;BR /&gt;"id": 38,&lt;BR /&gt;"cred": {&lt;BR /&gt;"token": "*********",&lt;BR /&gt;"user": "*********"&lt;BR /&gt;},&lt;BR /&gt;"method": "appointment.get_appointment_by_filter_v2",&lt;BR /&gt;"params": {&lt;BR /&gt;"business": {&lt;BR /&gt;"id": "4000000007291"&lt;BR /&gt;},&lt;BR /&gt;"pageSize": 1000,&lt;BR /&gt;"page": 1,&lt;BR /&gt;"skipBusinessCancelled": false,&lt;BR /&gt;"filter": {&lt;BR /&gt;"start": "2023-06-10T00:00:00.000",&lt;BR /&gt;"end": "2023-07-31T23:59:59.000"&lt;BR /&gt;},&lt;BR /&gt;"network": {&lt;BR /&gt;"id": 388&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;there are some limitations&amp;nbsp; with the above script :&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;1.it always returns 250 rows (although "pageSize": 1000)&lt;/P&gt;
&lt;P&gt;2.it is limited to only 1 page ("page": 1)&lt;/P&gt;
&lt;P&gt;3.it is limited to specific id ("id": "4000000007291")&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4."start date" and "end date" are hardcoded as well&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;I appreciate any help in modifying&amp;nbsp; the above script&amp;nbsp; so it accomplishes the following:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;1. parameter "page size" returns maximum rows&lt;/P&gt;
&lt;P&gt;2.Number of pages is not limited to 1 (maximum pages available)&lt;/P&gt;
&lt;P&gt;3.Parameter "id"&amp;nbsp; &amp;nbsp;there are 17 different&amp;nbsp; id's each one is consists of 13 digits and always starts with 400000000 (the complete number would look like 400000000XXXX)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4."start date" &amp;amp; "end date" are dynamic&amp;nbsp;&lt;/P&gt;
&lt;P&gt;appreciate your help&lt;/P&gt;
&lt;P&gt;Sharbel&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 12:20:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rest-Connection-amp-JSON/m-p/2082447#M88755</guid>
      <dc:creator>Sharbel</dc:creator>
      <dc:date>2023-06-10T12:20:07Z</dc:date>
    </item>
  </channel>
</rss>

