Set watcher using SOAP

Moderator: crythias

Locked
Atavius
Znuny newbie
Posts: 24
Joined: 10 Oct 2013, 10:49
Znuny Version: 3.3.7

Set watcher using SOAP

Post by Atavius »

Hello,
we are generating tickets utilizing soap and we would like automatically set watcher for certain type of tickets on designated agents. I looked
around and found this reference in API manual:
TicketWatchSubscribe()

to subscribe a ticket to watch it

my $Success = $TicketObject->TicketWatchSubscribe(
TicketID => 111,
WatchUserID => 123,
UserID => 123,
);

I understand how this works, but I cant figure out how to call this through soap. Is something like this possible?
root
Administrator
Posts: 4253
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Set watcher using SOAP

Post by root »

I don't know if this work with the GenericInterface out of the box, but you can use the xml-rpc interface (rpc.pl)
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
Locked