...
Code Block |
---|
{ "openapi" : "3.0.3", "info" : { "title" : "Delft-FEWS Web Services - Schematic Status Display (SSD) Web Service", "description" : "Delft-FEWS Web Services - Schematic Status Display (SSD) Web Service. For more information see: https://publicwiki.deltares.nl/x/OwXkC", "version" : "" }, "servers" : [ { "url" : "/FewsWebServices", "description" : "API server" } ] } |
GET ratingcurves (2022.02)
GET all configured rating curves from the region config and optionally filter by locationIds.
Response
- PI_XML response with rating curves.
Example request
Code Block |
---|
curl "http://localhost:8080/FewsWebServices/rest/fewspiservice/v1/ratingcurves?locationIds=ALKA2"
|
Example PI-XML response
Code Block |
---|
<?xml version="1.0" encoding="UTF-8"?>
<RatingCurves xmlns="http://www.wldelft.nl/fews/PI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews/PI http://fews.wldelft.nl/schemas/version1.0/pi-schemas/pi_ratingcurves.xsd">
<timeZone>0.0</timeZone>
<ratingCurve>
<header>
<locationId>ALKA2</locationId>
<startDate date="2012-01-01" time="00:00:00"/>
<endDate date="2012-11-21" time="00:00:00"/>
<stationName>ALKA2</stationName>
<stageUnit>FT</stageUnit>
<dischargeUnit>CFS</dischargeUnit>
<comment>Sep07 88.88 199 kcfs</comment>
</header>
<table>
<interpolationMethod>logarithmic</interpolationMethod>
<minStage>64.9</minStage>
<maxStage>INF</maxStage>
<row stage="64.9" discharge="2990.3328"/>
<row stage="65.1" discharge="3280.365"/>
<row stage="65.4" discharge="3740.4165"/>
<row stage="65.700004" discharge="4240.472"/>
</table>
</ratingCurve>
</RatingCurves>
|
FEWS PI REST Web Service API - Embedded endpoints
...
GET the system time as configured in the Operator Client of Stand Alone
Response
- text response with the actual system time. Format: yyyy-MM-ddTHH:mm:ssZ
Example request
Code Block |
---|
curl "http://localhost:8080/FewsWebServices/rest/fewspiservice/v1/systemtime" |
...