Fetch Price Parameter Values

Fetch Price Parameter Values


This example shows how to fetch data from a Price Parameter with the name ExchangeRate. You can also define pricingParameterId but keep in mind that the pricingParameterId values are different on each Pricefx partition. A filter is optional. If you want to fetch all data, you do not need to define a filter.

XML
<filter id="ppvExchangeRate">
    <and/>
</filter>

<route>
    <from uri="timer://fetchData?repeatCount=1"/>
    <to uri="pfx-api:fetch?filter=ppvExchangeRate&amp;objectType=LTV&amp;pricingParameterName=ExchangeRate&amp;batchedMode=true&amp;batchSize=5000"/>
    <split>
        <simple>${body}</simple>
        <to uri="pfx-api:fetchIterator"/>
        <log message="${body}"/>
    </split>
</route>