Malformed syntax error when getting conversation details with HTTP request

I got syntax error when posting request to /api/v2/analytics/conversations/details/jobs, below it's the request query works in Developer tool, when I converted the call to C# code, it works without segment filter and conversation filter. I define the filters in json array, is it not correct? Any advise will be appreciated.

{
"interval": "2022-04-08T21:00:00.000Z/2022-04-08T23:59:59.000Z",
"order": "asc",
"orderBy": "conversationStart",
"paging": {
"pageSize": "1000",
"pageNumber": 1
},
"segmentFilters": [
{
"type": "or",
"predicates": [
{
"type": "dimension",
"dimension": "mediaType",
"operator": "matches",
"value": "callback"
},
{
"type": "dimension",
"dimension": "mediaType",
"operator": "matches",
"value": "voice"
}
]
}
],
"conversationFilters": [
{
"type": "or",
"clauses": [
{
"type": "or",
"predicates": [
{
"type": "dimension",
"dimension": "divisionId",
"operator": "matches",
"value": "xxxxxxxxxx"
}
]
}
]
}
]
}

Hi,

I've run that against the API (with a valid divisionId) and I didn't get an error. It appears to be valid syntax.

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