pfx-api:fetchRebateAgreementItemList
Â
Properties
Option | Type | Default | Description |
---|---|---|---|
| string | Â | Defines output target for data in the exchange. It can be stored in the header, property or body. |
| string | Â | Defines output target name for the target type header and property. Put here the name of exchange header and name of exchange property. |
| string | Â | Defines connection to Pricefx. This is an optional parameter and if it is not mentioned, the connection is taken from the Spring bean named pricefx. |
| output | Â | Possible values: JSON, EXCEL, CSV, PDF, JSON_DETAIL, PDF_DETAIL, EXCEL_DETAIL |
This method takes the exchange body as input object.
Examples
<route>
<from uri="direct:start"/>
<setBody>
<constant>
{
"data": {
"rebateAgreement": {
"typedId": "127.RBA"
}
}
}
</constant>
</setBody>
<toD uri="pfx-api:fetchRebateAgreementItemList?connection=pricefx&output=JSON"/>
<setBody>
<groovy>body.response.data</groovy>
</setBody>
<to uri="mock:end"/>
</route>
IntegrationManager version 5.8.0