Need Webservices for Creating Customers and creating Services

Hi Team, I am using standalone OTRS 3.1.7 I found webservices to create, get, update, search tickets and create Session. In similar fashion I want webservices for 1. Create,Read, Update customers 2. Create read update services 3. Add services to customer and delete services from customer Thanks In Advance, Jignesh

Hi Jignesh,
On Wed, Feb 6, 2013 at 9:07 AM, Jignesh Kakka (jkakka)
I found webservices to create, get, update, search tickets and create Session.
In similar fashion I want webservices for 1. Create,Read, Update customers 2. Create read update services 3. Add services to customer and delete services from customer
These are not available in OTRS. You can create them yourself, if you need them (and would be of course encouraged to share them with the community!). Alternately you can also use the 'old' XML/RPC based interface which allows for 1 and with very little extension would allow for 2 and 3 but it is more low-level than the Generic Interface you looked at. And of course, if you want we can assist you on a commercial basis if needed. Michiel Beijen Senior Consultant OTRS BV Schipholweg 103 2316 XC Leiden The Netherlands T: +31 71 8200 255 F: +31 71 8200 254 I: http://www.otrs.com OTRS 3.2 - More than a Help Desk System – Process and Customer Management – Be an early bird with our special offer - http://j.mp/11TFPSr

Hi Michiel Beijen,
Thanks for your answers,
I am not much familiar to perl, so it make take much efforts for me to create modules for 1,2 and 3.
How can I utilize the Old XML/RPC for these. Can you provide few pointers/examples to these to create Customer via RPC.
Again to clarify, the OTRS standalone application would be deployed on one system and Our application wants to communicate to OTRS via SOAP/REST/RPC whatever method is possible.
Thanks,
Jignesh
-----Original Message-----
From: dev-bounces@otrs.org [mailto:dev-bounces@otrs.org] On Behalf Of Michiel Beijen
Sent: Wednesday, February 06, 2013 2:03 PM
To: Development community of OTRS
Subject: Re: [dev] Need Webservices for Creating Customers and creating Services
Hi Jignesh,
On Wed, Feb 6, 2013 at 9:07 AM, Jignesh Kakka (jkakka)
I found webservices to create, get, update, search tickets and create Session.
In similar fashion I want webservices for 1. Create,Read, Update customers 2. Create read update services 3. Add services to customer and delete services from customer
These are not available in OTRS. You can create them yourself, if you need them (and would be of course encouraged to share them with the community!). Alternately you can also use the 'old' XML/RPC based interface which allows for 1 and with very little extension would allow for 2 and 3 but it is more low-level than the Generic Interface you looked at. And of course, if you want we can assist you on a commercial basis if needed. Michiel Beijen Senior Consultant OTRS BV Schipholweg 103 2316 XC Leiden The Netherlands T: +31 71 8200 255 F: +31 71 8200 254 I: http://www.otrs.com OTRS 3.2 - More than a Help Desk System – Process and Customer Management – Be an early bird with our special offer - http://j.mp/11TFPSr _______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Hi Jignesh,
On Wed, Feb 6, 2013 at 9:43 AM, Jignesh Kakka (jkakka)
How can I utilize the Old XML/RPC for these. Can you provide few pointers/examples to these to create Customer via RPC. Again to clarify, the OTRS standalone application would be deployed on one system and Our application wants to communicate to OTRS via SOAP/REST/RPC whatever method is possible.
What language are you looking at for using? XML/RPC is relatively easy to use from languages such as PHP or Perl, it is a bit inconvenient from Java or .Net. The WSDL which is available for the Generic Interface web services is much more convenient to use from these languages. -- Michiel

Hi Michiel,
I found wsdl for generic interface, but it provides operations only for Tickets.
I need something for customers and services.
Thanks,
Jignesh
-----Original Message-----
From: dev-bounces@otrs.org [mailto:dev-bounces@otrs.org] On Behalf Of Michiel Beijen
Sent: Wednesday, February 06, 2013 2:30 PM
To: Development community of OTRS
Subject: Re: [dev] Need Webservices for Creating Customers and creating Services
Hi Jignesh,
On Wed, Feb 6, 2013 at 9:43 AM, Jignesh Kakka (jkakka)
How can I utilize the Old XML/RPC for these. Can you provide few pointers/examples to these to create Customer via RPC. Again to clarify, the OTRS standalone application would be deployed on one system and Our application wants to communicate to OTRS via SOAP/REST/RPC whatever method is possible.
What language are you looking at for using? XML/RPC is relatively easy to use from languages such as PHP or Perl, it is a bit inconvenient from Java or .Net. The WSDL which is available for the Generic Interface web services is much more convenient to use from these languages. -- Michiel _______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Hi,
On Wed, Feb 6, 2013 at 3:47 PM, Jignesh Kakka (jkakka)
I found wsdl for generic interface, but it provides operations only for Tickets. I need something for customers and services.
I wrote you earlier in this very same thread: "These are not available in OTRS. You can create them yourself, if you need them (and would be of course encouraged to share them with the community!). Alternately you can also use the 'old' XML/RPC based interface which allows for 1 and with very little extension would allow for 2 and 3 but it is more low-level than the Generic Interface you looked at." Michiel Beijen Senior Consultant OTRS BV Schipholweg 103 2316 XC Leiden The Netherlands T: +31 71 8200 255 I: http://www.otrs.com OTRS 3.2 - More than a Help Desk System – Process and Customer Management – Be an early bird with our special offer - http://j.mp/11TFPSr

Hi Michiel,
Again Few Questions
1. How can I configure a SOAP call for creating services, Even if I have to write WSDL file, I need to know sample SOAP xml or some data for creating services or customers, that can be referred to create WSDL.
2. If we get sample for RPC also for creating services and customers ,then that might solve the issue.
Thanks,
Jignesh
-----Original Message-----
From: dev-bounces@otrs.org [mailto:dev-bounces@otrs.org] On Behalf Of Michiel Beijen
Sent: Wednesday, February 06, 2013 10:09 PM
To: Development community of OTRS
Subject: Re: [dev] Need Webservices for Creating Customers and creating Services
Hi,
On Wed, Feb 6, 2013 at 3:47 PM, Jignesh Kakka (jkakka)
I found wsdl for generic interface, but it provides operations only for Tickets. I need something for customers and services.
I wrote you earlier in this very same thread: "These are not available in OTRS. You can create them yourself, if you need them (and would be of course encouraged to share them with the community!). Alternately you can also use the 'old' XML/RPC based interface which allows for 1 and with very little extension would allow for 2 and 3 but it is more low-level than the Generic Interface you looked at." Michiel Beijen Senior Consultant OTRS BV Schipholweg 103 2316 XC Leiden The Netherlands T: +31 71 8200 255 I: http://www.otrs.com OTRS 3.2 - More than a Help Desk System – Process and Customer Management – Be an early bird with our special offer - http://j.mp/11TFPSr _______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

1. How can I configure a SOAP call for creating services, Even if I have to write WSDL file, I need to know sample SOAP xml or some data for creating services or customers, that can be referred to create WSDL.
Since you are creating the code -- it does not exist -- you get to define it.

Op 6 feb. 2013 21:03 schreef "Jignesh Kakka (jkakka)"
Again Few Questions 1. How can I configure a SOAP call for creating services, Even if I have
to write WSDL file, I need to know sample SOAP xml or some data for creating services or customers, that can be referred to create WSDL.
2. If we get sample for RPC also for creating services and customers ,then that might solve the issue.
You also asked this question before, on which I replied which language you are using to make the soap calls from. -- Mike

Hi Mike,
We are using Java.
Thanks,
Jignesh
From: dev-bounces@otrs.org [mailto:dev-bounces@otrs.org] On Behalf Of Michiel Beijen
Sent: Thursday, February 07, 2013 2:57 AM
To: Development community of OTRS. org
Subject: Re: [dev] Need Webservices for Creating Customers and creating Services
Op 6 feb. 2013 21:03 schreef "Jignesh Kakka (jkakka)"
Again Few Questions 1. How can I configure a SOAP call for creating services, Even if I have to write WSDL file, I need to know sample SOAP xml or some data for creating services or customers, that can be referred to create WSDL. 2. If we get sample for RPC also for creating services and customers ,then that might solve the issue.
You also asked this question before, on which I replied which language you are using to make the soap calls from. -- Mike

See this page:
http://gregor.tudan.de/2010/04/accessing-otrs-soap-from-javagroovy/
and this code:
https://github.com/gtudan/OTRS-Client
The code above only is about creating tickets. The RPC.pl interface
exposes the pretty low-level internal API of OTRS, the Generic
Interface supports more polished and higher level operations.
Since the rpc.pl interface uses this internal API, you can also use
our API docs for reference: http://dev.otrs.org/
for example guidance. Please note they talk about the difficulty of
talking to XML/RPC from Java; as I said, this is fixed in recent OTRS
3.1 and up since the introduction of the Generic Interface, although
it does not (yet) provide operations for customers and services. That
said, it would not be very difficult to add, the groundwork of the
Generic Interface has already been done.
HTH,
--
Mike
On Thu, Feb 7, 2013 at 7:19 AM, Jignesh Kakka (jkakka)
Hi Mike,
We are using Java.
Thanks,
Jignesh
From: dev-bounces@otrs.org [mailto:dev-bounces@otrs.org] On Behalf Of Michiel Beijen Sent: Thursday, February 07, 2013 2:57 AM To: Development community of OTRS. org
Subject: Re: [dev] Need Webservices for Creating Customers and creating Services
Op 6 feb. 2013 21:03 schreef "Jignesh Kakka (jkakka)"
het volgende: Again Few Questions 1. How can I configure a SOAP call for creating services, Even if I have to write WSDL file, I need to know sample SOAP xml or some data for creating services or customers, that can be referred to create WSDL. 2. If we get sample for RPC also for creating services and customers ,then that might solve the issue.
You also asked this question before, on which I replied which language you are using to make the soap calls from. -- Mike
_______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Thanks Mike for your guidance,
I checked the links, and the use Java and somewhat Groovy.
Meanwhile I was trying to leverage the already available Generic Interface and was writing custom modules for Generic Interfaces.
I found some success there and am still working on it. If it works properly, then I will share the details.
But if these things don't work, then I may try to follow the approach mentioned in the links that you provided.
Regards,
Jignesh
-----Original Message-----
From: dev-bounces@otrs.org [mailto:dev-bounces@otrs.org] On Behalf Of Michiel Beijen
Sent: Sunday, February 10, 2013 3:17 PM
To: Development community of OTRS
Subject: Re: [dev] Need Webservices for Creating Customers and creating Services
See this page:
http://gregor.tudan.de/2010/04/accessing-otrs-soap-from-javagroovy/
and this code:
https://github.com/gtudan/OTRS-Client
The code above only is about creating tickets. The RPC.pl interface exposes the pretty low-level internal API of OTRS, the Generic Interface supports more polished and higher level operations.
Since the rpc.pl interface uses this internal API, you can also use our API docs for reference: http://dev.otrs.org/
for example guidance. Please note they talk about the difficulty of talking to XML/RPC from Java; as I said, this is fixed in recent OTRS
3.1 and up since the introduction of the Generic Interface, although it does not (yet) provide operations for customers and services. That said, it would not be very difficult to add, the groundwork of the Generic Interface has already been done.
HTH,
--
Mike
On Thu, Feb 7, 2013 at 7:19 AM, Jignesh Kakka (jkakka)
Hi Mike,
We are using Java.
Thanks,
Jignesh
From: dev-bounces@otrs.org [mailto:dev-bounces@otrs.org] On Behalf Of Michiel Beijen Sent: Thursday, February 07, 2013 2:57 AM To: Development community of OTRS. org
Subject: Re: [dev] Need Webservices for Creating Customers and creating Services
Op 6 feb. 2013 21:03 schreef "Jignesh Kakka (jkakka)"
het volgende: Again Few Questions 1. How can I configure a SOAP call for creating services, Even if I have to write WSDL file, I need to know sample SOAP xml or some data for creating services or customers, that can be referred to create WSDL. 2. If we get sample for RPC also for creating services and customers ,then that might solve the issue.
You also asked this question before, on which I replied which language you are using to make the soap calls from. -- Mike
_______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Sounds great; and good luck with your project!
--
Mike
On Sun, Feb 10, 2013 at 7:01 PM, Jignesh Kakka (jkakka)
Thanks Mike for your guidance,
I checked the links, and the use Java and somewhat Groovy. Meanwhile I was trying to leverage the already available Generic Interface and was writing custom modules for Generic Interfaces. I found some success there and am still working on it. If it works properly, then I will share the details. But if these things don't work, then I may try to follow the approach mentioned in the links that you provided.
Regards, Jignesh -----Original Message----- From: dev-bounces@otrs.org [mailto:dev-bounces@otrs.org] On Behalf Of Michiel Beijen Sent: Sunday, February 10, 2013 3:17 PM To: Development community of OTRS Subject: Re: [dev] Need Webservices for Creating Customers and creating Services
See this page: http://gregor.tudan.de/2010/04/accessing-otrs-soap-from-javagroovy/ and this code: https://github.com/gtudan/OTRS-Client
The code above only is about creating tickets. The RPC.pl interface exposes the pretty low-level internal API of OTRS, the Generic Interface supports more polished and higher level operations. Since the rpc.pl interface uses this internal API, you can also use our API docs for reference: http://dev.otrs.org/
for example guidance. Please note they talk about the difficulty of talking to XML/RPC from Java; as I said, this is fixed in recent OTRS 3.1 and up since the introduction of the Generic Interface, although it does not (yet) provide operations for customers and services. That said, it would not be very difficult to add, the groundwork of the Generic Interface has already been done.
HTH, -- Mike
On Thu, Feb 7, 2013 at 7:19 AM, Jignesh Kakka (jkakka)
wrote: Hi Mike,
We are using Java.
Thanks,
Jignesh
From: dev-bounces@otrs.org [mailto:dev-bounces@otrs.org] On Behalf Of Michiel Beijen Sent: Thursday, February 07, 2013 2:57 AM To: Development community of OTRS. org
Subject: Re: [dev] Need Webservices for Creating Customers and creating Services
Op 6 feb. 2013 21:03 schreef "Jignesh Kakka (jkakka)"
het volgende: Again Few Questions 1. How can I configure a SOAP call for creating services, Even if I have to write WSDL file, I need to know sample SOAP xml or some data for creating services or customers, that can be referred to create WSDL. 2. If we get sample for RPC also for creating services and customers ,then that might solve the issue.
You also asked this question before, on which I replied which language you are using to make the soap calls from. -- Mike
_______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev _______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
participants (4)
-
David Boyes
-
Jignesh Kakka (jkakka)
-
Michiel Beijen
-
Michiel Beijen