Class RawTimeseriesClient
- java.lang.Object
-
- com.chrt.api.resources.trackingintegrations.tive.timeseries.RawTimeseriesClient
-
public class RawTimeseriesClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description RawTimeseriesClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChrtApiHttpResponse<TiveTimeseriesRes>dataPointsV1(TimeseriesDataPointsV1Request request)Returns raw Tive data points for a shipment within the given time range.ChrtApiHttpResponse<TiveTimeseriesRes>dataPointsV1(TimeseriesDataPointsV1Request request, RequestOptions requestOptions)Returns raw Tive data points for a shipment within the given time range.ChrtApiHttpResponse<java.util.Optional<TiveDataPoint1>>lastSeenV1(TimeseriesLastSeenV1Request request)Returns the most recent Tive data point for a shipment.ChrtApiHttpResponse<java.util.Optional<TiveDataPoint1>>lastSeenV1(TimeseriesLastSeenV1Request request, RequestOptions requestOptions)Returns the most recent Tive data point for a shipment.ChrtApiHttpResponse<TiveTimeseriesSyncRes>syncV1(TimeseriesSyncV1Request request)Fetches new Tive tracker data points from the Tive API for a shipment and stores them in our timeseries collection.ChrtApiHttpResponse<TiveTimeseriesSyncRes>syncV1(TimeseriesSyncV1Request request, RequestOptions requestOptions)Fetches new Tive tracker data points from the Tive API for a shipment and stores them in our timeseries collection.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
RawTimeseriesClient
public RawTimeseriesClient(ClientOptions clientOptions)
-
-
Method Detail
-
lastSeenV1
public ChrtApiHttpResponse<java.util.Optional<TiveDataPoint1>> lastSeenV1(TimeseriesLastSeenV1Request request)
Returns the most recent Tive data point for a shipment. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveDataPoint1 | None)
-
lastSeenV1
public ChrtApiHttpResponse<java.util.Optional<TiveDataPoint1>> lastSeenV1(TimeseriesLastSeenV1Request request, RequestOptions requestOptions)
Returns the most recent Tive data point for a shipment. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveDataPoint1 | None)
-
dataPointsV1
public ChrtApiHttpResponse<TiveTimeseriesRes> dataPointsV1(TimeseriesDataPointsV1Request request)
Returns raw Tive data points for a shipment within the given time range. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveTimeseriesRes)
-
dataPointsV1
public ChrtApiHttpResponse<TiveTimeseriesRes> dataPointsV1(TimeseriesDataPointsV1Request request, RequestOptions requestOptions)
Returns raw Tive data points for a shipment within the given time range. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveTimeseriesRes)
-
syncV1
public ChrtApiHttpResponse<TiveTimeseriesSyncRes> syncV1(TimeseriesSyncV1Request request)
Fetches new Tive tracker data points from the Tive API for a shipment and stores them in our timeseries collection. Uses a high-water-mark strategy with overlap dedup to prevent duplicate inserts. | authz: min_org_role=operator | () -> (TiveTimeseriesSyncRes)
-
syncV1
public ChrtApiHttpResponse<TiveTimeseriesSyncRes> syncV1(TimeseriesSyncV1Request request, RequestOptions requestOptions)
Fetches new Tive tracker data points from the Tive API for a shipment and stores them in our timeseries collection. Uses a high-water-mark strategy with overlap dedup to prevent duplicate inserts. | authz: min_org_role=operator | () -> (TiveTimeseriesSyncRes)
-
-