Endpoints to Retrieve Data
Sends a query to the computer, describing a table, to be parsed and evaluated.
The identity provider authentication token.
Asset instance ID.
Represents how the Back End wants the response back.
list_of_dicts or dict_of_listsBegin of the time range.
2023-01-01T00:00:00.000ZEnd of the time range.
2023-01-01T00:00:00.001ZTemporal interval to resample for, but it can also be a column. In this case all continuous values for that column are grouped togheter. When a resample is done , the resampled key is returned togheter with timeStart and timeEnd. They represen the start and end timestamp of the resampled interval.
state or 1DIt indicates the number of max values that have to be returned when resample is null.
200An operation that has to be applied to every requested column. The same behaviour can be obtained by specifying the operation for each column.
sumIt can be 'None', which means that I do not want any fill operation done on data, or 'null', which means that I want the data to be filled with None values.
NoneIt allows to specify the machine code of a principal machine's component (multi machine case) to retrieve only its data.
Line2Timezone to use to apply resampling.
Europe/BerlinContains the filters that have to be applied to the data to be returned.
{"and":[{"or":[{"tableName.tableColumn":"something"},{"tableName.tableColumn":1},{"tableName.tableColumn":"somethingelse"}]},{"and":[{"tableName.tableColumn":{"<":27}},{"tableName.tableColumn":{"=":"xyz"}},{"tableName.tableColumn":{">=":"300"}}]}]}Dict which represent tables that can be computer by the DM using some conditions and can then be used to calculate expressions.
How many values have to be taken from the returning table. Es. 1 means only the last value has to be taken.
3How returned data should be ordered.
DESC or ASCList of column names that the Data Manager should use to organize data. All the tables specified in the column parameter should contain the column names specified here. In output there is a dict where the keys represent the values assumed by the groupby field, the values are list_of_dicts or dict_of_lists representing the tables, as specified in orientation.
Boolean to flag if it is required to apply calendar.
Allows to indicate how to check for data at the extremes of the specified time interval (from - to). Accepted values = 'narrow' -> do not check extremes, 'wide' -> check both extremes 'left' -> check only left extreme (from) 'right' -> check only right extreme (to)
OK
This is an example of a response from the data manager when requested to format its response using lists of dictionaries.
[{"groupByValues":{"groupBy1":"value1","groupBy2":"value1"},"resampling":false,"noShiftPlanned":false,"timeserie":[{"_time":"time1","col1":"val11","col2":"val21","cal3":"val31"},{"_time":"time2","col1":"val12","col2":"val22","col3":"val32"},{"_time":"time3","col1":"val13","col2":"val23","col3":"val33"}],"scalars":{"col1":"val_scal1","col2":"val_scal2","col3":"val_scal3"}},{"groupByValues":{"groupBy1":"value2","groupBy2":"value2"},"noShiftPlanned":false,"resampling":true,"table":[{"_time":"time1","col1":"val11","col2":"val21","cal3":"val31"},{"_time":"time2","col1":"val12","col2":"val22","col3":"val32"},{"_time":"time3","col1":"val13","col2":"val23","col3":"val33"},{"_time":"time4","col1":"val14","col2":"val24","col3":"val34"}],"scalars":{"col1":"val_scal1","col2":"val_scal2","col3":"val_scal3"}}]Bad request.
Unauthorized.
Forbidden.
Resource not found.
Internal server error.
Service temporarily unavailable.
Timeout.
Sends a query to the computer, describing a complex table of data that has to be computed using data from different assets.
The identity provider authentication token.
represents how the Back End wants the response back.
list_of_dicts or dict_of_listsThis is present when the machine/asset is composed of more lines.
Begin of the time range.
2023-01-01T00:00:00.000ZEnd of the time range.
2023-01-01T00:00:00.001ZTemporal interval to resample for, but it can also be a column. In this case all continuous values for that column are grouped togheter. When a resample is done , the resampled key is returned togheter with timeStart and timeEnd. They represen the start and end timestamp of the resampled interval.
state or 1DIt indicates the number of max values that have to be returned when resample is null.
200An operation that has to be applied to every requested column. The same behaviour can be obtained by specifying the operation for each column.
sumIt can be 'None', which means that I do not want any fill operation done on data, or 'null', which means that I want the data to be filled with None values.
NoneTimezone to use to apply resampling.
Europe/BerlinContains the filters that have to be applied to the data to be returned.
{"and":[{"or":[{"tableName.tableColumn":"something"},{"tableName.tableColumn":1},{"tableName.tableColumn":"somethingelse"}]},{"and":[{"tableName.tableColumn":{"<":27}},{"tableName.tableColumn":{"=":"xyz"}},{"tableName.tableColumn":{">=":"300"}}]}]}Dict which represent tables that can be computer by the DM using some conditions and can then be used to calculate expressions.
How many values have to be taken from the returning table. Es. 1 means only the last value has to be taken.
3How returned data should be ordered.
DESC or ASCList of column names that the Data Manager should use to organize data. All the tables specified in the column parameter should contain the column names specified here. In output there is a dict where the keys represent the values assumed by the groupby field, the values are list_of_dicts or dict_of_lists representing the tables, as specified in orientation.
Boolean to flag if it is required to apply calendar.
Allows to indicate how to check for data at the extremes of the specified time interval (from - to). Accepted values = 'narrow' -> do not check extremes, 'wide' -> check both extremes 'left' -> check only left extreme (from) 'right' -> check only right extreme (to)
OK
This is an example of a response from the data manager when requested to format its response using lists of dictionaries.
[{"groupByValues":{"groupBy1":"value1","groupBy2":"value1"},"resampling":false,"noShiftPlanned":false,"timeserie":[{"_time":"time1","col1":"val11","col2":"val21","cal3":"val31"},{"_time":"time2","col1":"val12","col2":"val22","col3":"val32"},{"_time":"time3","col1":"val13","col2":"val23","col3":"val33"}],"scalars":{"col1":"val_scal1","col2":"val_scal2","col3":"val_scal3"}},{"groupByValues":{"groupBy1":"value2","groupBy2":"value2"},"noShiftPlanned":false,"resampling":true,"table":[{"_time":"time1","col1":"val11","col2":"val21","cal3":"val31"},{"_time":"time2","col1":"val12","col2":"val22","col3":"val32"},{"_time":"time3","col1":"val13","col2":"val23","col3":"val33"},{"_time":"time4","col1":"val14","col2":"val24","col3":"val34"}],"scalars":{"col1":"val_scal1","col2":"val_scal2","col3":"val_scal3"}}]Bad request.
Unauthorized.
Forbidden.
Resource not found.
Internal server error.
Service temporarily unavailable.
Timeout.
Last updated