<?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, ));$response = $client->__call("Special_Pricelist",$params);?> INPUT: [data] => Array ( [ssid] => 29ae201e12b466c7347a29 ) OUTPUT: [status] => ok [data] => Array ( [0] => Array ( [tld] => eu [currency] => EUR [dateto] => 2018-12-01 [prices] => Array ( [register] => 63.8 [renew] => 63.8 ) ) [1] => Array ( [tld] => club [currency] => EUR [dateto] => 2018-12-01 [prices] => Array ( [register] => 10.8 ) ) )
<?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, ));$response = $client->__call("Special_Pricelist",$params);?>