Skip to main content
POST
Fetch Data

Description

Get pivot table data based on measures and dimensions passed through request’s body.

Payload

where:
  • projectId: Id of the project to look for. (Required).
  • fromDate: Starting date to filter responses.
  • toDate: End date to filter responses.
  • filter: List of filters to apply to the pivot table data.
  • dimensions: Ids of questions used for this pivot table
  • measures: Measure values to show in the pivot table
  • rows: List of rows to show on the table
  • columns: List of columns to show on the table
  • conceptAsDimesion: Id of the concept test used as dimension in the pivot table.

Measures

Measure values to show in the pivot table
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 selected for this measurement

Response

200 OK

where:
  • matrix: Matrix containing the values used for the pivot table.
  • chiSquare

Chi Square

Where:
  • pairwiseChiSquare: Critical value, df and pValue by columns and rows
  • tableChiSquare: Critical value, df and pValue of the table.

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 Data

The response is of type object.