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

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!

  • Suggested answer
    DAnny3211 Profile Picture
    11,427 Super User 2026 Season 1 on at

    CIao

    should export custom Odata from BC to do this

    DAniele

  • Knofan Profile Picture
    49 on at

    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
    103,656 Super User 2026 Season 2 on at

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 750 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 534 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 287 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans