Ascio Web Service v2

Class AvailabilityCheck

PropertyDescription
sessionIdExample: o58t9fjgw9bjarp6q7byv13e
domainsExample: "test"
tlds
qualityExample: "SmartLive"
<?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, "soap_version" => SOAP_1_1));

//AvailabilityCheck

$availabilityCheck =  [
	"sessionId" => env.getSessionId(),
	"domains" => [
	],
	"tlds" => [
	],
	"quality" => "Fast"
];
try{	
    $result = $client->availabilityCheck($availabilityCheck);
    echo "ResultCode : ".$result->AvailabilityCheckResult->ResultCode."\r\n";
    echo "ResultMessage : ".$result->AvailabilityCheckResult->ResultMessage."\r\n";
    if(is_array($result->AvailabilityCheckResult->Errors->string)) {
        echo "Errors:\r\n";
        foreach($result->AvailabilityCheckResult->Errors->string as $key => $value) {
            echo " - " . $value."\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)
Please configure the IP-Whitelisting in the portal/demo-portal.