Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I'm trying to create a simple job where I just want to call the POST-method of a REST-service.
Input for a tRESTClient is body of type Document. But it's not clear on how I can set this. I need to send the following info to the endpoint :
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://example.com/matching">
<soapenv:Body>
<ns:match>
<action>
<index>
<caseType>job</caseType>
<indexId>default</indexId>
</index>
<properties>
<fromHits>0</fromHits>
<maxHits>10</maxHits>
</properties>
<conditions>
<ns:matchAllCondition>
<occur>SHOULD</occur>
<weight>1</weight>
</ns:matchAllCondition>
</conditions>
</action>
</ns:match>
</soapenv:Body>
</soapenv:Envelope>
It responds with XML so how this needs to be parsed afterwards seems also to be very complex.
There is not much documentation on how this needs to be done. So if anyone has a simple sample job which is covering the same scenario this would be great.
Hello,
Kind regards
Denis