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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Business Central forum

Dimension Creation using Web API Documentation for Dynamics 365 Business Central

(0) ShareShare
ReportReport
Posted on by

Hi ,

In below link , its mentioned that how to get dimension line or create in Business central.

https://docs.microsoft.com/en-us/dynamics-nav/fin-graph/api/dynamics_dimensionline_get

But i am not able to get the dimension line or even create in Dynamics 365 Business Central.

As per API , we need to give parentId in URL to get dimension lines. what is parentId , its not clear to me.

GET /businesscentral/companies({id})/dimensionLines(parentId=({id}),id=({id}))

Get Result will be like this ->
{
  "parentId": "id-value",
  "id": "id-value",
  "code": "DEPARTMENT",
  "displayName": "Department",
  "valueId": "id-value",
  "valueCode": "SALES",
  "valueDisplayName": "Sales"
}

i think id tag is id of dimension itself , which i can get using Dimension api URL , but where i can get parentId .
i tried using every possible combination but its not working for me.

Any help will be appreciated.

Thanks






Categories:
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    Parent ID is the ID of the entity where dimensions are attached to (for example a customer).

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans