<?php$client = new SoapClient( null, array( "location" => "https://PRODUCTION/cmd.php", "uri" => "http://PRODUCTION/soap" ) );$params = array ( "data" => array ( "login" => "demo", "password" => "password", ));$response = $client->__call("Login",$params);$token = $response["data"]["ssid"];unset($params);$params = array ( "data" => array ( "ssid" => $token, "domain" => "domain.or.af", ));$response = $client->__call("Check_Domain",$params);?> INPUT: [data] => Array ( [ssid] => 29ae201e12b466c7347a29 [domain] => somedomain.menu ) OUTPUT: [status] => ok [data] => Array ( [name] => domain.or.af [avail] => 1 [price] => Array ( [amount] => 816.44 [premium] => 0 [currency] => CZK ) [price_renew] => Array ( [amount] => 816.44 [premium] => 0 [currency] => CZK ) [price_transfer] => Array ( [amount] => 0 [premium] => 0 [currency] => CZK ) [existing_claim_id] => 20132020/z/u/qvKxNIaSK3ASD )
<?php$client = new SoapClient( null, array( "location" => "https://PRODUCTION/cmd.php", "uri" => "http://PRODUCTION/soap" ) );$params = array ( "data" => array ( "login" => "demo", "password" => "password", ));$response = $client->__call("Login",$params);$token = $response["data"]["ssid"];unset($params);$params = array ( "data" => array ( "ssid" => $token, "domain" => "domain.or.af", ));$response = $client->__call("Check_Domain",$params);?>