API Commands
[All Commands]

Command: Info_Object



command Info_Object

Info about NIC object (only CZ,EE)

Input Parameters ($data):

string ssid Token from Login
string object contact, nsset, keyset (only CZ, EE)
string id ID for info

Output Responses:

string status ok | error
array data Details about your request
 
string id Object ID
array contact Info about contact
array nsset Info about NSSET
array keyset Info about KeySET

Sample:


<?
$client 
= new SoapClient(
        
null
        array(
            
"location" => "https://PRODUCTION/robot.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,
            
"object" => "contact",
            
"id" => "domena",
    )
);

$response $client->__call("Info_Object",$params);

?>
INPUT: [data] => Array ( [ssid] => 29ae201e12b466c7347a29 [object] =>  contact [id] => domena ) OUTPUT: [status] => ok [data] => Array ( [id] => domena [avail] =>  1 )

API Manual - version from 2017-11-21 10:46:44