Get a list of all dimension-types in the system

GET /dimensions

Get a list of all dimension-types in the system. Elements with id below 100 are system dimension-types and will be the same across all clients. Elements with id above 100 are custom dimension-types specific to the client.

Headers

  • Authorization string Required

    Authorization header

Responses

  • 200 application/json

    A list of dimension-types.

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string
    • Access-Control-Allow-Credentials string
    • X-Trace-Id string
    Hide response attributes Show response attributes object
    • id integer Required

      ID of the dimension type

    • name string Required

      Name of the dimension type

      Maximum length is 150.

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

# Payload
[
  {
    "id": 1,
    "name": "Project"
  }
]