Web services - PHP - tickets search.

Moderator: crythias

Locked
andy17d
Znuny newbie
Posts: 78
Joined: 30 Jan 2014, 15:27
Znuny Version: 4.0.19
Location: Poland
Contact:

Web services - PHP - tickets search.

Post by andy17d »

I can show list of all queues from my OTRS system.

Code: Select all

$queues = $client->__soapCall("Dispatch", array($username, $password, "QueueObject", "GetAllQueues"
Now I would to do list (raport) of tickets from one particular queue.
Which request must be submitted to otrs server?
OTRS 4.0.19/6.0.26, openSUSE 12, MySQL 5.5

KodIT Usługi Informatyczne - Odzyskiwanie danych Poznań - Serwis Komputerowy
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Web services - PHP - tickets search.

Post by jojo »

please use the new TicketConnector and not the old SOAP interface. The new connector supports the method TicketSearch
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
andy17d
Znuny newbie
Posts: 78
Joined: 30 Jan 2014, 15:27
Znuny Version: 4.0.19
Location: Poland
Contact:

Re: Web services - PHP - tickets search.

Post by andy17d »

Can you give an example or manual?
OTRS 4.0.19/6.0.26, openSUSE 12, MySQL 5.5

KodIT Usługi Informatyczne - Odzyskiwanie danych Poznań - Serwis Komputerowy
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Web services - PHP - tickets search.

Post by jojo »

"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
andy17d
Znuny newbie
Posts: 78
Joined: 30 Jan 2014, 15:27
Znuny Version: 4.0.19
Location: Poland
Contact:

Re: Web services - PHP - tickets search.

Post by andy17d »

I've downloaded file yml from GenericTicketConnectorSOAP.yml and imported it into my OTRS.
Next I've tried code from http://wiki.otterhub.org/index.php?titl ... _Interface
but it doesn't work :(

There is any information about error in the OTRS System log.

Do I have to do something else in the system beyond importing services by yml file?
OTRS 4.0.19/6.0.26, openSUSE 12, MySQL 5.5

KodIT Usługi Informatyczne - Odzyskiwanie danych Poznań - Serwis Komputerowy
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Web services - PHP - tickets search.

Post by jojo »

"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Locked