API Commands
[All Commands]

Command: Info_Order



command Info_Order

Info about existing order

Input Parameters ($data):

string ssid Token from Login
string order Order ID

Output Responses:

string status ok | error
array data Details about your request
 
array order Order details
int id Order ID
string domain Domain name
string type Type of this order
string status Status of this order
string message Message from registry
string payed Information if order is payed or not
string amount Amount

Sample:


<?
$client 
= new SoapClient(
        
null
        array(
            
"location" => "https://PRODUCTION/robot.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,
            
"order" => 314
    
)
);

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

?>
INPUT: [data] => Array ( [ssid] => 29ae201e12b466c7347a29 [order] =>  314 ) OUTPUT: [status] => ok [data] => Array ( [order] => Array ( [id] => 314 [domain] => motyli.org [type] => UnLock_Domain [status] => Completed [message] => [payed] => 1 [amount] => 0.00 ) )

API Manual - version from 2017-03-07 10:42:19