defaultDimensions resource type

Important: Currently all requests to API v2.0 must append $schemaversion=2.0 to the request URL to work properly. This is to uptake the new improved $metadata model avaliable from Business Central 17. An update will be applied shortly to apply the schemaversion automatically to API v2.0. For all other APIs $schemaversion=1.0 will be the default, unless specified in the request URL with $schemaversion=2.0. A solution is being worked on, where the schemaversion will be defined in the extension.

Represents a default dimensions in Dynamics 365 Business Central.

Note

For information about enabling APIs for Dynamics NAV see Enabling the APIs for Dynamics 365 Business Central.

Methods

Method Return Type Description
GET defaultDimensions defaultDimensions Gets a default dimensions object.
DELETE defaultDimensions defaultDimensions Deletes a default dimensions object.
POST defaultDimensions defaultDimensions Creates a default dimensions object.
PATCH defaultDimensions defaultDimensions Updates a default dimensions object.
Navigation Return Type Description
item item Gets the item of the defaultDimensions.
account account Gets the account of the defaultDimensions.
dimension dimension Gets the dimension of the defaultDimensions.
dimensionValue dimensionValue Gets the dimensionvalue of the defaultDimensions.
customer customer Gets the customer of the defaultDimensions.
vendor vendor Gets the vendor of the defaultDimensions.
employee employee Gets the employee of the defaultDimensions.

Properties

Property Type Description
parentId GUID The ID of the parent entity.
dimensionId GUID The unique ID of dimension.
dimensionCode string The dimension code.
dimensionValueId GUID The unique ID of the dimension value.
dimensionValueCode string The dimension value code.
postingValidation string Specifies how default dimensions and their values must be used.

JSON representation

Here is a JSON representation of the defaultDimensions resource.

{
   "parentId": "GUID",
   "dimensionId": "GUID",
   "dimensionCode": "string",
   "dimensionValueId": "GUID",
   "dimensionValueCode": "string",
   "postingValidation": "string"
}

See also

GET defaultDimensions DELETE defaultDimensions POST defaultDimensions PATCH defaultDimensions