NAME
Kernel::System::DataValidation::Validator::WebService::ID – Validator that verifies a given ID
.
PUBLIC INTERFACE
Provides a Check
method, that will be called by the Kernel::System::DataValidation backend.
Example()
Returns an example of a possible value to be verified.
Check()
Lookups the given ID
in the database. For more information about the web service backend, please refer to Kernel::System::GenericInterface::Webservice.
my $True = $Validator->Check(
Value => 1,
);
my $False = $Validator->Check(
Value => '$WrongWebServiceID',
);