Mahmoud_Eldahshan | 2022-01-25 12:29:41 UTC | #1
When trying to use index properties in the conversation aggregates query as below:
{ "interval": "2022-01-01T23:00:00.000Z/2022-02-01T30:00:00.000Z", "filter": { "type": "or", "predicates": [ { "type": "property", "property": "topic", "propertyType": "string", "operator": "matches", "value": "support" } ] }, "metrics": ["nOffered"] }
I get the error:
{ "message": "property filters not supported", "code": "bad.request", "status": 400, "messageParams": {}, "contextId": "2a3d8725-1310-4a9f-a3XXXXX", "details": [], "errors": [] }
Even though in ConversationAggregateQueryPredicate it clearly mention properties: Valid Values: dimension, property, metric
Is it supported ? and if not is there is any other way to aggregate custom data (other than External tag as it is already used).
Thanks in advance.
anon11147534 | 2022-01-25 12:41:04 UTC | #2
Hi,
The best way to build this query is using the analytics query builder. The builder will only let you pick properties that are allowed by the API.
Mahmoud_Eldahshan | 2022-01-25 12:46:50 UTC | #3
Thanks for the quick reply. The query builder doesn't support Properties even for conversation details query but the query works fine in API resources. So must likely properties were missed.
system | 2022-02-25 12:47:41 UTC | #4
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: 13321