rita.hou | 2022-06-29 22:16:05 UTC | #1
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" } ] } ] } ] }
anon11147534 | 2022-07-07 08:32:20 UTC | #2
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.
system | 2022-08-07 08:33:08 UTC | #3
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 15344