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!