Verified Commit fbb4fd44 authored by Giovannoni Laurent's avatar Giovannoni Laurent
Browse files

sample for 20.03

parent e8069fc0
<?xml version="1.0" encoding="UTF-8"?>
<MaarchWSClient>
<!-- REST FRONTAL -->
<WS name="MaarchRestWS" type="REST" uri="http://superadmin:superadmin@127.0.0.1/rest/" SSL="false" cacheUse="0" />
<WS name="MaarchRestWS" type="REST" uri="http://cchaplin:maarch@127.0.0.1/rest/" SSL="false" cacheUse="0" />
<!-- DEVELOP SAMPLES -->
<process name="MaarchRestWSProcessFromScan_Develop">
<process name="MaarchRestWSProcessFromScan">
<loop xpath="/Batch/Documents/Document">
<call name="/resources" method="POST">
<argument type="entity" name="modelId">1</argument>
<argument type="entity" name="encodedFile" eval="base64_encode(file_get_contents($Element-&gt;path))"/>
<argument type="entity" name="doctype">108</argument>
<argument type="entity" name="destination">13</argument>
<argument type="entity" name="destination">10</argument>
<argument type="entity" name="priority">poiuytre1391nbvc</argument>
<!-- <argument type="entity" name="destination" eval="explode('_', $Element-&gt;filename)&#91;0&#93;"/> -->
<argument type="entity" name="format" attribute="extension"/>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment