web
You’re offline. This is a read only version of the page.
close
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

Dimension values returns in the rest API are less than what we have in Business Central

(2) ShareShare
ReportReport
Posted on by 9

Hey there! 

I'm integrating Business Central with my software [HR], the integration functionality is to send the payroll transactions from my software to business central as journal entry. 

The problem I'm facing is that when I hit the API to get the list of dimension values for a specific dimension it shows less results, I mean the list of values comparing to what I have in business central is very less I have 52 values, but what I'm getting is only 6 values.

This is the API: api.businesscentral.dynamics.com/.../{{environment}}/api/v2.0/dimensions(69572523-df3a-ed11-bbae-6045bd8e554a)/dimensionValues

 

  • Add to Phrasebook
    • No word lists for English → Arabic...
    • Create a new word list...
  • Copy
  • Add to Phrasebook
    • No word lists for English → Arabic...
    • Create a new word list...
  • Copy
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    95,597 Super User 2025 Season 2 on at

    Hi, I did a simple test and didn't encounter your problem.
    Please confirm whether the environment and company values in the endpoint are correct.

    https://api.businesscentral.dynamics.com/v2.0/d8f36038-1f93-4543-affc-5dc92b6ee871/Sandbox221/api/v2.0/companies(25333785-59e9-ed11-884d-6045bde998ec)/dimensions(ea622016-56f0-ed11-8848-6045bd67d7ed)/dimensionValues

    pastedimage1684976957670v2.png

    Hope this helps.

    Thanks.

    ZHU

  • Hussin Saeed Profile Picture
    9 on at

    Yes, company and environment values are correct.

    However other APIs like the accounts list API is working fine, it returns all the accounts.

    I'm not sure if there is something in the configuration I need to look at

  • CU09051527-0 Profile Picture
    26 on at
    Hi @Hussin Saeed, have you found a way to resolve this issue? It looks like we're experiencing the same problem, see: https://community.dynamics.com/forums/thread/details/?threadid=2a243f28-20ec-ee11-a204-000d3a574715
     
    Many thanks in advance
  • Suggested answer
    CU09051527-0 Profile Picture
    26 on at
    Hi All, I think we identified the solution for this issue, please have a look: Solved: Dimension values returned by API are less (dynamics.com)
     
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,010

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,270 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,085 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans