Versions Compared

Key

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

...

Code Block
languagetext
2020-03-18T15:00:00Z


GET lastupdatetime (2022.02)

Get the last time the timeseries were updated in the Operator Client or a Stand Alone

Request parameters

  • documentFormat (string): TEXT (default) or PI_JSON

Response

    • text response with the last update time.  Format: yyyy-MM-ddTHH:mm:ssZ

Example request

Code Block
curl "http://localhost:8080/FewsWebServices/rest/fewspiservice/v1/lastupdatetime"

Example text response

Code Block
languagetext
2020-03-18T15:00:00Z

GET topology/selected (2022.02)

Get the currently selected topology node id in the Operator Client or a Stand Alone

Request parameters

  • documentFormat (string): PI_JSON

Response

    • PI_JSON response

Example request

Code Block
curl "http://localhost:8080/FewsWebServices/rest/fewspiservice/v1/topology/selected"

Example text response

Code Block
languagetext
{
"topologyNodeId": "string"
}

GET parameters/selected (2022.02)

Get the currently selected parameter ids in the Operator Client or a Stand Alone

Request parameters

  • documentFormat (string): PI_JSON

Response

    • PI_JSON response

Example request

Code Block
curl "http://localhost:8080/FewsWebServices/rest/fewspiservice/v1/parameters/selected"

Example text response

Code Block
languagetext
{
  "parameterIds": [
    "string"
  ]
}

GET filters/selected (2022.02)

GET the system time as configured in the Operator Client of Stand Alone

Request parameters

  • documentFormat (string):  PI_JSON

Response

    • PI_JSON response

Example request

Code Block
curl "http://localhost:8080/FewsWebServices/rest/fewspiservice/v1/filters/selected"

Example text response

Code Block
languagetext
{
  "filterIds": [
    "string"
  ]
}


GET locations/selected (2022.02)

Get the currently selected location ids in the Operator Client or a Stand Alone

Request parameters

  • documentFormat (string):  PI_JSON

Response

    • PI_JSON

Example request

Code Block
curl "http://localhost:8080/FewsWebServices/rest/fewspiservice/v1/locations/selected"

Example text response

Code Block
languagetext
{
  "locationIds": [
    "string"
  ]
}



GET timeseries/topology/node (2022.02)

Get the time series for the selected topology node

Request parameters

  • documentFormat (string): PI_XML (default) or PI_JSON

Response

    • Timeseries in PI_XML or PI_JSON format

Example request

Code Block
curl "http://localhost:8080/FewsWebServices/rest/fewspiservice/v1/timeseries/topology/node"

Example text response