{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-docs/dx1-dealership-api/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Pagination and synchronization"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"pagination-and-synchronization","__idx":0},"children":["Pagination and synchronization"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["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 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Take"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Skip"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"pagination-fields","__idx":1},"children":["Pagination fields"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Take"]}," is the maximum number of summary items requested for the page. DX1 recommends 1,000 or fewer."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Skip"]}," is the number of matching items bypassed before the page is returned. Begin at ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["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 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Take"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Skip"]}," to measure pagination progress."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["An empty ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Items"]}," array remains a defensive termination condition if the requested range returns fewer records than the overall record-type count."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"safe-page-loop","__idx":2},"children":["Safe page loop"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Take"]}," value no greater than 1,000 and set ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Skip"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Keep the filter window unchanged for the entire page sequence."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Process ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Items"]}," and record the resource identifier for deduplication."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Increase ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Skip"]}," by ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Items.length"]},", not by the requested ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Take"]}," or the full ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TotalCount"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Stop when ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Skip"]}," reaches ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TotalCount"]}," or when ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Items"]}," is empty. Guard against repeated identifiers or a non-advancing ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Skip"]},"."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This loop does not assume undocumented server ordering or snapshot isolation."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"supported-date-filters","__idx":3},"children":["Supported date filters"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Do not copy filter names between API areas. Use these exact date filters:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Summary operation"},"children":["Summary operation"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Created range"},"children":["Created range"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Updated range"},"children":["Updated range"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Customer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FromCreatedDate"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ToCreatedDate"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FromUpdatedDate"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ToUpdatedDate"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Inventory"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FromCreatedDate"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ToCreatedDate"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FromUpdatedDate"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ToUpdatedDate"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Major Unit Sales"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FromCreatedDate"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ToCreatedDate"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FromUpdatedDate"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ToUpdatedDate"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Service / Repair Orders"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FromCreatedDate"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ToCreatedDate"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FromUpdatedDate"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ToUpdatedDate"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Parts Inventory"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FromCreatedDate"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ToCreatedDate"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FromUpdatedDate"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ToUpdatedDate"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Parts Sales"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FromCreatedDate"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ToCreatedDate"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FromUpdatedDate"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ToUpdatedDate"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Leads"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FromCreateDate"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ToCreateDate"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FromUpdatedDate"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ToUpdatedDate"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Lead creation filters intentionally use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Create"]},", while the other search schemas use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Created"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"incremental-checkpoint-workflow","__idx":4},"children":["Incremental checkpoint workflow"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Start with a bounded created- or updated-date range supported by that operation."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Page the range to completion with an unchanged filter."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Deduplicate using the summary identifier for the domain."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Retrieve detail only for identifiers required by the integration."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Commit the high-water mark after every required record in the range is durably processed."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["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."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["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."]}]},"headings":[{"value":"Pagination and synchronization","id":"pagination-and-synchronization","depth":1},{"value":"Pagination fields","id":"pagination-fields","depth":2},{"value":"Safe page loop","id":"safe-page-loop","depth":2},{"value":"Supported date filters","id":"supported-date-filters","depth":2},{"value":"Incremental checkpoint workflow","id":"incremental-checkpoint-workflow","depth":2}],"frontmatter":{"seo":{"title":"Pagination and synchronization"}},"lastModified":"2026-11-19T19:55:50.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/docs/dx1-dealership-api/guides/pagination-and-sync","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}