Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

API v2.0

(1) ShareShare
ReportReport
Posted on by 4
Hi,
It's a newbie question.
I am tasked into building an ETL process taking data from Business Central. If I was to obtain all the ledger entries, am I right in assuming if I simply call the endpoint described here: https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_generalledgerentry_get it will return ALL ledger entries, please?
In advance, thanks for your answer.
Cheers
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 78,032 Super User 2025 Season 1 on at
    API v2.0
    Hi, hope the following helps.
    Standard API for Dynamics 365 Business Central SaaS (Get, Post, Patch, Delete and Basic query parameters – filter, orderby, select…)
     
     
    Thanks.
    ZHU
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    Mohamed Amine Mahmoudi 15,801 Super User 2025 Season 1 on at
    API v2.0
    Hi,
     
    you must use this link (change the variables between parentheses):
     
    Best regards,
    Mohamed Amine MAHMOUDI
  • Suggested answer
    T.yahya Profile Picture
    T.yahya 114 on at
    API v2.0
    Hi,
     
    If it does not work Try this
     
    Add a new Web Service on Web Services Page as shown below (Fig1)
     
    Fig1
     
     
    Then Hit this URL, of course, it should look almost the same if you are running a demo system just check the port

    HTTP request

     
    GET  http://localhost:7248/BC230W2/ODataV4/Company('CRONUS%20AG')/GeneralLedgerEntries
     
     
    For use, you will need Bearer Authorization or your credentials if you are testing through Browser
    Header Value
    Authorization Bearer. Required.
     
     
    Hope this will help.
     
    Best regards,
    Touil Yahya
     
  • Judy Profile Picture
    Judy Microsoft Employee on at
    API v2.0
    Moved to business central forum. 
    Yes, I think so. You can have a try based on the MS document.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,430 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans