Versions Compared

Key

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

...

GET modifiers

Request parameters

  • startTime (dateTime: yyyy-MM-ddTHH:mm:ssZ)

  • endTime (dateTime: yyyy-MM-ddTHH:mm:ssZ)

  • modifierTypeId (string)

Response

  • Modifiers PI XML

Example request

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

Example response

Code Block
TODO<?xml version="1.0" encoding="UTF-8"?>
<Modifiers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.wldelft.nl/fews/PI" xsi:schemaLocation="http://www.wldelft.nl/fews/PI http://fews.wldelft.nl/schemas/version1.0/pi-schemas/pi_modifiers.xsd">
    <modifier>
        <name>T.obs.mean_DE BILT</name>
        <modifierId>0</modifierId>
        <systemActivityDescriptorId>30</systemActivityDescriptorId>
        <enabled>true</enabled>
        <modifierType>MODIFY_TIMESERIES</modifierType>
        <userId>Rudie Ekkelenkamp</userId>
        <startTime date="2016-12-01" time="00:00:00"/>
        <endTime date="2016-12-01" time="00:00:00"/>
        <validTime date="2017-10-24" time="00:00:00"/>
        <creationTime date="2017-10-24" time="10:39:49"/>
        <timeValueTimeSeriesModifier>
            <timeSeriesSet>
                <moduleInstanceId>ImportObserved</moduleInstanceId>
                <parameterId>T.obs.mean</parameterId>
                <locationId>63306260000</locationId>
                <timeSeriesType>external historical</timeSeriesType>
                <timeStep unit="nonequidistant"/>
                <ensembleId>main</ensembleId>
            </timeSeriesSet>
            <timeValue date="2016-12-01" time="00:00:00" value="4.8"/>
        </timeValueTimeSeriesModifier>
    </modifier>
</Modifiers>

 

POST modifiers

Request parameters

  • not applicable

Response

  • TODO

Example request

Code Block
TODO

Example response

Code Block
TODO

 

GET workflows

Request parameters

  • documentVersion (string, 1.9 or up): File format version (optional). For example: 1.23

Response

  • xml workflows.

Example request

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

Example response

Code Block
<?xml version="1.0" encoding="UTF-8"?>
<workflows xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.wldelft.nl/fews/PI" xsi:schemaLocation="http://www.wldelft.nl/fews/PI http://
fews.wldelft.nl/schemas/version1.0/pi-schemas/pi_workflows.xsd" version="1.23">
    <workflow id="ImportObserved">
        <name>Import Observed Data</name>
        <description>Import observed scalar data from external sources and process the imported data</description>
    </workflow>
</workflows>

 

...