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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Unanswered

Is there any way to know which url an external api is hitting in business central.

(0) ShareShare
ReportReport
Posted on by 10

I am trying to maintain an API Log in BC, whenever the external app tries to hit an api page of BC, i want to know some specific details like, on which url the external app hit, the external api method, request body, response code, response body (what response did business central sent back). I want to do all this in AL code. Help would be greatly appreciated.

I have the same question (0)
  • steveendow Profile Picture
    2,281 on at

    Hi,

    I would recommend starting with Business Central Telemetry using Application Insights.  It only takes a few minutes to setup and requires zero AL or customization.  If you still need more information about the API calls, you could then investigate AL options.  

    Note:  Entering the App Insights key in the BC Admin center will reboot the BC tenant, so you'll want to do that after hours or during a maintenance window

    Note on data collected by BC Telemetry: Request Body and Response Body are not logged to Application Insights due to GDPR compliance requirements.

    twitter.com/.../1420409536091938819

    Here is a Docs page listing the data elements available through BC Telemetry with Application Insights:

    docs.microsoft.com/.../telemetry-webservices-trace

    (thanks to AJ for the link  twitter.com/.../1420414035837825043

    Here is an article on the BC Telemetry configuration process:

    https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/telemetry-enable-application-insights

    Let me know if BC Telemetry with Application Insights might work for you.

  • steveendow Profile Picture
    2,281 on at

    Kennie has created a sample Application Insights KQL query for web service calls:

    twitter.com/.../1420454936215699462

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,949 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,064 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 559 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans