Hello, I developed time ago an application to search for mails in UCS.
Now, the customer added Archive and, obviously, when I send the RequestSearch to UCS it does not return the mails in Archive.
A part of my code:
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);
Is there any way that UCS can be asked for interactions in Archive?
I already saw that RequestInteractionListGet allows you to specify if you want to search in UCS or Archive, but I could not filter by FromAddress or some other fields that I am searching.
Maybe there is a way to keep my search format and UCS include Archive interactions.
Thank you.