API LIBRARY
Collapse Sidebar Menu
Expand Drawer

Replication

Replicating listings is easy.

Execute a search with the following request:
      https://api-prod.corelogic.com/trestle/odata/Property?$top=10&$skip=770&$select=ListingKey,BedroomsTotal,PropertyType,StreetName,ModificationTimestamp,OriginatingSystemName,Appliances,ModificationTimestamp&$filter=ModificationTimestamp gt 2018-10-19&$orderby=ModificationTimestamp&$count=true

Parse the results by following the odata nextlink

      "@odata.nextLink": "https://api-prod.corelogic.com/trestle/odata/Property?$top=10&$select=ListingKey%2CBedroomsTotal%2CPropertyType%2CStreetName%2CModificationTimestamp%2COriginatingSystemName%2CAppliances%2CModificationTimestamp&$filter=ModificationTimestamp gt 2018-10-19&$orderby=ModificationTimestamp&$count=true&$skip=780"

When you reach the last result resultset, odata.nextLink will not exist

For another recommended way for replicating millions of records, please see this: 
https://docs-trestle.corelogic.com/Subtopic/ReplicationEndpoint