Hi,<div><br></div><div>    I have used Webservice Login,Session id using VTSLIB with javascript.  Now i want to use Mobile API. Shall i want to Login mobile webservice again? or can i use same sessionID.</div><div><br></div>
<div>  <b>Also please provide <font color="#990000">sample Request URL to access Mobile API</font>.</b></div><div><b><br></b></div><div><b><br></b></div><div><b>   I have tried like below:</b></div><div><b><br></b></div><div>
<b>   this.doQuerym = function(callback) {</b></div><div><b><span class="Apple-tab-span" style="white-space:pre">                </span>this.__checkLogin();</b></div><div><b>var reqtype = &#39;GET&#39;;</b></div><div><b><span class="Apple-tab-span" style="white-space:pre">                </span>/*var getdata = {</b></div>
<div><b><span class="Apple-tab-span" style="white-space:pre">                        </span>&#39;operation&#39;    : &#39;query&#39;,</b></div><div><b><span class="Apple-tab-span" style="white-space:pre">                        </span>&#39;sessionName&#39;  : this._sessionid,</b></div>
<div><b><span class="Apple-tab-span" style="white-space:pre">                        </span>&#39;query&#39;        : query</b></div><div><b><span class="Apple-tab-span" style="white-space:pre">                </span>};*/</b></div><div><b><span class="Apple-tab-span" style="white-space:pre">                </span>jQuery.ajax({</b></div>
<div><b><span class="Apple-tab-span" style="white-space:pre">                        </span>url : this._mobileurl,</b></div><div><b><span class="Apple-tab-span" style="white-space:pre">                        </span>type: reqtype,</b></div><div><b><span class="Apple-tab-span" style="white-space:pre">                        </span>//data: getdata,</b></div>
<div><b><span class="Apple-tab-span" style="white-space:pre">                        </span>// Pass reference to the client to use it inside callback function.</b></div><div><b><span class="Apple-tab-span" style="white-space:pre">                        </span>_wsclient : this, </b></div>
<div><b><span class="Apple-tab-span" style="white-space:pre">                        </span>complete : function(res, status) {</b></div><div><b><span class="Apple-tab-span" style="white-space:pre">                                </span>var usethis = this._wsclient;</b></div>
<div><b><span class="Apple-tab-span" style="white-space:pre">                                </span>var resobj = usethis.toJSON(res.responseText);</b></div><div><b><span class="Apple-tab-span" style="white-space:pre">                                </span>var result = false;</b></div>
<div><b><span class="Apple-tab-span" style="white-space:pre">                                </span>if(usethis.hasError(resobj) == false) {</b></div><div><b><span class="Apple-tab-span" style="white-space:pre">                                        </span>result = resobj[&#39;result&#39;];</b></div>
<div><b><span class="Apple-tab-span" style="white-space:pre">                                </span>}</b></div><div><b><span class="Apple-tab-span" style="white-space:pre">                                </span>usethis.__performCallback(callback, result);</b></div><div><b><span class="Apple-tab-span" style="white-space:pre">                        </span>}</b></div>
<div><b><span class="Apple-tab-span" style="white-space:pre">                </span>});</b></div><div><b><span class="Apple-tab-span" style="white-space:pre">        </span>};</b></div><div><div><br><div class="gmail_quote">On Thu, Aug 2, 2012 at 9:14 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">Prasad,<div><br></div><div>     Thank You..Already I know this document <a href="https://wiki.vtiger.com/index.php/Mobile_API" target="_blank">Mobile API</a>. But this document provides information for Vtiger Advanced developers, not for Beginners. </div>

<div><br></div><div>  In <a href="https://wiki.vtiger.com/index.php/Webservices_tutorials" target="_blank">Webservice </a>tutorial, I read initial step to call <span style="background-color:rgb(249,249,249);font-family:monospace,&#39;Courier New&#39;;font-size:13px;line-height:1.3em"><b><a href="http://vtiger_url/webservice.php.Same" target="_blank">http://vtiger_url/webservice.php.Same</a> way what url i want to call to use this Mobile API. is it documented in this </b></span>
<a href="https://wiki.vtiger.com/index.php/Mobile_API" target="_blank">Mobile API</a>  document?</div><div><br></div><div>   Also i am not a Vtiger User, so i dont need Vtiger Mobile Application. I want to use this Mobile API for my Own Mobile Application.<br>

<br><div class="gmail_quote"><div><div class="h5">On Thu, Aug 2, 2012 at 2:13 AM, Prasad <span dir="ltr">&lt;<a href="mailto:prasad@vtiger.com" target="_blank">prasad@vtiger.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5">
Ram,<div><br></div><div>Mobile API&#39;s are documented here: <a href="https://wiki.vtiger.com/index.php/Mobile_API" target="_blank">https://wiki.vtiger.com/index.php/Mobile_API</a><br><div><br></div><div>You can use vtiger CRM mobile apps which targeted for mobile devices and provides the functionality of synchronization and CRUD.</div>



<div><br></div><div>Find more details at <a href="https://www.vtiger.com/crm/mobile-apps/" target="_blank">https://www.vtiger.com/crm/mobile-apps/</a></div><div><br></div><div>Regards,</div><div>Prasad<br>
<br><br><div class="gmail_quote"><div><div>On Wed, Aug 1, 2012 at 1:38 PM, ram prasad <span dir="ltr">&lt;<a href="mailto:ramtrg@gmail.com" target="_blank">ramtrg@gmail.com</a>&gt;</span> wrote:<br></div></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>

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><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></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div></div>
<br></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><span class="HOEnZb"><font color="#888888"><br></font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div>
<br></div>-- <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>
</blockquote></div><br><br clear="all"><div><br></div>-- <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);background-color:rgb(255,255,255)">R.RAMPRASAD</span></font><br>
<br>
</div></div>