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...
Answered

Create a Custom Web Service via Web Service/API

(0) ShareShare
ReportReport
Posted on by

Hello, everyone.

I'm currently developing an extension for MS Business Central, a Connect Apps. To achieve what I want, my application needs to be able to fetch some data I could not find in the default APIs like: Vendor Bank Information, Payment Journals, and a custom code unit.
The problem is that to ship to users that have different tenants, they will have to configure this web services by themselves. I was wondering and then I looked around for a way to create this APIs/Web Services via API/Web Services after the user grant me access via OAuth. The problem is that I could not find anything related to that.

Does anyone know of a way to achieve this? Or have any suggestion on where to look into.


Thanks,

Fabiano

I have the same question (0)
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    You can create these web services directly when installing your extension.

    Please refer to this post (second way described is the better):

    demiliani.com/.../

  • Community Member Profile Picture
    on at

    Hello, Stefano.

    Thanks for answering.

    In a case where I'm only using the webservices and I don't have an intention to create an extension, I guess it is not possible, right?

    Best,

    Fabiano

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    Sorry but you wrote “I'm currently developing an extension for MS Business Central, a Connect Apps.”.

    Inside your extension’s project you can create a web service definition (as described in my blog post in the link above) and in this way when you install the extension you’re developing the ws will be automatically published.

  • Community Member Profile Picture
    on at

    Ok, thanks.

    The concepts behind a lot of things in MS Business Central are still not so clear in my mind. Just bought your book to dive a little deeper.

    Thanks for the answers, by the way.

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 2,005 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,148 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 557 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans