<?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" => 314 ));$response = $client->__call("Info_Order",$params);?> INPUT: [data] => Array ( [ssid] => 29ae201e12b466c7347a29 [order] => �314 ) OUTPUT: [status] => ok [data] => Array ( [order] => Array ( [id] => 314 [domain] => motyli.org [type] => UnLock_Domain [status] => Completed [message] => [payed] => 1 [amount] => 0.00 ) )
<?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" => 314 ));$response = $client->__call("Info_Order",$params);?>