is it possible in the GenericInterface Web Service to work not only with tickets, but, for example, with clients? When I try to add Operations in addition to Ticket::, Session:: ConfigItem:: nothing else. But I would like to find customer by phone number and get customer data.
Is it possible to make GenericInterface features such as in rpc.pl (this option does not suit, because otrs soap returns random keys s-gensym*)
Code: Select all
my $RPC = new SOAP::Lite( proxy => 'http://otrs/otrs/rpc.pl', uri => 'http://otrs/Core' );
#
my %CustomerData = (
Search => $phone,
);
my $CustomerID = $RPC->Dispatch($soap_user,$soap_pass,'CustomerUserObject','CustomerSearch', %CustomerData)->result;
#
my %CustomerUserData = (
User => $CustomerID,
);
my $Customer = $RPC->Dispatch($soap_user,$soap_pass,'CustomerUserObject','CustomerUserDataGet', %CustomerUserData)->body;