I have an external mobile application which I I’m intergating with acumatica. I I’m using a look up field where a user has to select from and can also input keywords to get the desired customer.
Below is the endpoint Im using;
https://XXX.acumatica.com/entity/Default/20.200.001/Customer
Number of customer in acumatica: 30,000
However it is taking around 15 min to get the customers and be diplayed on the selector for the end user to choose or in getting the desired result if the user is using a keyword.
How can I improve the speed of fetching to be in seconds and not this many minutes.
Acumatica endpoint taking too long to return records
Best answer by jinin
Depending on your needs, you could try using $select to limit the fields returned for each record.
For example, something like this should dramatically reduce the amount of data returned (and by extension, the time taken to process the request):
https://XXX.acumatica.com/entity/Default/20.200.001/Customer?$select=CustomerID,CustomerName
I’ve also heard that GI based OData feeds tend to run faster than the WS API.
Thanks
I I’m using $select to limit the fields to only 6. However, The time taken to return response is still too long.
Do you have an example or article I can reference on this?
“I’ve also heard that GI based OData feeds tend to run faster than the WS API.”
Hi
Please refer to the article below regarding OData.
https://openuni.acumatica.com/wp-content/uploads/2017/08/I300-slides.pdf
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.