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"
}