Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
{
  "topologyNodes" : [ {
    "id" : "groupNodeA",
    "name" : "groupNodeA",
    "topologyNodes" : [ {
      "id" : "nodeA",
      "name" : "nodeA",
      "workflowId" : "Import",
      "localRun" : true,
      "displayId": "exampleDisplayId"
    }, {
      "id" : "nodeB",
      "name" : "nodeB",
      "workflowId" : "Import",
      "localRun" : true,
      "displayGroupId", "exampleDisplayGroupId"
    } ]
  }, {
    "id" : "groupNodeB",
    "name" : "groupNodeB",
    "topologyNodes" : [ {
      "id" : "nodeC",
      "name" : "nameNodeC",
      "workflowId" : "Import",
      "localRun" : true,
       "url" : "exampleUrl"
    }, {
      "id" : "nodeD",
      "name" : "nodeD",
      "workflowId" : "ImportSample",
      "localRun" : false
    } ]
  } ]
}


POST timeseries/edit

Upload data edits to FEWS

Request parameters

  • locationId (string): Id of the location for which the edits are requested
  • ensembleId (string): Ensemble identifier of for time series
  • ensembleMemberId (string): Ensemble Member identifier of for time series. Only allowed in combination with ensembleId. Since 2022.02.
  • timeSeriesSetIndex (integer): index of the requested time series set
  • convertDatum (boolean): Convert values from relative location height to absolute height values. 

Body content

The body of the request should contain the time series in pi-json format.


Code Block
languagexml
{
  "version": "1.23",
  "timeZone": "0.0",
  "timeSeries": [
    {
      "events": [
        {
          "date": "2013-12-30",
          "time": "01:00:00",
          "value": "22.0",
          "comment": "test2",
          "flag": "6"
        }
      ]
    }
  ]
}



GET timeseries/history

returns the edit history for the requested time series and times

...