<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Looping API call</title><link>https://community.appian.com/discussions/f/data/24118/looping-api-call</link><description>Hi. I&amp;#39;m a novice so as much help as possible would be appreciated! I have managed to work out how to extract the data I want via an API, however, there&amp;#39;s too much of it and I get a memory error when setting the batch size to -1. Smaller batches work fine</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Looping API call</title><link>https://community.appian.com/thread/92964?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2022 13:01:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8eefc636-fc70-4280-bc37-6cf616365af5</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;You will need to implement paging in your&amp;nbsp;API itself. The other system needs to send a startIndex and a batchSize to you so you can fetch the according batch of data and return it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Looping API call</title><link>https://community.appian.com/thread/92961?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2022 12:40:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9679bd6e-3c41-4cf6-aea7-0e886b45522c</guid><dc:creator>stuaradr</dc:creator><description>&lt;p&gt;Thanks but with my limited knowledge, they are not going to be possible.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Looping API call</title><link>https://community.appian.com/thread/92960?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2022 12:38:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4dfb02dd-200a-4098-b734-d0f96691f818</guid><dc:creator>GopalK</dc:creator><description>&lt;p&gt;for 5000 records , you can use queryRecordType but for more than 5000 records you can use function&amp;nbsp;executestoredprocedure(). But you would need to write a procedure in your db.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Looping API call</title><link>https://community.appian.com/thread/92958?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2022 12:30:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6cf2d7bb-de5b-488c-90b8-62a4d7ac6c2e</guid><dc:creator>stuaradr</dc:creator><description>&lt;p&gt;At the moment I think it&amp;#39;s about 5000.&lt;br /&gt;I need to be able to get the data into PowerBI which I do for other tables using PowerQuery and API endpoints.&lt;br /&gt;&lt;br /&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Looping API call</title><link>https://community.appian.com/thread/92957?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2022 12:28:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1b8ae4b6-8676-49e3-af43-935832992d93</guid><dc:creator>GopalK</dc:creator><description>&lt;p&gt;Hi, how many records you have in your table? i would have tried execute stored procedure function to get the data, but again it totally depends upon the use case and the amount of the data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>