This can also be used to create a time series by setting allowMissing to true.
Updating a time series will usually create a new version of the time series. However, by explicitly setting a known time, any version may be changed or updated. If a value already exists with exactly the same timestamp and known time, it will be updated. Otherwise a new point will be created.
If a timestamp that is previously known is not included, its value is not deleted, even though it is within the range of this update. The old value will simply continue to exist at the new version. Data points without values are cleared from this version, meaning that the old value will continue to exist up until the new version, then cease to exist.
Time series storage is optimized by discarding values which haven't changed from the previous versions. Note that this optimization may cause surprising behavior when updating older versions. When older versions are updated, it is therefore recommended to perform a full backload from this version on.
The default knownTime for a data point is insertion time, i.e. same as setting currentTime to true. To override the default behaviour, set one of the defaultKnownTime fields.
Note: Exabel only supports processing time series with daily or lower resolution. Timestamps must be RFC 3339 timestamps, normalised to midnight UTC, e.g. 2020-01-01T00:00:00Z.
The optional view argument lets you request for time series data points to be returned within a date range. If this is not set, no values are returned.
Click Try It! to start a request and see the response here!