beonup.png

InBox AgentProductivity - API

Version 6.1.1

Creation date 2019-07-29

Installation

bin/otrs.Console.pl Admin::Package::Install /path/to/InBox\ AgentProductivity-6.1.1.opm

API

Create the AgentProductivity object.

my $AgentProductivityObject = $Kernel::OM->Get('Kernel::System::AgentProductivity');

CountArticles()

Function that returns the number of articles created by the attendant from a date.

my $CountArticles = $AgentProductivityObject->CountArticles(
   UserID     => $UserID,
   CreateTime => '2019-01-01 00:00:01',
   Queues => ['1','1']

);

CountTimerAccounted()

Function that provides the sum of the hours appointed by the attendant from a date.

my $CountArticles = $AgentProductivityObject->CountTimerAccounted(
   UserID          => $UserID,
   CreateTime      => '2019-01-01 00:00:01',
   Queues => ['1','1']

);

CountSolvedTickets()

Function that provides the number of calls resolved from a date.

my $CountTickets = $AgentProductivityObject->CountSolvedTickets(
   UserID          => $UserID,
   StartCreateTime => '2019-01-01 00:00:01'
   EndCreateTime   => '2019-01-02 00:00:01', # default
   Queues => ['1','1']

);