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!
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.
I will open this up to the community in case they have something to add.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,219 Super User 2024 Season 2
Martin Dráb 230,056 Most Valuable Professional
nmaenpaa 101,156