...
Code Block |
---|
|
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 |
---|
|
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
Example request
Code Block |
---|
curl "http://localhost:8080/FewsWebServices/rest/fewspiservice/v1/topology/selected" |
Example text response
Code Block |
---|
|
{
"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
Example request
Code Block |
---|
curl "http://localhost:8080/FewsWebServices/rest/fewspiservice/v1/parameters/selected" |
Example text response
Code Block |
---|
|
{
"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
Example request
Code Block |
---|
curl "http://localhost:8080/FewsWebServices/rest/fewspiservice/v1/filters/selected" |
Example text response
Code Block |
---|
|
{
"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
Example request
Code Block |
---|
curl "http://localhost:8080/FewsWebServices/rest/fewspiservice/v1/locations/selected" |
Example text response
Code Block |
---|
|
{
"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