...
Code Block | ||||
---|---|---|---|---|
| ||||
<timeSeriesExportRun 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/timeSeriesExportRun.xsd">
<export>
<general>
<exportType>BRO_GLD_Addition_Server</exportType>
<serverUrl>https://www.bronhouderportaal-bro.nl</serverUrl>
<connectionTimeOutMillis>300000</connectionTimeOutMillis>
<user>$BRO_USER$</user>
<password>$BRO_TOKEN$</password>
<idMapId>IdExportBRO</idMapId>
</general>
<properties>
<string key="chamberOfCommerceNumber" value="$KVK_NUMMER$"/>
<string key="projectId" value="$BRO_PROJECTID$"/>
<string key="qualityRegime" value="IMBRO/A"/>
<bool key="skipBroValidation" value="true"/>
<bool key="splitFiles" value="true"/>
</properties>
<timeSeriesSet>
<moduleInstanceId>Productie</moduleInstanceId>
<valueType>scalar</valueType>
<parameterId>STIJGHTE</parameterId>
<locationSetId>Export_BRO</locationSetId>
<timeSeriesType>external historical</timeSeriesType>
<timeStep unit="nonequidistant"/>
<relativeViewPeriod unit="day" start="-10" end="0" startOverrulable="true" endOverrulable="false"/>
<readWriteMode>read only</readWriteMode>
</timeSeriesSet>
</export>
</timeSeriesExportRun> |
Acquire a BRO
...
Authenication token
Since 01/03/2024, version 2 of the BRO REST API is available. Acquiring a authenication token has slightly changed and is explained below.
To get a BRO Aanlever token, login authentication token, follow the following steps (an explanation on what the role of tokens is and how to create them is also provided on BRO Wiki)
- Login to the BRO portal (Demo or Production environment)
...
- with your personal (organizational) credentials;
- Navigate to the top menu item "Organization" (NL: Mijn organisatie);
- Navigate to the tab "Options" (NL: Opties);
- Select "Authentication Token";
- Create a token here;
- The token is shown only once;
In the configuration example above you should:
- fill in the "token username" (from the light blue bar above) in the <user> element
- fill in the "token" (from the black bar above) in the <password> element
You can reset (or remove and create) your token here. Be aware that you have to change the configuration files which contain the BRO token!!!