web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

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

API dimensionSetLines extract all contents

(0) ShareShare
ReportReport
Posted on by 10

Hi everybody,

I've a question: I must download all data from dimensionSetLines tables, with API I can extract all the data but for each "argument" like:

businesscentralPrefix/companies({id})/generalLedgerEntries({id})/dimensionSetLines({id})

This features means thet if I've 18000 records into generalLedgerEntries, I must call dimensionStelines 18.000 times.

This means that the extraction time increases a lot, for example for each API call it takes 2 seconds for 18,000 calls the time is about 10 hours.

It's possible execute entire download of table dimensionSetLines ?

I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    102,079 Super User 2026 Season 1 on at

    Hi, Not sure if this can achieve your purpose, if you use the Expand method, you can get all the generalLedgerEntries and dimensionSetLines at once. 

    More details: https://yzhums.com/6117/#toc13

    https://api.businesscentral.dynamics.com/v2.0/d8f36038-1f93-4543-affc-5dc92b6ee871/Sandbox221/api/v2.0/companies(25333785-59e9-ed11-884d-6045bde998ec)/generalLedgerEntries?$expand=dimensionSetLines

    Hope this can give you some hints.

    Thanks.

    ZHU

  • Andrea Castagno Profile Picture
    10 on at

    thanks

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 Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,713 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,032 Super User 2026 Season 1

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 914 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans