Skip to main content

Notifications

Announcements

No record found.

Supply Chain Management forum
Suggested answer

Get ODATA JSON from an incremental Data Entity

Posted on by 40

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,344 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.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans