Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Unanswered

Optimization of OData entity API

(1) ShareShare
ReportReport
Posted on by 43
Hi, I have created an Odata API of Sales orders, That is nothing but the copy of the default order headers API. We are trying to send information on orders to the other system, so it is being used as an outbound API. We are facing an issue in the optimization, as it returns records in thousands, and the modified orders are large. It takes approximately 3 minutes in every call to synch data to the portal(the other system), which gives timeout to the portal and synching data from D365 FO to the other system fails. My API does not have any extra joins, all are needed. How can I optimize it more, or is there any pagination kind of concept available to send data to the portal in chunks like if there are 5000 records available in the modified datetime >= 4th December , I want to send data in chunks of 1000, or suggest any of the best way to avoid the timeout situation.
Categories:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,331 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,333 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans