Bewerken

Delen via


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

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

Properties

Property Type Description
id GUID The unique ID of the default dimensions. Non-editable.
parentType NAV.defaultDimensionParentType The type of the parent document of the default dimensions. It can be " ", "Customer", "Item", "Vendor" or "Employee".
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 NAV.defaultDimensionValuePostingType Specifies how default dimensions and their values must be used. It can be " ", "Code_Mandatory", "Same_Code" or "No_Code".
lastModifiedDateTime datetime The last datetime the default dimensions was modified. Read-Only.

JSON representation

Here is 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"
}

See Also

GET defaultDimension
DELETE defaultDimension
POST defaultDimension
PATCH defaultDimension