pfx-api:delete
Deletes objects.
Properties
Option | Type | Default | Description |
---|---|---|---|
| string |  | Defines the target – header/property/body. |
| 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 |
| 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 the pricing parameter ID. |
| 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 |  | Optional parameter which specifies if the DISTINCT clause should be added to the search. Use together with |
| 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 ID. |
| string | Â | Defines |
| string |  | Defines |
| string |  | Defines |
| string | Â | Defines the name of a filter used by the fetch or delete commands. |
| Boolean | false | Sets whether the processing should be asynchronous. Currently this is supported only for the delete command. |
| integer | 30000 | Sets a timeout for asynchronous evaluation (in milliseconds). |
| integer | 10000 | For asynchronous evaluation, sets how often job status will be checked (in milliseconds). |
| string | Â | Defines a custom filter expression. It allows for more advanced filtering, for example |
Examples
<route id="$routeName-load-data">
<from uri="direct:$routeName-load-data"/>
<to uri="pfx-api:delete?objectType=${objectType}&connection=$connectionName&sql=select typedId where name='$dsUniqueName'#end"/>
</route>
<route>
<from uri="direct:start"/>
<to uri="pfx-api:delete?objectType=PX&filter=myFilter&async=true&asyncTimeout=1000&asyncRetry=200"/>
<to uri="mock:end"/>
</route>
Â
IntegrationManager version 5.8.0