API Commands
[All Commands]

Info_Reseller_Hosting_Config


Retrieve Reseller-Hosting configuration.

Input:

string ssid token from Login

Output:

string status ok | error
int warning_level Reseller-Hosting usage percentage at which an email notification will be sent
string exceed_handling what will happen when the Reseller-Hosting capacity is exceeded (reject = new orders not accepted; pending = new orders have a Pending status)
string last_notify_email date and time when the last email notification was sent

Example:


<?php

$client 
= new SoapClient(null, [
    
'location' => 'http://regtons.com/soap/cmd.php',
    
'uri' => 'http://regtons.com/soap'
]);

$login_input = [
    
'login' => 'demo',
    
'password' => 'demouser'
];

$login_output $client->__call('Login', ['data' => $login_input]);

$input = [
    
'ssid' => $login_output['data']['ssid']
];

$output $client->__call('Info_Reseller_Hosting_Config', ['data' => $input]);

print_r($input);
print_r($output);
$input: Array ( [ssid] => 51aca4e95c12821b56a9045babc943e7 ) $output: Array ( [status] => ok [warning_level] => 80 [exceed_handling] => reject [last_notify_email] => 2019-07-17 10:09:06 )

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