Bulk Loads High-Level Summary

Use a consistent time window for incremental loads

For each incremental load, set dateModifiedBegin to the end time of the last successfully completed load. Before requesting the first page, capture a dateModifiedEnd value as the cutoff for the current load.

Use the same dateModifiedBegin and dateModifiedEnd values for every page in that load. Change only the offset value to retrieve the next page. This ensures that all pages return records from the same time window.

After all pages are retrieved and processed successfully, store the current dateModifiedEnd value. Use that value as dateModifiedBegin for the next incremental load. If a request fails, retry that page with the same time window and offset before continuing.

Example: incremental load with one page

A Change Order query uses dateModifiedBegin and dateModifiedEnd to retrieve records changed during a one-day period. If the query returns 333 records and the requested page size is greater than 333, the result contains all matching records in one page. After processing the records successfully, save the dateModifiedEnd value for the next run.

Example: incremental load with multiple pages

A query can return more records than fit in one page. For example, if 48,500 records match the query and the page size is 10,000, the integration sends five requests:

All five requests use the same dateModifiedBegin and dateModifiedEnd values. Only the offset changes.