tarun | 2019-11-28 10:11:48 UTC | #1
Hi, I want to fetch those conversations which ends between particular interval , Is there any way to do that. Below is my query, this query returns all those converstaion which are either start or end or active between interval specified. But i want to get only those conversations whose enddate is between the interval.
{
"interval": "2019-11-24T18:30:00.000Z/2019-11-28T18:30:00.000Z",
"order": "asc",
"orderBy": "conversationEnd",
"paging": {
"pageSize": 25,
"pageNumber": 1
},
"conversationFilters": [
{
"type": "and",
"predicates": [
{
"type": "dimension",
"dimension": "conversationEnd",
"operator": "exists",
"value": null
}
]
}
]
}
tim.smith | 2019-12-02 15:11:43 UTC | #2
There is no way to apply a greater/less than filter to a dimension. You'll need to get the results and iterate over them to inspect the conversationEnd property and determine if it's in your desired interval.
system | 2020-01-02 15:11:46 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: 6596