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. Datetimes

Datetime Formats

The DTM API uses both datetimes with time zone information attached as well as datetimes that are aggregated by local time and contain no time zone information.

Some endpoints allow you to query for data bounded by a datetime range. The following options are provided.

Query parameters

Name
Type
Format
Example
Description

datetime_start

Date-time String

YYYY-MM-DDThh:mm:ss

2020-02-14T00:00:00

The lower bound datetime (inclusive) for querying data, relative to local time zone

datetime_end

Date-time String

YYYY-MM-DDThh:mm:ss

2020-02-14T00:00:00

The upper bound datetime (exclusive) for querying data, relative to local time zone

updated_at_start

Date-time String

YYYY-MM-DDThh:mm:ssZ

2020-02-14T00:00:00+00:00

Datetime for querying data that has been updated since that datetime, UTC datetime

PreviousDatetimesNextDatetimes Grouped by Local Time Zone

Last updated 1 year ago