PHP 5 GetRegistrantVerificationStatus

Get a short info about the verification status. The customers email is passed in the "value" field. Please click here for more information about the process: Registrant Verification process.

Response GetRegistrantVerificationStatus(string $sessionId,string $value)

Response codes

ResultCodeMessageValue
200OK
401Authorization failed
404Object not found

GetRegistrantVerificationStatus request

PropertyDescription
sessionIdExample: o58t9fjgw9bjarp6q7byv13e
valuePlease provide an e-mail address here
Example: "administrator@ascio-test-domain.com"

GetRegistrantVerificationStatusResponse

Property
GetRegistrantVerificationStatusResult
verificationStatus

PHP 5 example

<?php
$wsdl = "https://aws.demo.ascio.com/2012/01/01/AscioService.wsdl";
//$wsdl = "https://aws.ascio.com/2012/01/01/AscioService.wsdl";
$client = new SoapClient($wsdl,array( "trace" => 1 ));

//GetRegistrantVerificationStatus

$getRegistrantVerificationStatus= array(
	"sessionId" => env.getSessionId(),
	"value" => $config->getEmail()
);
try{	
    $result = $client->getRegistrantVerificationStatus($getRegistrantVerificationStatus);
    echo "ResultCode : ".$result->GetRegistrantVerificationStatusResult->ResultCode."\r\n";
    echo "ResultMessage : ".$result->GetRegistrantVerificationStatusResult->Message."\r\n";
    if($result->GetRegistrantVerificationStatusResult->Values) {
        foreach($result->GetRegistrantVerificationStatusResult->Values as $key => $value) {
            echo $value->string."\r\n";
        }
    }
} catch(Exception $e) {
	echo $e->getMessage(); 
}

WSDL for AWS v2
https://aws.demo.ascio.com/2012/01/01/AscioService.wsdl (OTE)
https://aws.ascio.com/2012/01/01/AscioService.wsdl (Live)