Kernel::GenericInterface::Operation::Ticket::TicketHistoryGet

NAME

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

PUBLIC INTERFACE

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 AccessToken is required
            AccessToken          => 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  => [
                        # ...
                    ],
                },
            ],
        },
    };
Scroll to Top