Versions Compared

Key

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

...

Code Block
xml
xml
<?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>MultiflexMeter</importType>
        <serverUrl>https://portal.multiflexmeter.net/api/v1/timeseries/{locationId}/?resolution=30s</serverUrl>
        <user>$MULTIFLEX<user>dummy_METER_USER$<user</user>
        <password>$MULTIFLEX<password>dummy_METER_PASSWORD$<password</password>
        <relativeViewPeriod unit="hour" start="-24" end="0" startOverrulable="true"/>
        <idMapId>IdImportMultiFlex</idMapId>
   		<missingValue>65535.0</missingValue>
        <dataFeedId>Multiflex Meter</dataFeedId>
    </general>
    <timeSeriesSet>
        <moduleInstanceId>ImportMultiflexMeter</moduleInstanceId>
        <valueType>scalar</valueType>
        <parameterId>T.obs</parameterId>
		<locationSetId>MultiflexMeterLocations</locationSetId>
        <timeSeriesType>external historical</timeSeriesType>
        <timeStep unit="nonequidistant"></timeStep>
        <readWriteMode>add originals</readWriteMode>
    </timeSeriesSet>
</import>

</timeSeriesImportRun>


...

Code Block
xml
xml
{
  "count": 2,
  "points": [
  {
  "time": "2019-09-18T12:14:30Z",
  "mean_value": 58
  },
  {
  "time": "2019-09-18T12:15:00Z",
  "mean_value": 37
  }
  ]
}

...