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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

API/Web service for Company address

(0) ShareShare
ReportReport
Posted on by 134

Hi,

How to get Company information using API/Web service in business central?

Regards

C rao

I have the same question (0)
  • Suggested answer
    ShanAbeywicrema Profile Picture
    954 on at

    You can use following endpoint to access companies.

    api.businesscentral.dynamics.com/.../YOUR ENVIROMENT NAME/api/v2.0/companies

    But, best way is, first register app in Azure, give necessary permissions, then create AAD in BC.

    Then you can access above endpoint.

  • raobc@bnopentext.onmicrosoft.com Profile Picture
    134 on at

    Hi Shan,

    I am looking for company address info, similar info which we print in Posted sales invoice

    Regards

    C Rao

  • Suggested answer
    NAV_with_Narang Profile Picture
    2,384 Moderator on at

    Hi - You can follow these steps:

    1. Create a web service in Business Central, by following the link learn.microsoft.com/.../across-how-publish-web-service

    2. Here you can select the "Company Information" page if you see it in lookup. If you don't then you would have to hire a developer and get an "API Page" built out of Company Information table and then publish it on web services as shown in point 1

    learn.microsoft.com/.../devenv-develop-custom-api

    These are the data fields included in company information

    pastedimage1679665719945v2.png

  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    In that case you need to create a webservice of page id - 1 and use that URL, check that if it works for you, otherwise you need to create a new list page with Table ID 79, and then publish as web service and access that URL.

  • raobc@bnopentext.onmicrosoft.com Profile Picture
    134 on at

    Issue resolved

    below url we used

    api.businesscentral.dynamics.com/.../companyInformation

  • Suggested answer
    raobc@bnopentext.onmicrosoft.com Profile Picture
    134 on at
  • Verified answer
    NAV_with_Narang Profile Picture
    2,384 Moderator on at

    Thankyou for letting the community know about the final outcome.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,371 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,806 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 1,371

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans