TimeAccountingWebservice#
NAME#
Kernel::System::TimeAccountingWebservice - TimeAccountingWebservice lib
PUBLIC INTERFACE#
new()#
Don't use the constructor directly, use the ObjectManager instead:
my $TimeAccountingWebserviceObject = $Kernel::OM->Get('Kernel::System::TimeAccountingWebservice');
TimeAccountingSearch()#
Searches for time accounting entries and returns a specific result based on title, number, queue, created and time units.
my @TimeAccountingEntries = $TimeAccountingWebserviceObject->TimeAccountingSearch(
Start => '2017-01-01 10:00:00',
End => '2018-01-01 10:00:00',
UserID => 123,
);
Returns:
my @TimeAccountingEntries = (
{
TicketNumber => '...',
TicketTitle => '...',
Queue => '...',
TimeUnit => '...',
Created => '...',
},
);