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...
Answered

Accessing ledger account default dimension data through API

(0) ShareShare
ReportReport
Posted on by 5

pastedimage1663824557491v1.png

This setup is accessed from the GL Account card (Account/Dimensions).

Trying to get this data returned through V2.0 API but am unable to find it.  Not in defaultDimensions endpoint which seems to have only default dimensions data for Customers, Vendors, Items etc but not G/L Accounts.

Is the data in the above screen accessible through the V2.0 API?

Thanks in advance.

  • Suggested answer
    Vaishnavi J Profile Picture
    3,096 on at

    Hi,

    Go to web services page in Business central

    Create a webservice page for Page ID 540 and use the ODATA url

    In the G/L Account add the dimension and its value and do get request on postman you would be able to see G/L Account values as well.

    pastedimage1663826009954v1.png

    pastedimage1663826080550v2.png

    If my answer was helpful to you, please verify it so that other users know it worked. Thank you very much.

  • Steven Renders Profile Picture
    5,698 Moderator on at

    Best is to create your own APIs, when the data you need is not available in the default APIs.

    learn.microsoft.com/.../

    learn.microsoft.com/.../devenv-query-object

    learn.microsoft.com/.../devenv-api-querytype

  • Amit Baru Profile Picture
    3,043 on at

    Hi,

    Add default dimension page in G/L account page and publish the same page for achieving the above requirement.

    Regards

    Amit Sharma

    www.erpconsultors.com

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

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 554 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 360 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 201 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans