List single dimension-type

GET /dimensions/{dimensionType}

List single dimension-type. Get description of a single dimension-type by id.

Headers

  • Authorization string Required

    Authorization header

Path parameters

  • dimensionType integer Required

Responses

  • 200 application/json

    The dimension-type with the specified id.

    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/{dimensionType}
curl \
 --request GET 'https://rest.api.24sevenoffice.com/v1/dimensions/{dimensionType}' \
 --header "Authorization: string"
Response examples (200)
[
  {
    "id": 1,
    "name": "Project"
  },
  {
    "id": 2,
    "name": "Department"
  },
  {
    "id": 3,
    "name": "Employee"
  },
  {
    "id": 4,
    "name": "Product"
  },
  {
    "id": 5,
    "name": "Customer"
  },
  {
    "id": 101,
    "name": "Custom Dimension 1"
  }
]