Skip to navigation

Retrieve a paginated list of dimensions

Returns a paginated list of dimensions, filterable by company and type. The detail=basic query parameter returns a simplified response with only id, name, erp_dimension_id, and erp_type per item (omitting code, reference_id, ottimate_type, and ottimate_company_id).

Authentication

AuthorizationBearer
OAuth2 authentication flows. Auth server URLs will vary by environment

Headers

X-Api-KeystringRequired
API key for authentication
X-API-VersionstringOptional

API version to use (optional, defaults to latest). Supported values: 1.0.0, 1.1.0.

Query parameters

ottimate_company_idintegerOptional
Filter dimensions by company ID
erp_typestringOptional
Filter dimensions by ERP type
detailenumOptional

Specify the level of detail in the response. When set to basic, each item in dimensions is reduced to id, name, erp_dimension_id, and erp_type — code, reference_id, ottimate_type, and ottimate_company_id are dropped. Omit this parameter for the full object.

Allowed values:
pageintegerOptionalDefaults to 1

Page number (default 1)

limitintegerOptionalDefaults to 20

Number of results per page (default 20)

Response

Successful response with paginated dimension list
versionstring
countinteger
pageinteger
limitinteger
dimensionslist of objects

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error