X4 Produktdokumentation

Operation: Clear-Dataset

The operation Clear-Dataset deletes all contents from one data record.

Input

The adapter does not expect any input.

Output

The adapter generates a XML document as output:

XML
<?xml version="1.0" encoding="UTF-8"?>
<output>
   <response>
      <num_added>0</num_added>
      <num_deleted>28</num_deleted>
      <num_skipped>0</num_skipped>
      <num_updated>0</num_updated>
   </response>
</output>

The following elements can be contained in the output:

Element

Description

Output

Enclosing element for the operation Syn-Documents

response

Enclosing element for the contents of the XML document

num_added

Number of data sets added to a document. Not relevant for the operation Clear-Dataset.

num_deleted

Number of deleted data sets of a document.

num_skipped

Number of skipped data sets of a document. Irrelevant for the operation Clear-Dataset.

num_updated

Number of updated data sets of a document. Irrelevant for the operation Clear-Dataset.