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)
  • Verified answer
    YUN ZHU Profile Picture
    92,443 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
  • 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.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,132

#2
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 3,615

#3
Sumit Singh Profile Picture

Sumit Singh 2,912

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans