Skip to main content

Notifications

Small and medium business | Business Central, N...
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
Categories:
  • Verified answer
    YUN ZHU Profile Picture
    YUN ZHU 73,565 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!
     

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!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans