Export Data to CSV
This example shows how to fetch data from Pricefx and export it to a CSV file.
<filter id="pxCarsFilter">
<and>
<criterion fieldName="name" operator="equals" value="Cars"/>
</and>
</filter>
.....
<route>
<from uri="timer://fetchData?repeatCount=1"/>
<to uri="pfx-api:fetch?filter=pxCarsFilter&objectType=PX"/>
<to uri="pfx-csv:marshal"/>
<to uri="file:test?fileName=data1.csv&fileExist=Append"/>
</route>
IntegrationManager version 5.8.0