Get a list of active dimension elements for a specific dimension type

GET /dimensions/{dimensionType}/elements

Get a list of active dimension elements for a specific dimension type. If there are many elements, the results will be paginated, and a Link-header with rel=next will provide the path to the next page.

Headers

  • Authorization string Required

    Authorization header

Path parameters

  • dimensionType integer Required

Query parameters

  • limit integer

    The maximum number of elements to retrieve.

  • continuationToken string

    A token for continuing the retrieval of sales orders. This is used for pagination and is prepopulated from the Link-header with rel=next from a previous request.

Responses

  • 200 application/json

    List of dimension elements for the specified dimension type.

    Hide headers attributes Show headers attributes
    Hide response attributes Show response attributes object
    • dimensionType integer(int32) Required

      ID of the dimension type (ie 1=project, 2=department etc)

    • value string Required

      Value (id) of the dimension element

    • name string Required

      Name of the dimension element

      Maximum length is 510.

GET /dimensions/{dimensionType}/elements
curl \
 --request GET 'https://rest.api.24sevenoffice.com/v1/dimensions/{dimensionType}/elements' \
 --header "Authorization: string"
Response examples (200)
# Headers
Link: string
Access-Control-Allow-Origin: string
Access-Control-Allow-Credentials: string
X-Trace-Id: string

# Payload
[
  {
    "dimensionType": 1,
    "value": "13",
    "name": "Project 13"
  }
]