API Commands
[All Commands]

Get_TLD_Info



Command Get_TLD_Info


Return TLD params.

Input Parameters ($params):

string ssid Token from Login. (required)
string tld TLD (required)

Output data:

string status ok | error
array data Array of parameters of TLD.

Sample:


<?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' => 'e7878d09ace148e663ad9e558a02f6a6',
    
'tld' => 'bike',
  ),
);

$response $client->__call("Get_TLD_Info",$params);
INPUT: Array ( [data] => Array ( [ssid] => 51aca4e95c12821b56a9045babc943e7 [tld] => bike ) ) OUTPUT: Array ( [status] => ok [data] => Array ( [periodsCreate] => Array ( [0] => 1 [1] => 2 [2] => 3 ) [periodsRenew] => Array ( [0] => 1 [1] => 2 [2] => 3 ) [transfer] => 1 [trade] => 0 [idn] => 0 [trustee] => 0 [ns] => hosts [contacts] => Array ( [0] => Array ( [type] => admin [cnt] => 1 ) [1] => Array ( [type] => billing [cnt] => 1 ) [2] => Array ( [type] => tech [cnt] => 1 ) ) [statuses] => Array ( [0] => clientDeleteProhibited [1] => clientHold [2] => clientRenewProhibited [3] => clientTransferProhibited [4] => clientUpdateProhibited ) [params] => Array ( [0] => Array ( [param] => lang_info [name] => Jazyk IDN [desc] => Jazyk IDN [required] => 0 [options] => Array ( [0] => Array ( [value] => arab [name] => Arabic ) [1] => Array ( [value] => cyrl [name] => Cyrillic ) ) ) [1] => Array ( [param] => whoisproxy [name] => Whois proxy service [desc] => Whois proxy service [required] => 0 ) [2] => Array ( [param] => internal_dnssec [name] => Automatic DNSSEC settings [desc] => Whether to use internal DNSSEC settings [required] => 0 ) ) ) )

API Manual - version from 2023-05-12 12:15:50