NAME
Kernel::GenericInterface::Operation::Link::LinkList – GenericInterface LinkList Operation backend
PUBLIC INTERFACE
Run()
perform LinkList Operation. This function is able to return one or more possible link types 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
Object => 'Ticket', # required
Key => '321', # required
Object2 => 'FAQ', # optional
State => 'Valid', # required
Type => 'ParentChild', # optional
Direction => 'Target', # optional
},
);
$Result = {
Success => 1, # 0 or 1
ErrorMessage => '', # In case of an error
Data => {
LinkList => [
{
Object => 'Ticket',
Type => 'Normal',
Direction => 'Source',
Key => '12',
},
...
],
},
};