pfx-api:fetchFcs
Returns a list of Data Feed, Data Source, Datamart definitions based on FilterCriteria
in the request body; fcType
specifies a Type Code (e.g. DMF, DMDS, DM...) or a typedId
of the object.
Properties
Option | Type | Default | Description |
---|---|---|---|
| string | Â | Defines an output target name for the target type header and property. Put here the names of the exchange header and exchange property. |
| string |  | Defines the output target – header/property. |
| string | Â | Defines |
| string | Â | Specifies one or more fields (strings separated by a comma) to be returned. Only these fields are fetched by the server from the database, so it generally gives a better performance. The result object is sent as a list of fields (instead of a Map; compare with If omitted, all fields are returned. |
| string |  | Optional parameter which can be used instead of the The FROM clause has to be omitted – it has no meaning in the filter API. |
| string |  | Defines connection to Pricefx. This is an optional parameter and if it is omitted, the connection is taken from the Spring bean named pricefx. |
| string | Â | Defines the sorting. It overrides |
| Boolean | false | Defines if during fetch null fields should be returned via REST API back to a client. |
| string | Â | Specifies one or more fields (strings separated by a comma) to be returned (but the server still fetches all the fields from the database). The result object is sent as a Map (compare with If omitted, all fields are returned. |
| string | Â | Defines the pricing parameter name for lookup table values. |
| integer | Â | Defines a start row for the fetch command. |
| integer | Â | Defines an end row for the fetch command. |
| string | Â | Defines |
| string | Â | Defines the name of a filter used by the fetch or delete commands. |
Examples
<route>
<from uri="direct:start"/>
<setHeader name="sortByHeader">
<groovy>'headerSortField1,headerSortField2'</groovy>
</setHeader>
<setHeader name="sortByHeaderSingleValue">
<groovy>'headerSortFieldSingleValue'</groovy>
</setHeader>
<toD uri="pfx-api:fetchFcs?typedId=1234''' + uriSuffix + '''"/>
<to uri="mock:end"/>
</route>
IntegrationManager version 5.8.0