Sayth_R | 2024-04-23 02:11:33 UTC | #1
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"
}
Eos_Rios | 2024-04-23 02:24:45 UTC | #2
Everything empty should be omitted. To be legal fields should have an actual value, or not exist at all.
system | 2024-05-23 02:25:15 UTC | #3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 25867