Search found 28 matches

by szn0007
04 Sep 2016, 20:18
Forum: Help
Topic: manage agents permission from custom portal using soap api
Replies: 5
Views: 2496

Re: manage agents permission from custom portal using soap api

skullz wrote:if you are using Generic Interface, then yes..
the user of GI is based on the Agent<->Group permission..
Can you give me some documentation for that...
by szn0007
03 Sep 2016, 15:48
Forum: Help
Topic: manage agents permission from custom portal using soap api
Replies: 5
Views: 2496

manage agents permission from custom portal using soap api

Is there way to manage permissions of otrs users from custom portal using soap api? Or Create OTRS users using soap api??
by szn0007
24 Aug 2016, 08:53
Forum: Help
Topic: New ticket create doesnot send autoreply to customers.
Replies: 0
Views: 1194

New ticket create doesnot send autoreply to customers.

I am using php soap api to create OTRS tickets . Tickets gets created but autoreply is not going to the customers. here is my code. $url = "https://otrs.com.np/otrs/rpc.pl"; // URL for OTRS server $username = "ctdeveloper"; // SOAP username set in sysconfig $password = "ctde...
by szn0007
21 Aug 2016, 06:34
Forum: Help
Topic: Create a note(article) without creating a ticket.
Replies: 1
Views: 1121

Create a note(article) without creating a ticket.

Can anyone tell me how to create an article with soap api. In the documentation, i saw ArticleCreate() function which requires ArticleCreate event.
by szn0007
19 Aug 2016, 11:07
Forum: Howtos
Topic: Using the OTRS API via PHP/SOAP (Generic Interface)
Replies: 14
Views: 109107

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

A big thanks to @macjohnny who has been a big help. Without whom my problem would not have been solved. Here is my final code for updating owners or updating tickets in general. $URL = 'https://your-url.com/otrs/nph-genericinterface.pl/Webservice/WebserviceName'; //webserviceName is the name of webs...
by szn0007
16 Aug 2016, 08:40
Forum: Howtos
Topic: Using the OTRS API via PHP/SOAP (Generic Interface)
Replies: 14
Views: 109107

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 szn0007
15 Aug 2016, 12:34
Forum: Howtos
Topic: Using the OTRS API via PHP/SOAP (Generic Interface)
Replies: 14
Views: 109107

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

i got following error. Fatal error: Uncaught SoapFault exception: [HTTP] Error Fetching http headers in /Applications/XAMPP/xamppfiles/htdocs/portal/application/modules/otrs/controllers/otrs.php:472 Stack trace: #0 [internal function]: SoapClient->__doRequest('<?xml version="...', 'https://otrs...
by szn0007
15 Aug 2016, 12:30
Forum: Howtos
Topic: Using the OTRS API via PHP/SOAP (Generic Interface)
Replies: 14
Views: 109107

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

jojo wrote:You'll find an example (in Perl) here: https://github.com/OTRS/otrs/tree/maste ... ebservices

Can you write this in PHP. I dont know perl
by szn0007
14 Aug 2016, 07:36
Forum: Howtos
Topic: Using the OTRS API via PHP/SOAP (Generic Interface)
Replies: 14
Views: 109107

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

Please find the attatchments. I have attached the screenshot of webservice that i created. and here is my code. i am getting errors Fatal error: Uncaught SoapFault exception: . What am i doing wrong. i need to update the tickets. If possibe can u provide me complete ticket update code in php via soa...
by szn0007
14 Aug 2016, 07:11
Forum: Help
Topic: Owner Update and Ticket Update
Replies: 5
Views: 2296

Re: Owner Update and Ticket Update

I updated my otrs to version 5. How to use connectors? any suggestions
by szn0007
12 Aug 2016, 08:07
Forum: Howtos
Topic: Using the OTRS API via PHP/SOAP (Generic Interface)
Replies: 14
Views: 109107

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

I am weak in object oriented methods so its hard for me to understand your code.
by szn0007
12 Aug 2016, 08:06
Forum: Howtos
Topic: Using the OTRS API via PHP/SOAP (Generic Interface)
Replies: 14
Views: 109107

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

Till now i have tried this $url = "https://my.url.com/otrs/rpc.pl"; // URL for OTRS server $username = "ctdeveloper"; // SOAP username set in sysconfig $password = "ctdeveloper"; // SOAP password set in sysconfig ### Form Fields $new_owner =$_POST['new_owner']; $subject...
by szn0007
12 Aug 2016, 07:31
Forum: Help
Topic: Owner Update and Ticket Update
Replies: 5
Views: 2296

Re: Owner Update and Ticket Update

@jojo if i upgrade the otrs system. will my php code work same as in otrs 3.1.12.
by szn0007
11 Aug 2016, 08:29
Forum: Help
Topic: Owner Update and Ticket Update
Replies: 5
Views: 2296

Re: Owner Update and Ticket Update

I am using Otrs 3.1.12 .
by szn0007
11 Aug 2016, 07:50
Forum: Howtos
Topic: Using the OTRS API via PHP/SOAP (Generic Interface)
Replies: 14
Views: 109107

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?
by szn0007
11 Aug 2016, 06:25
Forum: Help
Topic: Owner Update and Ticket Update
Replies: 5
Views: 2296

Owner Update and Ticket Update

How can i update ticket and owner of the ticket using soap api in PHP. Any help will be much appreciated.
by szn0007
05 Aug 2016, 06:59
Forum: Help
Topic: Create Ticket Using Soap Api PHP
Replies: 0
Views: 2723

Create Ticket Using Soap Api PHP

I have done the hard part. I am stuck in one problem i.e Auto Reply of the Ticket to the customer. Ticket Generates fine but auto reply is not going to the customer. I am using OTRS 3.1.12. Here is my code. if(isset($_POST['submit'])) { $url = "https://otrs.classic.com.np/otrs/rpc.pl"; // ...
by szn0007
03 Aug 2016, 11:36
Forum: Help
Topic: JavaScript Api
Replies: 1
Views: 982

JavaScript Api

I dont know much about JavaScript. Can anyone tell me how this function is used in ticketzoom https://otrs.github.io/doc/api/otrs/6.0 ... ml#line180 .
by szn0007
02 Aug 2016, 06:58
Forum: Help
Topic: Manage Queue permission in custom OTRS portal
Replies: 1
Views: 1013

Manage Queue permission in custom OTRS portal

I have made a custom OTRS system in my website. I am able to display all the new tickets. However, I am not able to show tickets according to their queue permission. I am using PHP script using soap api. How can i link permissions or lets say check permissions in my custom website that are defined i...
by szn0007
29 Jul 2016, 13:34
Forum: Help
Topic: Display new tickets using soap api in PHP script
Replies: 11
Views: 3653

Re: Display new tickets using soap api in PHP script

Is there any custom query to display recent tickets?
by szn0007
29 Jul 2016, 13:28
Forum: Help
Topic: Display new tickets using soap api in PHP script
Replies: 11
Views: 3653

Re: Display new tickets using soap api in PHP script

If i update to version 5 . How can i achieve this??
by szn0007
29 Jul 2016, 12:18
Forum: Help
Topic: Display new tickets using soap api in PHP script
Replies: 11
Views: 3653

Re: Display new tickets using soap api in PHP script

My OTRS Version is 3.1.12. My url is https://otrs.classic.com.np/otrs/rpc.pl . I am really stuck.
by szn0007
29 Jul 2016, 06:57
Forum: Help
Topic: Display new tickets using soap api in PHP script
Replies: 11
Views: 3653

Re: Display new tickets using soap api in PHP script

@jojo I used TicketSearch first then foreach ticket i used TicketGet to get all the ticket data. But i want to show the New ticket or Open Ticket list just like in dashboard of OTRS.
by szn0007
20 Jul 2016, 08:00
Forum: Help
Topic: Display new tickets using soap api in PHP script
Replies: 11
Views: 3653

Re: Display new tickets using soap api in PHP script

@jojo I tried but i am not getting the tickets. i want to display all the new ticket list. Can you please provide me some more help.
by szn0007
20 Jul 2016, 07:33
Forum: Help
Topic: Display new tickets using soap api in PHP script
Replies: 11
Views: 3653

Re: Display new tickets using soap api in PHP script

@jojo ok thank you. I will try
by szn0007
14 Jul 2016, 06:43
Forum: Help
Topic: Display new tickets using soap api in PHP script
Replies: 11
Views: 3653

Display new tickets using soap api in PHP script

Can anyone tell me how to display all the new tickets similar to otrs dashboard using soap api in php? I tried calling TicketGet() function, but it returns only one ticket result.
by szn0007
10 Jul 2016, 09:04
Forum: Help
Topic: Create OTRS ticket in custom website
Replies: 1
Views: 1086

Create OTRS ticket in custom website

I have made a custom ticket creating form in my website. And i want to store the ticket information in the OTRS database using soap api. Can anyone give me suggestion on how can i achieve this?