List accounting dimensions

Changed on

List the dimensions entries are coded with on one connection, such as account, vendor and custom fields, including ones that are turned off.

get/v2/accounting/dimensions

Request

  • Base URL
    https://api.slash.com
  • URL
    https://api.slash.com/v2/accounting/dimensions
  • Auth
    API key in header X-API-Key

Query parameters

connectionIdstring

The accounting connection to read. Optional when the legal entity has exactly one connection; required (connection_id_required) when it has several. List them at GET /v2/accounting/connections.

cursorstring

The opaque metadata.nextCursor value from the previous page. It carries that page's filters, page size and ordering, so pass it on its own; see Pagination.

limitinteger

Number of items per page, from 1 to 100. The page size is carried inside metadata.nextCursor, so later pages keep the same size unless limit is passed again to change it.

Response

The connection's dimensions, account first.

Example response

{
  "items": [
    {
      "key": "account",
      "connectionId": "accounting_connection_2rj4l7hmrrrcv",
      "name": "Account",
      "parentKey": "project",
      "defaultValueId": "accounting_account_2rj4l7hmrrrcv",
      "customField": {
        "fieldKey": "cf_cost_center"
      }
    }
  ]
}

Changes