Hello Vtiger Developers,<div><br></div><div>I do have an issue with vtwsclib and was wondering if anyone has been able to create a potential with it. </div><div><br></div><div>The code I am trying does not work</div><div><br>
</div><div><div>$module = &#39;Potentials&#39;;</div><div>$record = $client-&gt;doCreate($module, Array(</div><div>             &#39;potentialname&#39;=&gt;&#39;test&#39;,</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>     &#39;closingdate&#39;=&gt;&#39;&#39;,</div>
<div>             &#39;related_to&#39;=&gt;&#39;&#39;,</div><div>             &#39;sales_stage&#39;=&gt;&#39;&#39;,</div><div>             &#39;assigned_user_id&#39;=&gt;&#39;1&#39;</div><div>         ));</div><div><span class="Apple-tab-span" style="white-space:pre">                </span> </div>
<div>if($record) {</div><div>$recordid = $client-&gt;getRecordId($record[&#39;id&#39;]);</div><div>echo $recordid;</div><div>}</div><div><br></div><div>If anyone has a working example of what array should I send I would greatly appreciate it!</div>
<br><div class="gmail_quote">On Wed, Aug 1, 2012 at 3:08 AM, ram prasad <span dir="ltr">&lt;<a href="mailto:ramtrg@gmail.com" target="_blank">ramtrg@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<div><br></div><div>    I want to Sync my local Sqlite database(mobile) with Vtiger Server Database. I know, i want to use Webservices for this task.So Now using javascript &quot;vtwsclib-1.4&quot; library and login,other things works fine. I have seen <a href="https://wiki.vtiger.com/index.php/Mobile_API#mobile.fetchallalerts" target="_blank">Mobile API </a>. Which one i want to use Mobile API or normal Werbservices tutorial.  </div>

<div><br></div><div>       In 
<a href="https://wiki.vtiger.com/index.php/Mobile_API#mobile.fetchallalerts" target="_blank">Mobile API</a> simply starts with mobile.fetchrecord. What are the initial steps to use this Mobile API.Please provide any sample Application with mobile API for sync.Please provide any document for Mobile webservices except 
<a href="https://wiki.vtiger.com/index.php/Mobile_API#mobile.fetchallalerts" target="_blank">Mobile API</a> .<span class="HOEnZb"><font color="#888888"><br>-- <br><font face="comic sans ms,sans-serif"><span style="color:rgb(153,0,0)">BY</span><br>
<br><span style="color:rgb(0,102,0)">R.RAMPRASAD</span></font><br>
<br>
</font></span></div>
<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Best Regards,<br><br>Petar Dimov<br><br><br>
</div>