<?php$client = new SoapClient( null, array( "location" => "https://PRODUCTION/soap/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, "order" => array ( "domain" => "domain.or.af", "type" => "PremiumTransfer_Domain", "params" => array ( "authid" => urlencode("erasdasdasd") ) ) ));$response = $client->__call("Make_Order",$params);?> INPUT: [data] => Array ( [ssid] => 51aca4e95c12821b56a9045babc943e7 [order] => Array ( [type] => PremiumTransfer_Domain [domain] => domain.or.af [params] => Array ( [authid] => erasdasdasd ) ) ) OUTPUT: [status] => ok [data] => Array ( [orderid] => 24 )
<?php$client = new SoapClient( null, array( "location" => "https://PRODUCTION/soap/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, "order" => array ( "domain" => "domain.or.af", "type" => "PremiumTransfer_Domain", "params" => array ( "authid" => urlencode("erasdasdasd") ) ) ));$response = $client->__call("Make_Order",$params);?>