...
GET modifiers
Request parameters
startTime (dateTime: yyyy-MM-ddTHH:mm:ssZ): start time of modifiers search period
endTime (dateTime: yyyy-MM-ddTHH:mm:ssZ): end time of modifiers search period.
modifierTypeId (string): filter on modifiers by modifierTypeId as specified in the ModifierTypes.xml configuration. If modifier type cannot be found, not filtering on type is done.
If no startTime and endTime are given, the search period is any time.
Response
- Modifiers PI XML
Example request
Code Block |
---|
curl "http://localhost:8080/FewsWebServices/rest/fewspiservice/v1/modifiers?modifierTypeId=MISSING_VALUE_MODIFIER"
|
Example response
Code Block |
---|
<?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>34</systemActivityDescriptorId> <enabled>true</enabled> <modifierType>MODIFY<modifierType>MISSING_VALUE_TIMESERIES<MODIFIER</modifierType> <userId>Rudie Ekkelenkamp</userId> <startTime date="20161900-1210-0117" time="00:00:00"/> <endTime date="20162017-1211-0123" time="00:00:00"/> <validTime date="20173000-1001-2401" time="00:00:00"/> <creationTime date="2017-10-24" time="1011:3943:4911"/> <timeValueTimeSeriesModifier><constantValueTimeSeriesModifier> <timeSeriesSet> <moduleInstanceId>ImportObserved</moduleInstanceId> <parameterId>T.obs.mean</parameterId> <locationId>63306260000</locationId> <timeSeriesType>external historical</timeSeriesType> <timeStep unit="nonequidistant"/> <ensembleId>main</ensembleId> </timeSeriesSet> <timeValue<startTime date="20161900-1210-0117" time="00:00:00"/> <endTime date=" value="4.8"/>2017-11-23" time="00:00:00"/> <value>NaN</value> </timeValueTimeSeriesModifier>constantValueTimeSeriesModifier> </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> |
...