Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

Incoming REST API Logging?

Posted on by 12
Is there anywhere I can see the body of incoming REST API calls?
 
I've worked my way through this article: https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/webservices/dynamics-error-codes and I've found the log in Application Insights. I can see the message and the message header but I can't find the body.
 
The reason for asking is that I want to confirm whether the calling system is passing the right data in the right format to Business Central.
 
Thanks
  • Suggested answer
    Saurav.Dhyani Profile Picture
    Saurav.Dhyani 14,611 User Group Leader on at
    Incoming REST API Logging?
    Hi,
     
    If you are asking to log Custom API executed from AL Code, then refer these steps - 
     
     
     
    Regards,
    Saurav Dhyani
  • DAnny3211 Profile Picture
    DAnny3211 9,184 Super User on at
  • Suggested answer
    Tech-Lucky Profile Picture
    Tech-Lucky 794 on at
    Incoming REST API Logging?
    No i dont think the body is stored anywhere but you can create your own custom Log to store the body as well.

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,986 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,588 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans