API
Documentation
  • Welcome!
  • REST API
    • Overview
    • Authentication
    • Swagger docs
    • Query an endpoint
    • Filter query results
    • Handling timestamps
    • Backward compatibility
    • Exporting Data using ODATA
    • Power BI Incremental refresh
    • Data Lake Transfer Gateway
    • EXAMPLES
      • Upload production schedule
      • Find all Running Orders
      • Interact with the Order Lifecycle
      • Consume and Submit an Activity
      • Raise an Event in TilliT
  • MQTT API
    • Overview
    • Connect to the TilliT Broker
    • Subscribe to a TilliT Topic
    • Setting a MQTT Integration
    • Publish Timeseries
    • Publish Order Progress
  • Activity API
    • Overview
    • JavaScript Basics
    • Using $scope and OnLoad Scripts
    • JavaScript Object Schema
  • Release Notes
    • 2024
      • April
Powered by GitBook
On this page
  1. REST API

Handling timestamps

Overview

Timestamps in TilliT are all in UTC and formatted as ISO 8601 strings such as 2020-12-14T04:49:27.159Z. Upon suppling an invalid date, the message timestamp must be in UTC YYYY-MM-DDTHH:MM:SSZ format as a string will appear in the 500 response.

Timestamp Format Examples

The following are all considered valid timestamp

2020-12-14T04:49:27.159Z
2020-12-14T04:49:27.159
2020-12-14T04:49
2020-12-14

The following are examples of invalid timestamps

14-12-2020T04:49:27.159Z 
2020-12-14T4:40:7.00Z
2020/12/14T04:49:27.159Z
PreviousFilter query resultsNextBackward compatibility

Last updated 2 years ago