Skip to main content

Notifications

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
  • Suggested answer
    CU09051527-0 Profile Picture
    26 on at
    Dimension values returns in the rest API are less than what we have in Business Central
    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
  • CU09051527-0 Profile Picture
    26 on at
    Dimension values returns in the rest API are less than what we have in Business Central
    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
  • Hussin Saeed Profile Picture
    9 on at
    RE: Dimension values returns in the rest API are less than what we have in Business Central

    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

  • Suggested answer
    YUN ZHU Profile Picture
    84,274 Super User 2025 Season 1 on at
    RE: Dimension values returns in the rest API are less than what we have in Business Central

    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

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans