Kernel::GenericInterface::Operation::FAQ::PublicCategoryList

NAME

Kernel::GenericInterface::Operation::FAQ::PublicCategoryList – GenericInterface FAQ PublicCategoryList Operation backend

PUBLIC INTERFACE

Run()

perform PublicCategoryList Operation. This will return the current FAQ Categories.

    my $Result = $OperationObject->Run(
        Data => {},
    );

    $Result = {
        Success      => 1,                                # 0 or 1
        ErrorMessage => '',                               # In case of an error
        Data         => {                                 # result data payload after Operation
            Category => [
                {
                    ID => 1,
                    Name> 'Misc',
                },
                {
                    ID => 2,
                    Name> 'OneMoreCategory',
                },
                # ...
            ],
        },
    };
Scroll to Top