Skip to main content
POST
Fetch Specs

Description

Get dimensions and measures available for the selected project based on its questions.

Payload

where:
  • projectId: Id of the project to look for. (Required).
  • groups: List of question ids to filter the response with

Response

200 OK

where:
  • dimensions: Array of the available questions to be used as dimensions for a pivot table.
  • measures: Array of objects, each one representing a measure type for a question.

Measures

Where:
  • aggregationType: Type of aggregator format for the value. Could be:
    • 1: count
    • 2: min
    • 3: max
    • 4: sum
    • 5: average
  • label: Name of the aggregation type
  • questionId: Id of the question this measure is available to

401 Unauthorized

Invalid authorization.

404 Not Found

Resource not found.

500 Internal Server Error

Error occurred in the service.

Authorizations

Authorization
string
header
required

Access token obtained from the m2m-token endpoint.

Headers

Authorization
string
required

Body

application/json

The body is of type object.

Response

Fetch Specs

The response is of type object.