> ## Documentation Index
> Fetch the complete documentation index at: https://docs.maesn.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get dimensions

> [!NOTE]
>
> This endpoint has been deprecated. Please use the [`GET /dimensions`](https://docs.maesn.com/api-reference/accounting-endpoints/dimensions/get-dimensions) endpoint, which is identical — the two share a single implementation, so migrating requires no change beyond the path.

## Field support per integration

> [accordion] Business Central
>
> > [!NOTE]
> >
> > If you're not using the [Interactive Authentication Flow](https://docs.maesn.com/authentication.md#interactive-authentication-flow), make sure the query parameters `environmentName` and `companyId` are correctly populated.
> > You can obtain these values by using the `GET Environments` and `GET Companies` endpoints available under the Authentication section.
>
> Query parameters:
>
> **rawData** `boolean`
>
> Supported response fields:
>
> **description** `string`
>
> **dimension** `string`

> [accordion] Exact Online
>
> > [!NOTE]
> >
> > If you're not using the [Interactive Authentication Flow](https://docs.maesn.com/authentication.md#interactive-authentication-flow), make sure the query parameter `companyId` is correctly populated.
> > You can obtain this value by using the `GET Companies` endpoint available under the Authentication section.
>
> Supported response fields:
>
> **description** `string`
>
> **dimension** `string`

> [accordion] Twinfield
>
> > [!NOTE]
> >
> > If you're not using the [Interactive Authentication Flow](https://docs.maesn.com/authentication.md#interactive-authentication-flow), make sure the query parameter `companyId` is correctly populated.
> > You can obtain this value by using the `GET Companies` endpoint available under the Authentication section.
>
> Supported response fields:
>
> **description** `string`
>
> **dimension** `string`


## OpenAPI

````yaml get /accounting/v2/dimensions
openapi: 3.0.0
info:
  title: Maesn unified API
  description: The Maesn unified API description
  version: '2.0'
  contact: {}
servers:
  - url: https://api.maesn.dev
security: []
tags:
  - name: maesn
    description: ''
paths:
  /accounting/v2/dimensions:
    get:
      tags:
        - accounting
      operationId: getDimensionsV2
      parameters:
        - name: companyId
          required: false
          in: query
          schema:
            type: string
        - name: environmentName
          required: false
          in: query
          schema:
            type: string
        - name: rawData
          required: false
          in: query
          schema:
            type: boolean
        - name: X-API-KEY
          description: API key
          in: header
          schema:
            type: string
        - name: X-ACCOUNT-KEY
          description: Account key
          in: header
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/BaseResponseDto'
                  - properties:
                      data:
                        type: array
                        items:
                          $ref: '#/components/schemas/DimensionMetaResponseDto'
components:
  schemas:
    BaseResponseDto:
      type: object
      properties:
        meta:
          $ref: '#/components/schemas/MetaResponseV2'
        data:
          oneOf:
            - type: object
            - type: array
    DimensionMetaResponseDto:
      type: object
      properties:
        description:
          type: string
          example: Cost center
        dimension:
          type: string
          example: CostCenter
    MetaResponseV2:
      type: object
      properties:
        warnings:
          type: array
          items:
            type: string
            example: Field not used by target system
        pagination:
          $ref: '#/components/schemas/PaginationResponseV2'
    PaginationResponseV2:
      type: object
      properties:
        total:
          type: number
          example: 125
        perPage:
          type: number
          example: 50
        currentPage:
          type: number
          example: 1
        totalPages:
          type: number
          example: 3

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.