DTM docs
HomeDor Traffic MinerMetagraphDTM AppMarketingAPI
API
API
  • Overview
  • Authentication
    • Basic Auth
    • Manually Creating Basic Auth Headers
  • Response Format
    • Successful Responses
    • Error Responses
  • Pagination
  • Datetimes
    • Datetime Formats
    • Datetimes Grouped by Local Time Zone
  • Rate Limiting
  • Syncing Data
    • Asynchronous Data
    • Querying by Update Timestamp
  • Data Validity
    • Validity
    • Completeness
  • Endpoints
    • Organizations
      • GET /organizations
      • GET /organizations/{org_id}
    • Locations
      • GET /locations
      • GET /locations/{location_id}
      • GET /locations/{location_id}/devices
      • POST /locations
      • DELETE /locations/{location_id}
    • Devices
      • GET /devices
      • GET /devices/{serial_number}
      • PUT /devices/{serial_number}
      • POST /devices/{serial_number}/install
      • POST /devices/{serial_number}/uninstall
      • GET /uninstalled-devices
    • Foot Traffic
      • GET /foot-traffic/locations
      • GET /foot-traffic/devices/{serial_number}
    • Schemas
      • Organization
      • Location
      • Address
      • Device
      • LocationMetric
      • Foot Traffic
Powered by GitBook
On this page
  1. Syncing Data

Querying by Update Timestamp

PreviousAsynchronous DataNextData Validity

Last updated 1 year ago

We provide the query parameter to properly sync all changed data on Dor's server. The query parameter allows API users to query for any records that have been updated since a given timestamp regardless of when that data was recorded on a sensor.

Using this method of querying for data will ensure that all new data is synced, even if it was recorded several hours or days in the past. If any metric has been updated since the last time the user synced (via the provided updated_at_start timestamp), that resource will be included in the response.

The updated_at_start parameter should be provided as a UTC timestamp since it represents a specific point in time. This differs from other timestamp parameters which are grouped by local time. For more information, see .

Datetimes