Kernel::System::GenericInterface::WebserviceHistory
WebserviceHistory configuration history backend. It holds older versions of web service configuration data.
create a debug log object. Do not use it directly, instead use:
my $WebserviceHistoryObject = $Kernel::OM->Get('Kernel::System::GenericInterface::WebserviceHistory');
add new WebserviceHistory entry
my $ID = $WebserviceHistoryObject->WebserviceHistoryAdd( WebserviceID => 2134, Config => { ... }, UserID => 123, );
get WebserviceHistory attributes
my $WebserviceHistory = $WebserviceHistoryObject->WebserviceHistoryGet( ID => 123, );
Returns:
$WebserviceHistory = { Config => $ConfigRef, WebserviceID => 123, CreateTime => '2011-02-08 15:08:00', ChangeTime => '2011-02-08 15:08:00', };
update WebserviceHistory attributes
my $Success = $WebserviceHistoryObject->WebserviceHistoryUpdate( ID => 123, WebserviceID => 123 Config => $ConfigHashRef, UserID => 123, );
delete WebserviceHistory
my $Success = $WebserviceHistoryObject->WebserviceHistoryDelete( WebserviceID => 123, UserID => 123, );
get WebserviceHistory list for a GenericInterface web service
my @List = $WebserviceHistoryObject->WebserviceHistoryList( WebserviceID => 1243, );
This software is part of the OTRS project (https://otrs.org/).
This software comes with ABSOLUTELY NO WARRANTY. For details, see the enclosed file COPYING for license information (GPL). If you did not receive this file, see https://www.gnu.org/licenses/gpl-3.0.txt.