...
Code Block |
---|
curl "http://localhost:8080/FewsWebServices/rest/fewspiservice/v1/displayGroups?&nodeId=groupNodeA&timeZero=2014-01-01T00:00:00Z" |
Example response
The response is always in JSON. Below an example.
Code Block |
---|
{ "results" : [ { "type" : "PI", "requests" : [ { "key" : "....", "request" : "rest/fewspiservice/v1/timeseries?timeSeriesType=EXTERNAL_FORECASTING&locationIds=amerongen_beneden¶meterIds=Q.voorspeld&moduleInstanceIds=Forecast&qualifierIds=NONE&timeStepId=PT10M&endForecastTime=2014-01-01T00%3A00%3A00Z&useDisplayUnits=true&documentFormat=PI_JSON" } ], "config" : { "timeSeriesDisplay" : { "title" : "no name", "subplots" : [ { "items" : [ { "type" : "line", "legend" : "Q.voorspeld", "color" : "#0000ff", "lineStyle" : "solid", "lineWidth" : 1.0, "locationId" : "amerongen_beneden", "yAxis" : { "axisPosition" : "left", "axisLabel" : "Afvoer (m3/s)" }, "request" : "...." } ] } ] } } } ] } |
...