You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.
Description
I`ve struggled with this error for a long time now.
So, when I request ETSentEvent data for the first time (with specific filter) everything works just fine. Changing the filter also seems to be working properly.
BUT, if I request ETSentEvent the second time with the same filter - 0 data returned.
I am not sure if it is cached or anything, but can you help me, please, on this one?
var sentEvent = new ETSentEvent()
{
AuthStub = _client,
Props = DefaultEventProps,
SearchFilter = new ComplexFilterPart
{
LeftOperand = new SimpleFilterPart()
{
Property = "EventDate",
SimpleOperator = SimpleOperators.greaterThanOrEqual,
DateValue = new[] { from }
},
RightOperand = new SimpleFilterPart()
{
Property = "EventDate",
SimpleOperator = SimpleOperators.lessThanOrEqual,
DateValue = new[] { to }
},
LogicalOperator = LogicalOperators.AND
}
};
var getReturn = sentEvent.Get();
The text was updated successfully, but these errors were encountered:
Description I`ve struggled with this error for a long time now. So, when I request ETSentEvent data for the first time (with specific filter) everything works just fine. Changing the filter also seems to be working properly.
BUT, if I request ETSentEvent the second time with the same filter - 0 data returned. I am not sure if it is cached or anything, but can you help me, please, on this one?
var sentEvent = new ETSentEvent()
{
AuthStub = _client,
Props = DefaultEventProps,
SearchFilter = new ComplexFilterPart
{
LeftOperand = new SimpleFilterPart()
{
Property = "EventDate",
SimpleOperator = SimpleOperators.greaterThanOrEqual,
DateValue = new[] { from }
},
RightOperand = new SimpleFilterPart()
{
Property = "EventDate",
SimpleOperator = SimpleOperators.lessThanOrEqual,
DateValue = new[] { to }
},
LogicalOperator = LogicalOperators.AND
}
};
var getReturn = sentEvent.Get();
Description
I`ve struggled with this error for a long time now.
So, when I request ETSentEvent data for the first time (with specific filter) everything works just fine. Changing the filter also seems to be working properly.
BUT, if I request ETSentEvent the second time with the same filter - 0 data returned.
I am not sure if it is cached or anything, but can you help me, please, on this one?
The text was updated successfully, but these errors were encountered: