Kernel::GenericInterface::Invoker::Test::TestSimple - GenericInterface test Invoker backend
usually, you want to create an instance of this by using Kernel::GenericInterface::Invoker->new();
prepare the invocation of the configured remote web service. This will just return the data that was passed to the function.
my $Result = $InvokerObject->PrepareRequest( Data => { # data payload ... }, ); $Result = { Success => 1, # 0 or 1 ErrorMessage => '', # in case of error Data => { # data payload after Invoker ... }, };
handle response data of the configured remote web service. This will just return the data that was passed to the function.
my $Result = $InvokerObject->HandleResponse( ResponseSuccess => 1, # success status of the remote web service ResponseErrorMessage => '', # in case of web service error Data => { # data payload ... }, ); $Result = { Success => 1, # 0 or 1 ErrorMessage => '', # in case of error Data => { # data payload after Invoker ... }, };
This software is part of the OTRS project (https://otrs.org/).
This software comes with ABSOLUTELY NO WARRANTY. For details, see the enclosed file COPYING for license information (GPL). If you did not receive this file, see https://www.gnu.org/licenses/gpl-3.0.txt.