defaultDimension resource type

Represents a default dimensions in Business Central.

Note

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

Methods

MethodReturn TypeDescription
GET defaultDimensiondefaultDimensionGets a default dimensions object.
DELETE defaultDimensionnoneDeletes a default dimensions object.
POST defaultDimensiondefaultDimensionCreates a default dimensions object.
PATCH defaultDimensiondefaultDimensionUpdates a default dimensions object.
NavigationReturn TypeDescription
itemitemGets the item of the defaultDimension.
accountaccountGets the account of the defaultDimension.
dimensiondimensionGets the dimension of the defaultDimension.
dimensionValuedimensionValueGets the dimensionvalue of the defaultDimension.
customercustomerGets the customer of the defaultDimension.
vendorvendorGets the vendor of the defaultDimension.
employeeemployeeGets the employee of the defaultDimension.

Properties

PropertyTypeDescription
idGUIDThe unique ID of the default dimensions. Non-editable.
parentTypeNAV.defaultDimensionParentTypeThe type of the parent document of the default dimensions. It can be " ", "Customer", "Item", "Vendor" or "Employee".
parentIdGUIDThe ID of the parent entity.
dimensionIdGUIDThe unique ID of dimension.
dimensionCodestringThe dimension code.
dimensionValueIdGUIDThe unique ID of the dimension value.
dimensionValueCodestringThe dimension value code.
postingValidationNAV.defaultDimensionValuePostingTypeSpecifies how default dimensions and their values must be used. It can be " ", "Code_Mandatory", "Same_Code" or "No_Code".
lastModifiedDateTimedatetimeThe last datetime the default dimensions was modified. Read-Only.

JSON representation

Here's a JSON representation of the defaultDimension resource.

{
    "id": "GUID",
    "parentType": "NAV.defaultDimensionParentType",
    "parentId": "GUID",
    "dimensionId": "GUID",
    "dimensionCode": "string",
    "dimensionValueId": "GUID",
    "dimensionValueCode": "string",
    "postingValidation": "NAV.defaultDimensionValuePostingType",
    "lastModifiedDateTime": "datetime"
}

GET defaultDimension
DELETE defaultDimension
POST defaultDimension
PATCH defaultDimension