API Commands
[All Commands]

Info_Web_Hosting_Install


Query the status of request for a WordPress installation.

Input:

string ssid token from Login
string webhosting Web Hosting code
string domain hosted domain name

Output:

string status ok | error
string install_status new = request accepted; ok = installation completed; err = installation failed; no_request = there is no installation request
string error_message description of the error (optional)
string address full URL of the WordPress installation (optional)
string username WordPress admin username (optional)
string email WordPress admin email address (optional)

Example:


<?php

$client 
= new SoapClient(null, [
    
'location' => 'https://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'],
    
'webhosting' => 'NGHTFH',
    
'domain' => 'domain.or.af'
];

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

print_r($input);
print_r($output);
$input: Array ( [ssid] => 51aca4e95c12821b56a9045babc943e7 [webhosting] => NGHTFH [domain] => domain.or.af ) $output: Array ( [status] => ok [install_status] => ok [error_message] => [address] => https://domain.or.af/ [username] => admin [email] => info@domain.or.af )

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