Hi,
I'm looking for a clear example of a json schema with the required fields for me api method
/api/v2/analytics/users/aggregates/queryI'm tried to use the following schema following the documentation with the required field but always I get the error with the message " "message": "The request could not be understood by the server due to malformed syntax.","
{
"interval": "2021-05-20T13:00:00.000Z/2021-05-25T13:00:00.000Z",
"granularity": "",
"timeZone": "",
"groupBy": [],
"filter": {
"type": "and",
"clauses": [
{
"type": "and",
"predicates": [
{
"type": "",
"dimension": "mediaType",
"operator": "",
"value": "",
"range": {}
}
]
}
],
"predicates": [
{
"type": "or",
"dimension": "",
"operator": "",
"value": "",
"range": {
"gt": {},
"gte": {},
"lt": {},
"lte": {}
}
}
]
},
"metrics": ["tSystemPresence"],
"flattenMultivaluedDimensions": false,
"views": [
{
"target": "tSystemPresence",
"name": "View-Users_All-1-1-0",
"function": "rangeBound",
"range": {
"gte": {},
"lt": {}
}
}
],
"alternateTimeDimension": ""
}
I will appreciate the help.
Regards
#Integrations------------------------------
Luis Vasquez
REVOLUTION TECHNOLOGIES REVTEC, S.A.
------------------------------