<?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"];$params = array ( 'data' => array ( 'ssid' => $token, 'id' => 6473, ),);$response = $client->__call("Download_Document",$params); INPUT: Array ( [data] => Array ( [ssid] => 51aca4e95c12821b56a9045babc943e7 [id] => 6473 ) ) OUTPUT: Array ( [status] => ok [data] => Array ( [id] => 6473 [name] => example.sk.pdf [type] => sk_transfer_request [filetype] => application/pdf [account] => demo [document] => JVBERi0xLj...QKJeLjz9MK ) )
<?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"];$params = array ( 'data' => array ( 'ssid' => $token, 'id' => 6473, ),);$response = $client->__call("Download_Document",$params);