web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Options in D365 Finance and Operations for logging external restful API calls made from X++

(1) ShareShare
ReportReport
Posted on by 9
Hi there. I am working a D365 Finance and Operation solution that includes making a call to an external Restful API service. One of the requirements is for the JSON request and response data for the calls be saved for auditing and troubleshooting purposes. The request and response data that is saved also needs to be viewable within the Finance and Operations system. Furthermore, the data should either be automatically cleared up from time to time or at the very least provide an option to clear the data.
 
Are there any out of the box classes, methods, or tables that my X++ code can utilize? I would like to avoid creating a new table and form if something like this already exists. 
I am familiar with using Azure App Insights for logging but that may not be an option as I don't believe it is viewable from within Fin+Ops.
 
Thank you
I have the same question (0)
  • Anthony Blake Profile Picture
    2,700 Super User 2025 Season 2 on at
    Options in D365 Finance and Operations for logging external restful API calls made from X++
    You would need to create something custom, or perhaps put APIM in the middle. APIM has the facility to log the calls and send to a ALA workspace.
     
  • Suggested answer
    Waed Ayyad Profile Picture
    8,952 Super User 2025 Season 2 on at
    Options in D365 Finance and Operations for logging external restful API calls made from X++
    Hi,
     
    I don't think you will find an OOB functionality to achieve this. Take a look in following question in the community it maybe helps you:
     
     
    Thanks,
    Waed Ayyad
    If this helped, please mark it as "Verified" for others facing the same issue
     
  • Suggested answer
    Anton Venter Profile Picture
    20,281 Super User 2025 Season 2 on at
    Options in D365 Finance and Operations for logging external restful API calls made from X++
    Hi,
     
    No, there isn't any standard functionality that fully meets all your requirements. Business Events comes close but it's not meant for this kind of thing.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,258

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 949 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 631 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans