Skip to main content

Notifications

Announcements

No record found.

Supply chain | Supply Chain Management, Commerce
Suggested answer

Get ODATA JSON from an incremental Data Entity

Posted on by 45

Hi to all!
I'm here to ask if it is possible to realize a thing we need for one of our clients, and to understand how, eventually.

I need to realize a batch class that will be executed every 5 minutes and that will extract data from Dynamics 365 and send it out in JSON format through an HTTP request.

We'd like to use Data entities to do this: we know that DE already implement an incremental system, so every time we call it we will see just the new data, not all data. Further more, data entities give us data in JSON format when called through ODATA. So, I would already have the JSON format I need to send.

What I'd like to understand is if there is a way to use DE in such way, through my batch class. I've googled around for the incremental DE system and looking for a way to get the ODATA JSON from x++ code, but I didn't find anything enough specific.

Is there anyone that can help me with that? Thank you!

  • Suggested answer
    WillWU Profile Picture
    WillWU 22,350 on at
    RE: Get ODATA JSON from an incremental Data Entity

    Hi Andrea,

    One solution is to use BYOD, you could enable change tracking for entities to implement incremental Data Exports, and you could manipulate the data in your database more easily.

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

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 Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans