<div dir="ltr"><div><div>Hello Alan<br><br></div>Thanks a lot<br><br></div>As I am using the webservices outside vtiger I have expanded WSclient.php in vtwsclib with a doRevise function<br><br>        /**<br> * Do Revise Operation<br> */<br>    function doRevise($module, $valuemap) {<br>        // Perform re-login if required.<br>        $this->__checkLogin();<br>        <br>        $postdata = Array(<br>            'operation'   => 'revise',<br>            'sessionName' => $this->_sessionid,<br>            'elementType' => $module,<br>            'element' => $this->toJSONString($valuemap)<br>        );<br>        $resultdata = $this->_client->doPost($postdata, true);<br>        if($this->hasError($resultdata)) {<br>            return false;<br>        }<br>        return $resultdata[result]; // Return Revised Record<br>    }<br><div class="gmail_extra"><br><br></div><div class="gmail_extra">I owe you some beers Alan <br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">Christophe Humbert<br><br><br></div></div>
<br><div class="gmail_quote">On Fri, Jun 19, 2015 at 6:01 PM, Alan Lord <span dir="ltr"><<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 19/06/15 16:35, Christophe Humbert wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello Alan<br>
<br>
Does revise update all fields or only fields you pass as parameters<br>
</blockquote>
<br></span>
with vtws_revise you only need to pass the values you want to change. You do not need to pass the whole object (or at least all the mandatory fields) as you do with vtws_update.<br>
<br>
Al<br>
<br>
<br>
<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br></div></div>