Abhijeet | 2020-04-06 11:12:32 UTC | #1
Hi Team,
I am getting error as,
{'message': 'The request could not be understood by the server due to malformed syntax.', 'code': 'bad.request', 'status': 400, 'contextId': 'e58efafd-6233-42d4-86f6-9bd6010c492e', 'details': [], 'errors': []}
I am posting below query on https://api.mypurecloud.com/api/v2/analytics/queues/observations/query
{ "interval": "2020-02-18T18:30:00.000Z/2020-02-19T18:30:00.000Z",
"metrics": [ "oOnQueueUsers", "oOffQueueUsers", "oActiveUsers" ] }
Jerome.Saint-Marc | 2020-04-06 12:36:36 UTC | #2
Hello,
You must have a predicate specifying the queueId, or a set of predicates (with or condition) if you want multiple queues [queue or queues to be observed]. Like: queueId1 Or: queueId1 or queueId2 or queueId3....
You can also leverage mediaType as an additional filter, via a set of predicates or via clauses. I mean: queueId1 and mediaType=chat Or: (queueId1 and chat) or (queueId2 and chat) or ....
Regards,
system | 2020-05-07 12:36:39 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: 7488