web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Consume SOAP web services in Business Central On Premise

(0) ShareShare
ReportReport
Posted on by 70

Hi Experts,

In NAV days we used to publish the related pages say Purchase Credit Memo and Purchase Credit Memo Subform as SOAP web service and then consume it form a third party application.

I want to know if I can do the same in Business Central by publishing the normal UI page as there is no separate API page for Purchase Credit Memo, and how I may test the same in Postman. I did some research on the same but didn't find any definitive answer on the same and thus currently I am stuck on "from where to start".

My Business Central environment is On-premise.

Thanks

I have the same question (0)
  • Suggested answer
    tanya07 Profile Picture
    1,638 on at

    Try this -

    docs.microsoft.com/.../web-services-authentication

    After you Generate a Web Service Access Key in BC 

    use these  same in POSTMAN and follow the process moving further for consuming the web service in POSTMAN.

    Please verify if this answers your query.

  • Lars Lohndorf-Larsen Profile Picture
    on at

    Hi, not all OData pages will be able to run in Postman, so I would get used to creating pages of type API, even though in theory API and OData should both work in Postman. But one limitation is that BC now expoects all API pages to have a column called "Id" which many OData pages don't. Looking forward to aslso hearing input from others on this.

  • SelfStarter Profile Picture
    70 on at

    Hi Tanya,

    Thanks a lot for replying!

    Actually my query has two parts one how to consume BC web services in Postman, for which you suggested a link. But I request you to please share it again as the current link has some missing portion in between.

    The other part of my query is can I use standard UI pages like Purchase Credit Memo and Purchase Credit Memo Subform to publish as Web Services and consume the SOAP APIs to retrieve or create new Credit Memos. Please suggest on this.

    Thanks

  • SelfStarter Profile Picture
    70 on at

    Hi Lars,

    Thanks a lot for replying!

    If possible can you help me with an example on how to consume BC SOAP APIs...

    Thanks

  • SelfStarter Profile Picture
    70 on at

    Hi Experts,

    Please help!

    Thanks

  • Lars Lohndorf-Larsen Profile Picture
    on at

    Hello,

    There is an earlier thread here which may have some ideas and links:

    Consuming Business Central API in POSTMAN - Dynamics 365 Business Central Forum Community Forum

    I hope that helps?

  • Suggested answer
    Tabrez Ajaz Profile Picture
    785 on at

    Hello SelfStarter,

    Multiple options were available in Business Central for update data externally.

    You are still able to create Page, Query, and Codeunit services as you did in Navision but here in Business Central you can also create Page of API type, and after Publishing the Services you can consume it from POSTMAN or SOAP UI.

    As no separate API is available for Purchase Credit Memo, you can expose custom API for this or you can expose SOAP service by creating methods in codeunit whichever is suitable for you.

    While consuming the Web Service you can use Username and Password for authentication including your domain in username, also make sure to enable NTLM Authentication for authorization if your ClientCredentialType is set to Windows.

    If you are using NavUserPassword, make sure to configure SSL and thumbprint then for this you can use Authorization type basic for authentication.

    It's not very hard, recently I have created PowerApps with On-Premise, and also used Microsoft Power Automate.

  • SelfStarter Profile Picture
    70 on at

    Hi Tabrez,

    Thanks a lot for providing me a detailed overview of the available solutions. I will try them as suggested.

    Thanks again!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,143

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,694 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans