NAME
Kernel::GenericInterface::Operation::CustomerUser::CustomerUserGet – GenericInterface Customer User Get Operation backend
Run()
Perform CustomerUserGet Operation. This function is able to return one or more customer user 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
CustomerUser => [ 'user11', 'user99', ... ], # required; CustomerUsers to be retrieved
},
);
$Result = {
Success => 1, # 0 or 1
ErrorMessage => '', # in case of error
Data => {
CustomerUser => [
{
UserLogin => 'user11',
UserFirstname => 'SomeFirstame',
UserLastname => 'SomeLastname'
UserEmail => 'user11@mail.com'
# ..
},
{
UserLogin => 'user99',
# ..
},
# ..
],
},
};