CSV search

Returns a flat list of Projektionen defined in the search as CSV.
The configuration is equivalent to the Tupel-Suche.


Example result as XML

Suchergebnis
<?xml version="1.0" encoding="UTF-8"?>
<core:DataServiceSearchResult ...>
<core:CsvSearchResult maxResults="100" count="2">
<result>ShipmentId,workingState,uceName1,uceName2,cnrName1,cnrName2
1,NEW,Kümmerlich,Wolfgang,Schuster,Josefine
51,ACCEPTED,Mustermann,Max,Sonnenschein,Paula
</result>
</core:CsvSearchResult>
</core:DataServiceSearchResult>

The columns in the search result are defined as Field projections (1) in the search example. The first row contains the names of the projections.

images/download/attachments/62859697/image2018-5-15_13_54_24-version-1-modificationdate-1607346492847-api-v2.png

In connection with the SearchCronTask, the option skipCsvEnvelope="true" can be activated in the search task.

Only the CSV data is then transferred to the profile so that it can be processed directly in mapping. In a CSV search, only Projections on simple data types should be used, because all data must be converted into text. Therefore, the Tuple search always returns a more precise and complex result than the CSV search.