We have a Rest API POST framework in place which pulls the data from Conversation Detail API in Incremental way. Means takes max(ConversationStart) and queries PureCloud API with Dates after that.
But, for Email MediaType whenever a new email message arrives for same Conversation, the ConversationStart Date remains same for the new Segments/Sessions but the ConversationEnd Changes for the entire conversation. So, in our scenario we miss the details of messages.
Is there a way to load the ConversationDetail for MediaType=email in incremental way based on any other date field in the filters. Instead of ConversationStart & ConversationEnd (Interval) Date filter in the query.
Current Query:
{
"interval": "2022-12-26T05:00:00.000Z/2022-12-31T05:00:00.000Z",
"order": "asc",
"orderBy": "conversationStart",
"paging": {
"pageSize": 25,
"pageNumber": 1
},
"segmentFilters": [
{
"type": "or",
"predicates": [
{
"type": "dimension",
"dimension": "mediaType",
"operator": "matches",
"value": "email"
}
]
}
]
}
Thanks,
Rahul