TicketHistoryGet

TicketHistoryGet#

NAME#

Kernel::GenericInterface::Operation::Ticket::TicketHistoryGet - GenericInterface Ticket History Get Operation backend

PUBLIC INTERFACE#

new()#

usually, you want to create an instance of this by using Kernel::GenericInterface::Operation->new();

Run()#

perform TicketHistoryGet Operation. This function is able to return one or more ticket entries in one call.

my $Result = $OperationObject->Run(
    Data => {
        UserLogin            => 'some agent login',                            # UserLogin or SessionID is required
        SessionID            => 123,
        Password             => 'some password',                               # if UserLogin is sent then Password is required
        TicketID             => '32,33',                                       # required, could be coma separated IDs or an Array
    },
);

$Result = {
    Success      => 1,                                # 0 or 1
    ErrorMessage => '',                               # In case of an error
    Data         => {
        TicketHistory => [
            {
                TicketID => 123,
                History  => [
                    # ...
                ],
            },
        ],
    },
};