Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Consuming of Web api from C#

(0) ShareShare
ReportReport
Posted on by
Guys can you help me about my task because i want to use my web api to business central. the api is need to have a log in before it can be use. In business central i need to have a action button where in i can use the web api from c#. thank you so much for the help
  • Alexander Drogin Profile Picture
    Alexander Drogin 112 on at
    Consuming of Web api from C#
    I'm afraid the question is too generic to give any recommendations. What kind of problem is blocking you from doing this task?
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    Khushbu Rajvi. 5,856 Moderator on at
    Consuming of Web api from C#
    To consume a web API in Business Central with authentication, create a codeunit to handle the API calls and include authentication headers. Attach the codeunit's method to an action button on a page to trigger the API call when clicked.

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,642 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,371 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans