I try to create a CustomerCompany via SOAP::Lite but I got an error from OTRS:
"No such Object CustomerCompanyObject!"
I want to create a new CustomerCompany, not to update or find.
Here you can find my code:
Code: Select all
my $CustomerCompanyId = $RPC_otrs->Dispatch(
$user_otrs, $pass_otrs, 'CustomerCompanyObject', 'CustomerCompanyAdd',
CustomerID => 'TEST_123',
CustomerCompanyName => 'New Customer Company Inc.',
CustomerCompanyStreet => '5201 Blue Lagoon Drive',
CustomerCompanyZIP => '33126',
CustomerCompanyCity => 'Miami',
CustomerCompanyCountry => 'USA',
CustomerCompanyComment => 'some comment',
ValidID => 1,
UserID => 1,
);
print "CustomerId:$CustomerCompanyId";
Version OTRS 3.0
I'm able to create tickets and customerusers via SOAP::Lite