Announcements
No record found.
Hi,
i need to verify what request Json someone sent and what response we returned in D365fo. Currently i'm using a postman to create an item, and in return i'm getting a message "item number has been created". So now if i want to track what request some sent and what response return from D365fo. How can i do that ?
Anyone familiar with this situation ? suggest some solutions.
Regards,
Zohan Shahid
Which kind of service are you talking about? A custom service called through the JSON-based endpoint?
Does it mean that you want to log all communication on this single endpoint? Or what exactly are you looking for?
How exactly does the "someone" calls the service? Can't you handle logging there?
Hi Martin,
Yes a custom service.
As far as I understand, your purpose is not simply to test the service (if not, there are .Net connection examples published by microsoft if you just want to test and see the result)
But if you want to keep the incoming and outgoing values in every transaction, you need to add logs codes to the relevant methods in the service class.
You can get the service from the service group and You can identify the classes and methods from the service.
zohan, please don't forget to look at the other questions as well.
If the requirement is checking the JSON request and response, it's not possible to do it in the service operation, because that works with X++ types, the method response etc. JSON (de-)serialization happens outside of the method. Although we can say for sure that it wouldn't meet the technical requirement, it might still meet the business requirement. We can't know because the business requirement hasn't been described.
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Giorgio Bonacorsi 681
André Arnaud de Cal... 446 Super User 2026 Season 1
Syed Haris Shah 202 Super User 2026 Season 1