i am trying to make a call to an external webservice using the Generic Interface. But for this, i must activate an invoker. otrs has two example invokers (test.pm and testsimple.pm), but these are incomplete examples because in their codes instead of data, there are three points, making it hard to figure out how data should be indicated.
Code: Select all
=item PrepareRequest()
prepare the invocation of the configured remote webservice.
my $Result = $InvokerObject->PrepareRequest(
Data => { # data payload
...
},
);
$Result = {
Success => 1, # 0 or 1
ErrorMessage => '', # in case of error
Data => { # data payload after Invoker
...
},
};
thank you