public class ReadOperationsClient
extends MindsphereAPIClient
Modifier and Type | Class and Description |
---|---|
static class |
ReadOperationsClient.ClientBuilder |
Constructor and Description |
---|
ReadOperationsClient(ReadOperationsClient.ClientBuilder builder) |
Modifier and Type | Method and Description |
---|---|
static ReadOperationsClient.ClientBuilder |
builder() |
TimeSeries |
retrieveTimeseries(RetrieveTimeseriesRequest requestObject)
Retrieve time series data
Retrieve time series data for a single asset (entity) and aspect (property set).
|
public ReadOperationsClient(ReadOperationsClient.ClientBuilder builder)
public static ReadOperationsClient.ClientBuilder builder()
public TimeSeries retrieveTimeseries(RetrieveTimeseriesRequest requestObject) throws MindsphereException
200 - response object
400 - The request will return 400 BAD REQUEST in cases you can find below. - The input limit is less than zero. - One or more invalid property names specified. - Unable to find the asset (entity). - Unable to find the aspect (property set). - The time range specified is greater than 90 days. - The 'from' time is same as or after the 'to' time specified for range query.
0 - Other error with any status code and response body format.
requestObject
- - Object of type RetrieveTimeseriesRequest {Parameters are entity*,propertySetName*,from*,to*,limit,select}MindsphereException
- if an error occurs while attempting to invoke the API