Skip to content
Last updated

Pagination and synchronization

Use this guide to page summary results without skipping records and to advance an incremental checkpoint only after durable processing. It applies to summary/search POST operations; detail GET operations do not accept Take or Skip.

Pagination fields

  • Take is the maximum number of summary items requested for the page. DX1 recommends 1,000 or fewer.
  • Skip is the number of matching items bypassed before the page is returned. Begin at 0.
  • TotalCount is the count of all records available for the record type being requested, not the number of records in the current page. Use it with Take and Skip to measure pagination progress.

An empty Items array remains a defensive termination condition if the requested range returns fewer records than the overall record-type count.

Safe page loop

  1. Select a Take value no greater than 1,000 and set Skip to 0.
  2. Keep the filter window unchanged for the entire page sequence.
  3. Process Items and record the resource identifier for deduplication.
  4. Increase Skip by Items.length, not by the requested Take or the full TotalCount.
  5. Stop when Skip reaches TotalCount or when Items is empty. Guard against repeated identifiers or a non-advancing Skip.

This loop does not assume undocumented server ordering or snapshot isolation.

Supported date filters

Do not copy filter names between API areas. Use these exact date filters:

Summary operationCreated rangeUpdated range
CustomerFromCreatedDate, ToCreatedDateFromUpdatedDate, ToUpdatedDate
InventoryFromCreatedDate, ToCreatedDateFromUpdatedDate, ToUpdatedDate
Major Unit SalesFromCreatedDate, ToCreatedDateFromUpdatedDate, ToUpdatedDate
Service / Repair OrdersFromCreatedDate, ToCreatedDateFromUpdatedDate, ToUpdatedDate
Parts InventoryFromCreatedDate, ToCreatedDateFromUpdatedDate, ToUpdatedDate
Parts SalesFromCreatedDate, ToCreatedDateFromUpdatedDate, ToUpdatedDate
LeadsFromCreateDate, ToCreateDateFromUpdatedDate, ToUpdatedDate

Lead creation filters intentionally use Create, while the other search schemas use Created.

Incremental checkpoint workflow

  1. Start with a bounded created- or updated-date range supported by that operation.
  2. Page the range to completion with an unchanged filter.
  3. Deduplicate using the summary identifier for the domain.
  4. Retrieve detail only for identifiers required by the integration.
  5. Commit the high-water mark after every required record in the range is durably processed.

A small overlap and identifier-based deduplication are client recommendations for boundary safety; DX1 does not document an overlap duration. Choose one based on approved testing and your processing latency.

Run complete or large-scale extraction only during the documented 03:00–11:00 UTC window. Routine synchronization should use supported date filters rather than repeatedly retrieving the full dataset.