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

Community site session details

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

Custom basic API on Premise, not detected after deploy

(1) ShareShare
ReportReport
Posted on by 84
Hello, 

I am currently learning to use API on BC On-prem, 
I've followed the guide from this link https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-develop-custom-api
I even use the same objectname and and field. But I cannot get the respon from postman.
I can call the standard API, but not the custom one.



I already check on table Metadata it's already listed there but I still unable to call it.
////
 
Is there any step that I missed?
 
 



**SOLVED Thank you ZHU.

Turned out the root cause is because the request URI missing API publisher and API group.
Missed it because I did comparing with the standard API which didn't not use the them.
 
I have the same question (0)
  • Suggested answer
    Shrey Chauhan Profile Picture
    284 on at
    Custom basic API on Premise, not detected after deploy
    Hello,

    To get the data of the Custom API : 
    Step-1 : Create the web service of your page.
    Step-2 : Copy the Odata URL.
    Step-3 : Use the NTLM Authentication in PostMan.
    Step-4 : Use the UserName and Password of your PC.
    Step-5 : And get the data.



    Hope this help's you.
    May other experts give's you better solution's.

    Thank You,
    Shrey Chauhan.
  • Verified answer
    YUN ZHU Profile Picture
    94,359 Super User 2025 Season 2 on at
    Custom basic API on Premise, not detected after deploy
    It seems that there is a problem with your endpoint. Your endpoint does not contain the new publisher and api group you defined in the code.
    Hope this helps.
    Thanks.
    ZHU

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,901

#2
YUN ZHU Profile Picture

YUN ZHU 2,079 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 2,041

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans