pfx-api:fetchRebateAgreementItemList

 

Properties

Option

Type

Default

Description

Option

Type

Default

Description

outputTarget

string

 

Defines output target for data in the exchange. It can be stored in the header, property or body.

outputTargetName

string

 

Defines output target name for the target type header and property. Put here the name of exchange header and name of exchange property.

connection

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

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&amp;output=JSON"/> <setBody> <groovy>body.response.data</groovy> </setBody> <to uri="mock:end"/> </route>

IntegrationManager version 5.8.0