includeTimeDependency
Table of Contents | ||
---|---|---|
|
...
A property EXPORT_FOLDER_PROCESS_DATA should be configured in the global properties or in the webservice properties. The workflow indicated by the workflow id should export data to a folder EXPORT_FOLDER_PROCESS_DATA.
Configuration
The FewsPiService.properties file can be used to make service specific configurations available. This is a property file that is located in the FEWS configuration in the directory:
%REGION_HOME%/Config/PiClientConfigFiles/FewsPiService.properties
For more information about the possible properties, see FEWS Web Services configuration FewsPiService.properties.
GET qualifiers (2019.02)
Retrieve all configured qualifiers.
Request parameters
- filterId (string): Filter id.
- documentFormat (string): PI_XML (default) or PI_JSON
- showAttributes (boolean): toggle to show qualifier attributes.
Response
- Qualifiers in PI-XML.
Example request
Code Block |
---|
curl "http://localhost:8080/FewsWebServices/rest/fewspiservice/v1/locations?showAttributes=true&documentVersion=1.24"
|
Example PI-XML response
Code Block | ||
---|---|---|
<?xml version="1.0" encoding="UTF-8"?>
<qualifiers 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_qualifiers.xsd" version="1.24">
<qualifier id="1">
<name>Alisma plantago-aquatica</name>
<attribute id="ExternalQualifierId" name="ExternalQualifierId"> | ||
Code Block | ||
| ||
{ "version" : "1.23", "geoDatum" : "WGS 1984", "locations" : [{ "locationId" : "locA", "shortName" : "A", "lat" : "9.0", "lon" : "9.0", "x" : "9.0", "y" : "9.0", "z" : "9.0", "attributes" : [ { "name" : "TEST_ATTRIBUTE", "type" : "text", "id" : "TEST_ATTRIBUTE", <text>PAR_REF_Alisma "value" : "A2" plantago-aquatica</text> } ]</attribute> }, { <attribute id="locationIdQualifier_TAXA" : "locB",name="Qualifier_TAXA"> "shortName" : "B", <description>Taxon naam</description> "lat" : "7.0", "lon" : "7.0",<text>Alisma plantago-aquatica</text> "x" : "7.0", </attribute> "y" : "7.0", <attribute id="zType" : "7.0", name="Type"> "attributes" : [ ] }, {<description>type</description> "locationId" : "locC", "shortName" : "C", <text>aquaticaType</text> "lat" : "5.0", </attribute> "lon" : "5.0", <attribute id="xGroep" : "5.0",name="Groep"> "y" : "5.0", "z" : "5.0", <description>Familie</description> "attributes" : [ ] }, { "locationId" : "locD", <text>aquaticaGroup</text> "shortName" : "D", </attribute> "lat" : "3.0", </qualifier> <qualifier id="lon2"> : "3.0", "x" : "3.0",<name>Butomus umbellatus</name> "y" : "3.0", <attribute id="zExternalQualifierId" : "3.0",name="ExternalQualifierId"> "attributes" : [ ] }, { <text>PAR_REF_Butomus "locationId" : "locE", umbellatus</text> "shortName" : "E", </attribute> "lat" : "2.0", "lon<attribute id="Qualifier_TAXA" : "2.0",name="Qualifier_TAXA"> "x" : "2.0", "y" : "2.0",<description>Taxon naam</description> "z" : "2.0", "attributes" : [<text>Butomus ]umbellatus</text> }, { </attribute> "locationId" : "locF", <attribute id="shortNameType" : name="FType",> "lat" : "1.0", "lon" : "1.0", <description>type</description> "x" : "1.0", "y" : "1.0", "z" : "1.0", <text>umbellatusype</text> "attributes" : [ { </attribute> <attribute id="nameGroep" : "TEST_ATTRIBUTE",name="Groep"> "type" : "text", <description>Familie</description> "id" : "TEST_ATTRIBUTE", "value" : "F" <text>umbellatusGroup</text> } ] </attribute> } ] }</qualifier> </qualifiers> |
Configuration
The FewsPiService.properties file can be used to make service specific configurations available. This is a property file that is located in the FEWS configuration in the directory:
%REGION_HOME%/Config/PiClientConfigFiles/FewsPiService.properties
For more information about the possible properties, see FEWS Web Services configuration FewsPiService.properties.