[Vtigercrm-developers] Howto create a Custom WebService

Musavir Khan musavir at vtiger.com
Thu Nov 12 00:55:19 PST 2009


Hi David,

i would recommend using the api's defined in the
include/Webservices/Utils.php file for the same.

Thanks,
MAK

On Thu, Nov 12, 2009 at 3:07 AM, David V. <davidv.net at gmail.com> wrote:

> Prasad,
>
> Thank you very much for this information.
>
> Actually I figured out how to do it myself yesterday.
>
> I was writing a little howto showing how to easily  add a new custom
> webservice.
>
> I'll post it here ASAP.
>
> Thanks again :-)
>
> David V.
>
>
> 2009/11/11 Prasad <prasad at vtiger.com>
>
> Hi David,
>>
>> You will need to first add the entry points for the custom webservice API
>> in:
>>
>>    - vtiger_ws_operation - API name and handler file path (similar to
>>    Module Event Handlers)
>>    - vtiger_ws_operation_parameters - Parameter information for the API
>>
>> Hope this was helpful.
>>
>> Regards,
>> Prasad
>> vtiger Team
>>
>> On 11/10/09, David V. <davidv.net at gmail.com> wrote:
>>
>>> Hi !,
>>>
>>> I'm trying to use the new WebServices interface in Vtiger to retreive
>>> PDFData from specific invoices and display it using another website in
>>> Joomla.
>>>
>>> So I decided to make a new webservice to achieve this.
>>>
>>> I want to be able to contribute this new webservice back to the community
>>> so I want to do it respecting the actual Vtiger's standards.
>>>
>>> I already know how to get the pdf data from the target module.
>>> I know how to encode this data and decode it on the "other side" (the
>>> joomla website).
>>>
>>> I also know how to invoke a custom webservice method that is exposed by
>>> REST interface ( vtwsclib-1.4pdf page 14)
>>>
>>> Now my question :
>>>
>>> How do I create a custom webservice and make it available in the REST
>>> interface ?
>>>
>>> Thank you.
>>>
>>> David V.
>>>
>>> _______________________________________________
>>> Reach hundreds of potential candidates - http://jobs.vtiger.com
>>>
>>
>>
>> _______________________________________________
>> Reach hundreds of potential candidates - http://jobs.vtiger.com
>>
>
>
> _______________________________________________
> Reach hundreds of potential candidates - http://jobs.vtiger.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20091112/27c2c4ed/attachment-0003.html 


More information about the vtigercrm-developers mailing list