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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Business Central Local Docker Container - Testing APIs

(2) ShareShare
ReportReport
Posted on by 666
Hi, 
I created a Business Central Docker Container using the steps from this link
Get Started Developing for BC: Docker Containers – BC Development Notebook

I'm trying to test a simple API, but with no luck.  

Configurations: 
1. Soap Services: Enabled; 
2.ODataServices: Enabled
3.API Services Enabled
4. Server Instance Authentication : UserPassword
5. License: Developer
6. User Permissions: 
 
What I have tried: 
1. I tried exposing the Page on the "Web Service" page and using the old school Web Service Key on the User Card. I'm able to Gain Access but the OData does not return any data. It times out. (There is only 10 Records on my Customer list)
2. I tried replacing the DNS with the Service Instance IP Address. No luck either. 
3. I tried "http://bc26/BC/ODataV4/$metadata" Postman Accepts my credentials but no data is returned.
 
If anyone knows of a good step by step guide to setup APIs for local Business Central Dockers that would really help. 

Thanks
 
I have the same question (0)
  • Suggested answer
    Nimsara Jayathilaka. Profile Picture
    4,950 Super User 2026 Season 1 on at
    Hi
    You need to make sure you are using the correct container IP and port (default OData port is 7048) and call the API using the proper URL format, e.g. http://<container-ip>:7048/BC/ODataV4/$metadata or http://host.docker.internal:7048/BC/ODataV4/$metadata to avoid DNS issues. Confirm that your page or API is published on the Web Services page with Published = Yes, and use Basic Auth in Postman with your BC username and Web Service Key. If it still times out, increase Postman’s timeout and check the container logs or Windows Event Viewer for OData errors. This usually resolves the problem of no data being returned from Business Central running in Docker.
     
    Thanks
    Nimsara

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,926 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,158 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 533 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans