Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Answered

How to access custom api in postman using On Premise business central?

Posted on by 288
Hello Sir/Ma'am,
I am trying to consume custom api of on premise business central in postman, However its showing the data on frontend as below image :

But same I am trying to call using postman using Basic Auth and also Tried the NTLM Authentication it's showing as 401 Unauthorized as below image :

As NTLM Authentication

I have also enabled all the permission in Administration Shell like :
Enable NTLM Authentication
Enabled Soap Services
Enabled Odata services
Enabled API services

Please help me to solve this problem

Your efforts is appreciated 
Thank you for your valuable response and time
  • Verified answer
    YUN ZHU Profile Picture
    YUN ZHU 68,757 Super User 2024 Season 2 on at
    How to access custom api in postman using On Premise business central?
    Just add some information:
    How to use Postman to connect to Dynamics 365 Business Central On-Premises
     
     
    Thanks.
    ZHU
  • Verified answer
    Ariba Mehdi Profile Picture
    Ariba Mehdi 160 on at
    How to access custom api in postman using On Premise business central?
    Hi there, 
    After enabling these, restart the BC service, and try NTLM authentication. It is working with me. 
     
       
     
    Also, try writing the username without the domain. It works with me. 
     
        
     
     
    Make sure you have restarted the BC service after editing the server. 
     
    Hope this helps!
     

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,349 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,212 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans