Evaluations Aggregate Query Malformed

Starting to explore the API. And looking to create a request for Evaluations to retrieve a list of the evaluation, score, userID and evaluation commentary.

In order to test it I am using the explorer and query creator. To start I have created a very general query with minimal parameters. It is returning as malformed.

The request failed with response code: 400. Message: The request could not be understood by the server due to malformed syntax.

This is the syntax, what is it missing to be valid?

{
  "interval": "2024-04-01T00:00:00/2024--04-29T23:00:00",
  "granularity": "P1D",
  "timeZone": "Australia/Sydney",
  "groupBy": [
    "teamId"
  ],
  "filter": {
    "type": "",
    "clauses": [
      {
        "type": "",
        "predicates": [
          {
            "type": "",
            "dimension": "",
            "operator": "",
            "value": "",
            "range": ""
          }
        ]
      }
    ],
    "predicates": [
      ""
    ]
  },
  "metrics": [
    "nEvaluations"
  ],
  "flattenMultivaluedDimensions": true,
  "views": [
    {
      "target": "",
      "name": "",
      "function": "",
      "range": {
        "gte": 0,
        "lt": 0
      }
    }
  ],
  "alternateTimeDimension": "evaluationCreatedDate"
}

Everything empty should be omitted.
To be legal fields should have an actual value, or not exist at all.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.