Search found 5 matches

by macjohnny
15 Aug 2016, 06:48
Forum: Howtos
Topic: Using the OTRS API via PHP/SOAP (Generic Interface)
Replies: 14
Views: 109409

Re: Using the OTRS API via PHP/SOAP (Generic Interface)

hey to update a ticket, you need to $URL = 'https://my.url.com/otrs/nph-genericinterface.pl'; $namespace = 'https://my.url.com/otrs/GenericInterface/actions'; // initialize a SoapClient instance $SOAPClientInstance = new \SoapClient(null, array( 'location'=> $URL, 'uri' => $namespace, 'trace' => 1, ...
by macjohnny
12 Aug 2016, 12:50
Forum: Howtos
Topic: Using the OTRS API via PHP/SOAP (Generic Interface)
Replies: 14
Views: 109409

Re: Using the OTRS API via PHP/SOAP (Generic Interface)

you need to use the URL for the generic interface, i.e.

http//my.url.com/otrs/nph-genericinterface.pl
by macjohnny
11 Aug 2016, 10:42
Forum: Howtos
Topic: Using the OTRS API via PHP/SOAP (Generic Interface)
Replies: 14
Views: 109409

Re: Using the OTRS API via PHP/SOAP (Generic Interface)

Can you please explain how this code works? I am trying to update owner of the ticket using soap api via php. and i am stuck in this. can you help me? first, you need to initialize a soapclient, so you do $SOAPClientInstance = new \SoapClient(null, array( 'location'=> $URL.'/Webservice/'.$Webservic...
by macjohnny
01 May 2014, 21:00
Forum: Howtos
Topic: Using the OTRS API via PHP/SOAP (Generic Interface)
Replies: 14
Views: 109409

Using the OTRS API via PHP/SOAP (Generic Interface)

Hi everybody I recently developed a connector script for using the OTRS API Generic Interface with PHP/SOAP. Feel free to use any of the code below for your own project. You will have to create a WebService in OTRS. Once You have set it up, you can use PHP SOAP functions. <?php namespace ClusterNetC...