Skip to main content

I'm trying to get the OpenEvent details for a specific SubscriberKey using the ExactTarget API. I have the SendID, BatchID and the SubscriberKey, the thing is that the filter of the SubscriberKey is not working. If I try to make the call with the filter for SendID I get the results(to many) but once I add the filter for the SubscriberKey the request returns nothing.

I try it on .NET and Java and I'm getting the same results.

For example I made a test using only the filter for SendID(142865) and I get these results

<br/>

ObjectID: 3374303431

EventDate: 3/4/2014 2:03:49 PM

SendID: 142865

SubscriberKey: [email protected]

BatchID: 4
 
<br/>

ObjectID: 3374303432

EventDate: 3/4/2014 2:03:49 PM

SendID: 142865

SubscriberKey: [email protected]

BatchID: 2

<br/>

ObjectID: 3374303433

EventDate: 3/4/2014 2:03:49 PM

SendID: 142865

SubscriberKey: [email protected]

BatchID: 1

<br/>

If I try to make a call using the filter for SubscriberKey([email protected]) I get norhing

This is my java code:

RetrieveRequest retrieveRequest = RetrieveRequest.Factory.newInstance(); <br/>
retrieveRequest.setObjectType("OpenEvent"); <br/>
retrieveRequest.setPropertiesArray(new String[] { "ObjectID", "SendID", "SubscriberKey", "BatchID" }); <br/>
<br/>
SimpleFilterPart filter = SimpleFilterPart.Factory.newInstance(); <br/>
filter.setProperty("SubscriberKey"); <br/>
filter.setSimpleOperator(SimpleOperators.EQUALS); <br/>
filter.setValueArray(new String[] { "[email protected]" }); <br/>

retrieveRequest.setFilter(filter);<br/>;
.<br/>
.<br/>
.<br/>
.<br/
 

Please any help would be appreciate it.

Thanks.

I'm trying to get the OpenEvent details for a specific SubscriberKey using the ExactTarget API. I have the SendID, BatchID and the SubscriberKey, the thing is that the filter of the SubscriberKey is not working. If I try to make the call with the filter for SendID I get the results(to many) but once I add the filter for the SubscriberKey the request returns nothing.

I try it on .NET and Java and I'm getting the same results.

For example I made a test using only the filter for SendID(142865) and I get these results

<br/>

ObjectID: 3374303431

EventDate: 3/4/2014 2:03:49 PM

SendID: 142865

SubscriberKey: [email protected]

BatchID: 4
 
<br/>

ObjectID: 3374303432

EventDate: 3/4/2014 2:03:49 PM

SendID: 142865

SubscriberKey: [email protected]

BatchID: 2

<br/>

ObjectID: 3374303433

EventDate: 3/4/2014 2:03:49 PM

SendID: 142865

SubscriberKey: [email protected]

BatchID: 1

<br/>

If I try to make a call using the filter for SubscriberKey([email protected]) I get norhing

This is my java code:

RetrieveRequest retrieveRequest = RetrieveRequest.Factory.newInstance(); <br/>
retrieveRequest.setObjectType("OpenEvent"); <br/>
retrieveRequest.setPropertiesArray(new String[] { "ObjectID", "SendID", "SubscriberKey", "BatchID" }); <br/>
<br/>
SimpleFilterPart filter = SimpleFilterPart.Factory.newInstance(); <br/>
filter.setProperty("SubscriberKey"); <br/>
filter.setSimpleOperator(SimpleOperators.EQUALS); <br/>
filter.setValueArray(new String[] { "[email protected]" }); <br/>

retrieveRequest.setFilter(filter);<br/>
.<br/>
.<br/>
.<br/>
.<br/
 

Please any help would be appreciate it.

Thanks.

I'm trying to get the OpenEvent details for a specific SubscriberKey using the ExactTarget API. I have the SendID, BatchID and the SubscriberKey, the thing is that the filter of the SubscriberKey is not working. If I try to make the call with the filter for SendID I get the results(to many) but once I add the filter for the SubscriberKey the request returns nothing.

I try it on .NET and Java and I'm getting the same results.

For example I made a test using only the filter for SendID(142865) and I get these results

ObjectID: 3374303431

EventDate: 3/4/2014 2:03:49 PM

SendID: 142865

SubscriberKey: [email protected]

BatchID: 4


ObjectID: 3374303432

EventDate: 3/4/2014 2:03:49 PM

SendID: 142865

SubscriberKey: [email protected]

BatchID: 2



ObjectID: 3374303433

EventDate: 3/4/2014 2:03:49 PM

SendID: 142865

SubscriberKey: [email protected]

BatchID: 1

If I try to make a call using the filter for SubscriberKey([email protected]) I get norhing

This is my java code:

RetrieveRequest retrieveRequest = RetrieveRequest.Factory.newInstance();
retrieveRequest.setObjectType("OpenEvent");
retrieveRequest.setPropertiesArray(new String[] { "ObjectID", "SendID", "SubscriberKey", "BatchID" });

SimpleFilterPart filter = SimpleFilterPart.Factory.newInstance(); 
filter.setProperty("SubscriberKey"); 
filter.setSimpleOperator(SimpleOperators.EQUALS); 
filter.setValueArray(new String[] { "[email protected]" }); 

retrieveRequest.setFilter(filter);
.
.
.
.

Please any help would be appreciate it.

Thanks.

code format
Source Link
cropredy
  • 73.3k
  • 8
  • 128
  • 284

I'm trying to get the OpenEvent details for a specific SubscriberKey using the ExactTarget API. I have the SendID, BatchID and the SubscriberKey, the thing is that the filter of the SubscriberKey is not working. If I try to make the call with the filter for SendID I get the results(to many) but once I add the filter for the SubscriberKey the request returns nothing.

I try it on .NET and Java and I'm getting the same results.

For example I made a test using only the filter for SendID(142865) and I get these results


ObjectID: 3374303431

EventDate: 3/4/2014 2:03:49 PM

SendID: 142865

SubscriberKey: [email protected]

BatchID: 4


ObjectID: 3374303432

EventDate: 3/4/2014 2:03:49 PM

SendID: 142865

SubscriberKey: [email protected]

BatchID: 2


ObjectID: 3374303433

EventDate: 3/4/2014 2:03:49 PM

SendID: 142865

SubscriberKey: [email protected]

BatchID: 1


<br/>

ObjectID: 3374303431

EventDate: 3/4/2014 2:03:49 PM

SendID: 142865

SubscriberKey: [email protected]

BatchID: 4

<br/>

ObjectID: 3374303432

EventDate: 3/4/2014 2:03:49 PM

SendID: 142865

SubscriberKey: [email protected]

BatchID: 2

<br/>

ObjectID: 3374303433

EventDate: 3/4/2014 2:03:49 PM

SendID: 142865

SubscriberKey: [email protected]

BatchID: 1

<br/>

If I try to make a call using the filter for SubscriberKey([email protected]) I get norhing

This is my java code:

RetrieveRequest retrieveRequest = RetrieveRequest.Factory.newInstance();
retrieveRequest.setObjectType("OpenEvent");
retrieveRequest.setPropertiesArray(new String[] { "ObjectID", "SendID", "SubscriberKey", "BatchID" });

SimpleFilterPart filter = SimpleFilterPart.Factory.newInstance();
filter.setProperty("SubscriberKey");
filter.setSimpleOperator(SimpleOperators.EQUALS);
filter.setValueArray(new String[] { "[email protected]" });

RetrieveRequest retrieveRequest = RetrieveRequest.Factory.newInstance(); <br/>
retrieveRequest.setObjectType("OpenEvent"); <br/>
retrieveRequest.setPropertiesArray(new String[] { "ObjectID", "SendID", "SubscriberKey", "BatchID" }); <br/>
<br/>
SimpleFilterPart filter = SimpleFilterPart.Factory.newInstance(); <br/>
filter.setProperty("SubscriberKey"); <br/>
filter.setSimpleOperator(SimpleOperators.EQUALS); <br/>
filter.setValueArray(new String[] { "[email protected]" }); <br/>

retrieveRequest.setFilter(filter);<br/>
.<br/>
.<br/>
.<br/>
.<br/

retrieveRequest.setFilter(filter);
.
.
.
.

 

Please any help would be appreciate it.

Thanks.

I'm trying to get the OpenEvent details for a specific SubscriberKey using the ExactTarget API. I have the SendID, BatchID and the SubscriberKey, the thing is that the filter of the SubscriberKey is not working. If I try to make the call with the filter for SendID I get the results(to many) but once I add the filter for the SubscriberKey the request returns nothing.

I try it on .NET and Java and I'm getting the same results.

For example I made a test using only the filter for SendID(142865) and I get these results


ObjectID: 3374303431

EventDate: 3/4/2014 2:03:49 PM

SendID: 142865

SubscriberKey: [email protected]

BatchID: 4


ObjectID: 3374303432

EventDate: 3/4/2014 2:03:49 PM

SendID: 142865

SubscriberKey: [email protected]

BatchID: 2


ObjectID: 3374303433

EventDate: 3/4/2014 2:03:49 PM

SendID: 142865

SubscriberKey: [email protected]

BatchID: 1


If I try to make a call using the filter for SubscriberKey([email protected]) I get norhing

This is my java code:

RetrieveRequest retrieveRequest = RetrieveRequest.Factory.newInstance();
retrieveRequest.setObjectType("OpenEvent");
retrieveRequest.setPropertiesArray(new String[] { "ObjectID", "SendID", "SubscriberKey", "BatchID" });

SimpleFilterPart filter = SimpleFilterPart.Factory.newInstance();
filter.setProperty("SubscriberKey");
filter.setSimpleOperator(SimpleOperators.EQUALS);
filter.setValueArray(new String[] { "[email protected]" });

retrieveRequest.setFilter(filter);
.
.
.
.

Please any help would be appreciate it.

Thanks.

I'm trying to get the OpenEvent details for a specific SubscriberKey using the ExactTarget API. I have the SendID, BatchID and the SubscriberKey, the thing is that the filter of the SubscriberKey is not working. If I try to make the call with the filter for SendID I get the results(to many) but once I add the filter for the SubscriberKey the request returns nothing.

I try it on .NET and Java and I'm getting the same results.

For example I made a test using only the filter for SendID(142865) and I get these results

<br/>

ObjectID: 3374303431

EventDate: 3/4/2014 2:03:49 PM

SendID: 142865

SubscriberKey: [email protected]

BatchID: 4

<br/>

ObjectID: 3374303432

EventDate: 3/4/2014 2:03:49 PM

SendID: 142865

SubscriberKey: [email protected]

BatchID: 2

<br/>

ObjectID: 3374303433

EventDate: 3/4/2014 2:03:49 PM

SendID: 142865

SubscriberKey: [email protected]

BatchID: 1

<br/>

If I try to make a call using the filter for SubscriberKey([email protected]) I get norhing

This is my java code:

RetrieveRequest retrieveRequest = RetrieveRequest.Factory.newInstance(); <br/>
retrieveRequest.setObjectType("OpenEvent"); <br/>
retrieveRequest.setPropertiesArray(new String[] { "ObjectID", "SendID", "SubscriberKey", "BatchID" }); <br/>
<br/>
SimpleFilterPart filter = SimpleFilterPart.Factory.newInstance(); <br/>
filter.setProperty("SubscriberKey"); <br/>
filter.setSimpleOperator(SimpleOperators.EQUALS); <br/>
filter.setValueArray(new String[] { "[email protected]" }); <br/>

retrieveRequest.setFilter(filter);<br/>
.<br/>
.<br/>
.<br/>
.<br/
 

Please any help would be appreciate it.

Thanks.

Source Link

Retriving OpenEvent Details using SubscriberKey

I'm trying to get the OpenEvent details for a specific SubscriberKey using the ExactTarget API. I have the SendID, BatchID and the SubscriberKey, the thing is that the filter of the SubscriberKey is not working. If I try to make the call with the filter for SendID I get the results(to many) but once I add the filter for the SubscriberKey the request returns nothing.

I try it on .NET and Java and I'm getting the same results.

For example I made a test using only the filter for SendID(142865) and I get these results


ObjectID: 3374303431

EventDate: 3/4/2014 2:03:49 PM

SendID: 142865

SubscriberKey: [email protected]

BatchID: 4


ObjectID: 3374303432

EventDate: 3/4/2014 2:03:49 PM

SendID: 142865

SubscriberKey: [email protected]

BatchID: 2


ObjectID: 3374303433

EventDate: 3/4/2014 2:03:49 PM

SendID: 142865

SubscriberKey: [email protected]

BatchID: 1


If I try to make a call using the filter for SubscriberKey([email protected]) I get norhing

This is my java code:

RetrieveRequest retrieveRequest = RetrieveRequest.Factory.newInstance();
retrieveRequest.setObjectType("OpenEvent");
retrieveRequest.setPropertiesArray(new String[] { "ObjectID", "SendID", "SubscriberKey", "BatchID" });

SimpleFilterPart filter = SimpleFilterPart.Factory.newInstance();
filter.setProperty("SubscriberKey");
filter.setSimpleOperator(SimpleOperators.EQUALS);
filter.setValueArray(new String[] { "[email protected]" });

retrieveRequest.setFilter(filter);
.
.
.
.

Please any help would be appreciate it.

Thanks.