Hello,
I am performing a query to UCS using RequestSearch and some conditions. For example:
RequestSearch req_search = RequestSearch.Create();
req_search.MaxResults = 100;
req_search.Query = "SentDate:[2017-04-01T00:00:00 TO 2017-05-07T23:59:59] AND FromAddress:*xxx.xxx* AND TypeId:"Inbound"";
req_search.IndexName = "interaction";
IMessage res = protocol.Request(req_search);
The thing is that I get several interactions with the same ID. I would like to get only one record for each ID, the most recent one.
Is there any way to acomplish this?
Thanks.
Ricardo.