...
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="UTF-8"?> <timeSeriesImportRun xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/timeSeriesImportRun.xsd"> <import> <general> <importType>Akvo</importType> <serverUrl>https://akvoflow-141api.appspotakvo.comorg/flow/apiorgs/v1<deltares</serverUrl> <user>AKVO_ACCESS_KEY</user> <!-- akvo access key open id connect user name --> <password>AKVO_SECRET</password> <!-- akvo secret open id connect password --> <relativeViewPeriod unit="day" start="-20" end="0" startOverrulable="true" endOverrulable="false"/> <!-- read all survey instances of the last 20 days --> <idMapId>idAkvo</idMapId> </general> <properties> <string value="1100001" key="siteRegistrationSurveyId"></string> <string value="170003" key="siteMonitoringSurveyId"></string> <string value="https://login.akvo.org/auth/realms/akvo/protocol/openid-connect/token" key="openIdConnectUrl"></string> </properties> <timeSeriesSet> <moduleInstanceId>ImportAkvo</moduleInstanceId> <valueType>scalar</valueType> <parameterId>pH</parameterId> <locationId>b1b2-8xh1-pt21</locationId> <timeSeriesType>external historical</timeSeriesType> <timeStep unit="nonequidistant" /> <readWriteMode>add originals</readWriteMode> </timeSeriesSet> <timeSeriesSet> <moduleInstanceId>ImportAkvo</moduleInstanceId> <valueType>scalar</valueType> <parameterId>pH</parameterId> <locationId>4yes-fjqk-ceh5</locationId> <timeSeriesType>external historical</timeSeriesType> <timeStep unit="nonequidistant" /> <readWriteMode>add originals</readWriteMode> </timeSeriesSet> <timeSeriesSet> <moduleInstanceId>ImportAkvo</moduleInstanceId> <valueType>scalar</valueType> <parameterId>pH</parameterId> <locationId>ycwm-vu8j-2ts1</locationId> <timeSeriesType>external historical</timeSeriesType> <timeStep unit="nonequidistant" /> <readWriteMode>add originals</readWriteMode> </timeSeriesSet> <timeSeriesSet> <moduleInstanceId>ImportAkvo</moduleInstanceId> <valueType>scalar</valueType> <parameterId>Nitrate Nitrogen</parameterId> <locationId>65d4-2628-1r55</locationId> <timeSeriesType>external historical</timeSeriesType> <timeStep unit="nonequidistant" /> <readWriteMode>add originals</readWriteMode> </timeSeriesSet> <timeSeriesSet> <moduleInstanceId>ImportAkvo</moduleInstanceId> <valueType>scalar</valueType> <parameterId>Nitrite Nitrogen</parameterId> <locationId>65d4-2628-1r55</locationId> <timeSeriesType>external historical</timeSeriesType> <timeStep unit="nonequidistant" /> <readWriteMode>add originals</readWriteMode> </timeSeriesSet> <timeSeriesSet> <moduleInstanceId>ImportAkvo</moduleInstanceId> <valueType>scalar</valueType> <parameterId>pH</parameterId> <locationId>65d4-2628-1r55</locationId> <timeSeriesType>external historical</timeSeriesType> <timeStep unit="nonequidistant" /> <readWriteMode>add originals</readWriteMode> </timeSeriesSet> </import> </timeSeriesImportRun> |
...