Skip to content

Time series ids transformation

Description

This transformation allows users to set custom ids for imported time series. Transformation must specify string formula for the new ids to set. This transformation is applicable to time series data.

Example

This request to /api/conversion/upload-convert

{
  "readerName": "TimeSeriesDfs0Reader",
  "writerName": "TSWriter",
    ...
  "transformations": [
    {
        type: "TimeSeriesIdsTransformation",
        newIdFormula: "my_ts_{description}_{description}"
    }
  ]
}
will upload time series from a dfs0 and tranformation will set ids for the imported time series to: "my_ts_Discharge" and "my_ts_Rainfall" - "Discharge" and "Rainfall" are property values (description) in the imported time series.

For more information refer to the swagger documentation of the Metadata service.