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...
Suggested answer

Best way to connect to BC for using OData

(0) ShareShare
ReportReport
Posted on by 49

Hey Guys,

Im using MSAL to conenct to BC and run api calls. Im currently using this to download Items and orders. But i also need to get Item Reference´s. More specificly, EAN information (barcodes). But it does not seems that the API include a way do access the barcodes and my option is to use a specialized query and download them from there.

How is it best accomplished? I have searched for ways to access BC and run the query but did not find much information.

Can any of you point me in the right direction?

Thanks!

I have the same question (0)
  • Suggested answer
    DAnny3211 Profile Picture
    11,391 on at
    RE: Best way to connect to BC for using OData

    CIao

    should export custom Odata from BC to do this

    DAniele

  • Knofan Profile Picture
    49 on at
    RE: Best way to connect to BC for using OData

    Yes, this is the plan. But how do i connect with OAuth in the best way? Is there any example code to look at?

  • Suggested answer
    YUN ZHU Profile Picture
    94,353 Super User 2025 Season 2 on at
    RE: Best way to connect to BC for using OData

    Hi, hope the information below can give you some hints.

    Using OAuth to connect Business Central APIs and Web Service in Postman

    https://yzhums.com/20690/

    For some samples about setting up OAuth, see the BCTech repo.

    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