Get Clients Domains

getclientsdomains

Purpose

This command is used to get the details of all the domains a client has

Attributes

Optional Attributes

  • domainid - the ID of the domain to retrieve details for
  • domain - the domain of the service to retrieve details for
  • getnameservers - TRUE/FALSE - retrieve nameservers in the response

Example Command

$postfields = array();
$postfields["responsetype"] = "json";

$postfields["action"] = "getclientsdomains";
$postfields['getnameservers'] = TRUE;

$result = mikrovps_SendCommand( $postfields );

Successful Response

Array
(
    [result] => success
    [clientid] => 1
    [domainid] =>
    [totalresults] => 1
    [numreturned] => 1
    [domains] => Array
        (
            [domain] => Array
                (
                    [0] => Array
                        (
                            [id] => 1
                            [regtype] => Register
                            [domainname] => domain.tld
                            [regperiod] => 1
                            [firstpaymentamount] => 1700.00
                            [recurringamount] => 1200.00
                            [regdate] => 2015-06-08
                            [expirydate] => 2017-01-27
                            [nextduedate] => 2017-01-22
                            [status] => Active
                            [dnsmanagement] =>
                            [emailforwarding] =>
                            [idprotection] =>
                            [donotrenew] =>
                            [ns1] => ns0.mikrovps.hu
                            [ns2] => ns1.mikrovps.hu
                            [ns3] =>
                            [ns4] =>
                            [ns5] =>
                            [error] =>
                            [nameservers] => 1
                        )

                )

        )

)

  • 0 Utilisateurs l'ont trouvée utile
Cette réponse était-elle pertinente?

Articles connexes

Add Cancel Request

addcancelrequest Purpose This command is used to Add Cancellation Request for a specific...

Add Contact

addcontact Purpose This command is used to create a new contact under an account. Attributes...

Delete Contact

deletecontact Purpose This command is used to delete a contact in the system. Attributes...

Get Clients Details

getclientsdetails Purpose This command is used to retrieve all the data held about your...

Get Clients Addons

getclientsaddons Purpose This command is used to obtain the addons associated with a client...