i would like to Set the Pending Time on a ticket with PHP.
I tried this:
Code: Select all
$ticketPendingTime = $client->_soapCall("Dispatch",array($SOAP_user, $SOAP_pass, "TicketObject", "TicketPendingTimeSet",
"Diff", ( 1 * 24 * 60 ),
"TicketID", $ticketid,
"UserID", $bearbeiter,
));
Code: Select all
Failed to access class (Core): Can't locate Core.pm in @INC (you may need to install the Core module) (@INC contains: /usr/Custom /usr/Kernel/cpan-lib /usr /opt/otrs_is/Custom /opt/otrs_is/Kernel/cpan-lib /opt/otrs_is/ /etc/perl /usr/local/lib/perl/5.18..2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl . /etc/apache2) at (eval 2124) line 2
Code: Select all
$ticketstate = $client->__soapCall("Dispatch", array($SOAP_user, $SOAP_pass, "TicketObject", "TicketStateSet",
"StateID", $status,
"TicketID", $ticketid,
"UserID", $bearbeiter
));
I hope you can help me
