Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

Cannot get indentation data from dimensionValues API

(1) ShareShare
ReportReport
Posted on by 5
Hello,
 
 
As you can see in the endpoint docs, the indentation value should be coming through:
 
{
    "id" : "",
    "dimensionCode" : "",
    "dimensionValueCode" : "",
    "dimensionValueName" : "",
    "dimensionValueId" : "",
    "dimensionValueType" : "",
    "blocked" : "",
    "indentation" : "",
    "consolidationCode" : "",
    "globalDimensionNumber" : "",
    "lastModifiedDateTime" : ""
}
 
The reason I need this is to get the hierarchy of my AREA Dimension Values.
 
 
I receive:
 
{
    "@odata.context": "https://api.businesscentral.dynamics.com/v2.0/production/api/v2.0/$metadata#companies(dec6ac9f-b438-ef11-8e52-6045bde9cac0)/dimensionValues/$entity",
    "@odata.etag": "W/\"JzE5OzQ3NTA1OTEyMTcxNjk0MjgyMDgxOzAwOyc=\"",
    "id": "81a9158a-b538-ef11-8e52-6045bde9cac0",
    "code": "10",
    "dimensionId": "47a6158a-b538-ef11-8e52-6045bde9cac0",
    "displayName": "Europe",
    "consolidationCode": "",
    "lastModifiedDateTime": "2024-07-02T20:57:09.937Z"
}
 
Why is the indentation data not coming through?
  • Verified answer
    YUN ZHU Profile Picture
    YUN ZHU 75,848 Super User 2024 Season 2 on at
    Cannot get indentation data from dimensionValues API
    The API provided in the document above is financereportsapi (beta), and the API you are using is v2.0. They are not the same.
    Hope the following can give you some hints
    Dynamics 365 Business Central Online: Endpoints for the APIs (V1.0, V2.0, Beta, custom, automation……)
     
    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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,711 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans