Skip to main content
GET
Get custom dimension definition

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organizationId
string
required

String. The organization's internal ID (32-character hex string) or its externalSourceId. When the value matches the format of an internal ID, the internal ID takes precedence.

Example:

"11adfe2a080040e3892ffb89c21ec44e"

definitionId
string
required

String. The internal ID of the custom dimension definition.

Example:

"abc123def456abc123def456abc123de"

Response

OK

id
string
required

Unique internal identifier of the custom dimension definition.

description
string
required

Display name of the custom dimension definition.

status
enum<string>
required

Lifecycle status of the dimension definition.

Available options:
active,
inactive
level
enum<string>
required

The scope at which this dimension is applied.

Available options:
EXPENSE,
EXPENSE_REPORT
controlType
enum<string>
required

Input type for the dimension. LIST means a fixed list of values; TEXT means free-text input.

Available options:
LIST,
TEXT
useDateInterval
boolean
required

Whether the dimension value can be associated with a date interval.

visible
boolean
required

Computed visibility flag. true when the dimension is shown to users. Determined by presetLocation and user override settings.

externalSourceId
string | null

Caller-supplied identifier used to address this definition from an external system. Null when not set.

presetLocation
enum<string> | null

Where the preset value is defined. Null when no preset is configured.

Available options:
NONE,
EMPLOYEE,
DEPARTMENT,
CATEGORY
recipientId
string | null

ID of the recipient linked to this dimension. Null when not set.

useAsRecipientFilter
boolean | null

Whether this dimension is used as a recipient filter. Null when not configured.

hideDimensionValues
boolean | null

Whether the available dimension values are hidden from users. Null when not configured.

usedInCarbonFootprint
boolean | null

Whether this dimension is used in carbon footprint calculations. Null when not configured.

deviateOnCreditRow
boolean | null

Whether the dimension uses a deviating value on credit rows. Null when not configured.

deviatingCreditRowValue
object | null

The deviating dimension value applied on credit rows. Null when deviateOnCreditRow is false or not set.

dimensionUsage
string | null

Describes how the dimension is used within the system. Null when not configured.