Modifier

Partager via


defaultDimensions resource type (v1.0)

NEW VERSION This is v1.0 of the Business Central API. For the newest version, see Business Central API (V2.0).

Represents a dimension 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 defaultDimensions dimension Gets defaultDimensions for an entity.
POST defaultDimensions dimension Gets defaultDimensions for an entity.
PATCH defaultDimensions dimension Gets defaultDimensions for an entity.
DELETE defaultDimensions dimension Gets defaultDimensions for an entity.

Properties

Property Type Description
parentId GUID The unique ID of the entity.
dimensionId GUID The unique ID of the dimension.
dimensionCode string, maximum size 20 The dimension code.
dimensionValueId GUID The unique ID of the dimension value.
dimensionValueCode string, maximum size 20 The dimension value code.
postingValidation string

JSON representation

Here is a JSON representation of the resource.

{
  "parentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "dimensionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "dimensionCode": "string",
  "dimensionValueId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "dimensionValueCode": "string",
  "postingValidation": "string",
  "account": {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "number": "string",
    "displayName": "string",
    "category": "string",
    "subCategory": "string",
    "blocked": true,
    "lastModifiedDateTime": "2019-03-22T09:03:59.565Z"
  },
  "dimension": {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "code": "string",
    "displayName": "string",
    "lastModifiedDateTime": "2019-03-22T09:03:59.565Z",
    "dimensionValues": [
      {
        "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "code": "string",
        "displayName": "string",
        "lastModifiedDateTime": "2019-03-22T09:03:59.565Z"
      }
    ]
  },
  "dimensionValue": {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "code": "string",
    "displayName": "string",
    "lastModifiedDateTime": "2019-03-22T09:03:59.565Z"
  }
}

See also

Get defaultDimensions
Create defaultDimensions
Update defaultDimensions
Delete defaultDimensions