API Commands
[All Commands]

Command: Login



command Login

User login to API

Input Parameters ($data):

string login Username for login
string password Password

Output Responses:

string status ok | error
array data Details about your request
 
string ssid Token for this session

Sample:


<?
$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);
?>
INPUT: [data] => Array ( [login] => demo [password] => 29ae201e12b466c7347a29 ) OUTPUT: [status] => ok [data] => Array ( [ssid] => c4d0a76dd497d3fad234da77adb4db8c )

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