API Commands
[All Commands]

Command: Info_WorldHosting



command Info_WorldHosting

Get informations about your active WorldHosting

Input Parameters ($data):

string ssid Token from Login
string domain hosted domain name

Output Responses:

string status ok | error
array data Details about your request
 
string domain hosted domain name
string locality physical location of the servers
string expire expiration date
int period last order period in months
string ipv4 IP address of the server
string ipdomain server domain name - reverse lookup
string fullcountry server's country name
string country server's country code

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' => $token,
    
'domain' => 'domain.or.af',
  ),
);

$response $client->__call("Info_WorldHosting",$params);
INPUT: Array ( [data] => Array ( [ssid] => 51aca4e95c12821b56a9045babc943e7 [domain] => domain.or.af ) ) OUTPUT: Array ( [status] => ok [data] => Array ( [domain] => domain.or.af [locality] => za1 [expire] => 2018-12-14 [period] => 12 [ipv4] => 160.119.253.61 [ipdomain] => 160.119.253.61 [fullcountry] => ZA (South Africa) [country] => za ) )

API Manual - version from 2019-07-31 15:54:31