API Commands
[All Commands]

Command: Info_Domain



command Info_Domain_CZ

Get informations about a single .CZ domain

Input Parameters ($data):

string ssid Token from Login
string domain Domain name for requested informations

Output Responses:

string status ok | error
array data Details about your request
 
string domain Domain name
array contacts Contacts (admin,tech,bill) associated with domain name
string subregid Contact ID from Subreg Database
string registryid Contact ID directly from Registry
array hosts Nameservers
string registrant Domain name owner
string crDate Date of domain creation
string trDate Date of domain last transfer
string upDate Date of domain last update
string exDate Date of domain expiration
array status Domain status (ok,clientTransferProhibited,etc..)

Sample:


<?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,
            
"domain" => "domena.or.af",
    )
);

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

?>
INPUT: [data] => Array ( [ssid] => 123abcd [domain] => testovacidomena.biz ) OUTPUT: [status] => ok [data] => Array ( [domain] => testovacidomena.biz [contacts] => Array ( [admin] => Array ( [0] => Array ( [registryid] => P-JLT23 [subregid] => G-000040 ) ) [tech] => Array ( [0] => Array ( [registryid] => P-PLN115 [subregid] => G-000009 ) ) [billing] => Array ( [0] => Array ( [registryid] => P-PLN115 [subregid] => G-000009 ) ) ) [registrant] => Array ( [registryid] => P-PBN125 [subregid] => G-000007 ) [exDate] => 2012-01-06 [crDate] => 2011-01-06 [trDate] => [upDate] => 2011-01-06 [status] => Array ( [0] => ok ) ) OUTPUT (with error): [status] => error [data] => Array ( [errormsg] => This domain is not yours! [errorcode] => 1002 )

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