API Commands
[All Commands]

Command: Pricelist



command Pricelist

Get pricelist from account

Input Parameters ($data):

string ssid Token from Login

Output Responses:

string status ok | error
array data Pricelist

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,
    )
);

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

?>
INPUT: [data] => Array ( [ssid] => 29ae201e12b466c7347a29 ) OUTPUT: [status] => ok [data] => Array ( [ac] => Array ( [promo] => 0 [promoexp] => [country] => Ascension Island [continent] => africa [minyear] => 1 [maxyear] => 1 [minyear_renew] => 1 [maxyear_renew] => 1 [local_presence] => 0 [currency] => USD [prices] => Array ( [register] => 63.8 [renew] => 63.8 [restore] => 63.8 [transfer] => 63.8 [local_presence] => 0.00 [setup] => 0.00 ) ) [ad] => Array ( [promo] => 1 [promoexp] => 2016-06-29 [country] => Andorra [continent] => europe [minyear] => 1 [maxyear] => 1 [minyear_renew] => 1 [maxyear_renew] => 1 [local_presence] => 1 [currency] => USD [prices] => Array ( [register] => 111.25 [renew] => 111.25 [restore] => 111.25 [transfer] => 111.25 [change_owner] => 111.25 ) ) [com] => Array ( [promo] => 1 [promoexp] => 2016-06-29 [country] => gTLD - Commercional [continent] => generic [minyear] => 1 [maxyear] => 10 [minyear_renew] => 1 [maxyear_renew] => 1 [local_presence] => 0 [currency] => USD [prices] => Array ( [register] => 19.07 [renew] => 19.07 [restore] => 121.44 [transfer] => 19.07 ) [params] => Array ( [lang] => Array ( [name] => lang [desc] => 3-letter language settings for domain holder (cze,slo,eng,...) [required] => 0 ) [internal_dnssec] => Array ( [name] => internal_dnssec [desc] => Whether to use internal DNSSEC settings. [required] => 0 ) [whoisproxy] => Array ( [name] => whoisproxy [desc] => Whether to hide contacts in Whois service [required] => 0 ) ) ) )

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