Skip to main content

Notifications

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

Call Business Central procedure from external application - HTTP/JSON

Posted on by 65

Hello!

I want from an external application (online store) to call a procedure from Business Central, which will perform the indicated operations in the system.

In the store, I have the ability to call a webhook for a specific (defined by the store provider) event, such as the creation of a new product.

How to prepare BC to receive such HTTP with JSON content? In addition, I would probably have to pass some token for authorization. I already have App Registration prepared on Azure, which will return a token to the BC after providing clientId, password and tenantId by querying to:
login.microsoftonline.com/.../token

For example, I would like the BC to accept a JSON from the store with information about a new product, and then call a procedure I created to create a new product based on the JSON received.

Is something like this possible?

Best Regards!

  • Suggested answer
    Andy Sather Profile Picture
    Andy Sather on at
    RE: Call Business Central procedure from external application - HTTP/JSON

    Hello  - We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist.  If you need assistance with debugging or coding I would recommend discussing this on one of our communities.

    www.yammer.com/dynamicsnavdev

    I will open this up to the community in case they have something to add.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,056 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans