Announcements
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.
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
Best is to create your own APIs, when the data you need is not available in the default APIs.
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.
If my answer was helpful to you, please verify it so that other users know it worked. Thank you very much.
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156