Recherche de document

Afin de rechercher des documents, le service DocumentWSService expose une opération search.

POST /core/services/document

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:doc="http://flower.com/docs/ws/api/document" 
xmlns:sear="http://flower.com/docs/domain/search"
xmlns:flower="flower" >
   <soapenv:Header>
  <flower:token>{{token}}</flower:token>
   </soapenv:Header>
   <soapenv:Body>
      <doc:searchRequest>
          <doc:search>
        	<sear:filterClauses xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="sear:AndClause">
        		<sear:criteria>
		          <sear:name>name</sear:name>
		          <sear:operator>CONTAINS</sear:operator>
		          <sear:type>STRING</sear:type>
		          <sear:values>facture</sear:values>
		       </sear:criteria>
        	</sear:filterClauses>
            <sear:start>0</sear:start>
            <sear:max>10</sear:max>
         </doc:search>
      </doc:searchRequest>
   </soapenv:Body>
</soapenv:Envelope>