domaingetwhoisinfo
Purpose
This command is used to obtain the WHOIS of a domain from the registrar
Attributes
- domainid - Domain ID OR
- domain - The domain name
Example Command
$postfields = array(); $postfields["responsetype"] = "json"; $postfields["action"] = "domaingetwhoisinfo"; $postfields["domainid"] = "1"; $result = mikrovps_SendCommand( $postfields );
Successful Response
Domain contact info in Array
Error Response
result = error message = Domain Not Found
Domain ID not found
result = error message = Registrar Error Message error = xxx
Error values