Skip to main content
jasonb1005
August 26, 2022
Question

Integration with Web API only returning 20 results (sometimes 10)

  • August 26, 2022
  • 5 replies
  • 0 views

Hello, 
I set up an integration utilizing the rawg.io API and it seems to be working fine. However, I noticed that even though the count for a lot of the results is in the thousands, I'm only getting dictionary results of 10 or 20


I'm having trouble if this is something built into the API, or if its something I missed with Appian.

Thank you

5 replies

August 26, 2022

I think it is from the API side. Please contact your API provider.

harshitb6843
August 26, 2022

There must be an additional parameter in the API that controls the batch size. 
It might be possible that there are in total thousands of items but you are only querying 10-20 of them and you can adjust this.

jasonb1005
August 26, 2022

You were right. I missed it in the documentation. Once I found it, it was simple enough to add as a parameter

balaganeshb0004
August 26, 2022

Hi, can you pls the check the Batch Size in WebApi configuration object

jasonb1005
August 26, 2022

I solved it. Since the issue was happening with the integration, I didn't think any kind of Appian function would solve this. The problem was with my API call. The docs of the API had a parameter called "page_size" I was overlooking. I just added it to the parameters and got what I was looking for. Appian still truncates large sets of data in the results, but if you call that data with rule! in an interface it gives you everything.