Update time series

Updates one or more time series. Fields outside of the request remain unchanged.

For primitive fields (those whose type is string, number, or boolean), use "set": value to update the value; use "setNull": true to set the field to null.

For JSON array fields (for example securityCategories), use "set": [value1, value2] to update the value; use "add": [value1, value2] to add values; use "remove": [value1, value2] to remove values.

Securityoidc-token or oauth2-client-credentials or oauth2-open-industrial-data or oauth2-auth-code
Request
Request Body schema: application/json
required

List of changes.

required
Array of TimeSeriesUpdateById (object) or TimeSeriesUpdateByExternalId (object) or TimeSeriesUpdateByInstanceId (object) (TimeSeriesUpdate) [ 1 .. 1000 ] items
Responses
200

Response with the corresponding time series after applying the updates.

400

IDs not found.

409

Time series with the specified externalIds already exists. Retry request, with the existing externalIds removed.

422

Duplicate IDs found. Retry request, keeping only one instance of each duplicated ID.

post/timeseries/update
Request samples
application/json
{
  • "items": [
    • {
      }
    ]
}
Response samples
application/json
{
  • "items": [
    • {
      }
    ]
}