API Commands
[All Commands]

Command: Special_Pricelist



command Special_Pricelist

Get special 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("Special_Pricelist",$params);

?>
INPUT: [data] => Array ( [ssid] => 29ae201e12b466c7347a29 ) OUTPUT: [status] => ok [data] => Array ( [0] => Array ( [tld] => eu [currency] => EUR [dateto] => 2018-12-01 [prices] => Array ( [register] => 63.8 [renew] => 63.8 ) ) [1] => Array ( [tld] => club [currency] => EUR [dateto] => 2018-12-01 [prices] => Array ( [register] => 10.8 ) ) )

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