Retrieve All Records Since Last Batch

This page contains information about using the RetriveAllSinceLastBatch Boolean argument.

You can use the RetrieveAllSinceLastBatch argument to reduce the amount of records returned by a call and retrieve only the most current information. By retrieving only the most current records, you can save the amount of time and resources devoted to a call.

Use the sample code below as a model for your own call. Note that you add the applicable object type and retrieveable properties to the this sample code.

The sample code demonstrates a call retrieving SentEvent with RetrieveAllSinceLastBatch set to true.

If you run the request again and return no new SentEvents that meet the filter criteria for the original request, you see a response similar to the one shown below: