Get TLDs

gettlds

Purpose

This command can be used to retrieve available TLDs and prices.

Optional Attributes

  • tld - array: specify list of TLD

Example Command

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

$postfields["action"] = "gettlds";
$postfields['tld[0]'] = '.hu';
$postfields['tld[1]'] = '.com';

$result = mikrovps_SendCommand( $postfields );

Successful Response

Array
(
    [result] => success
    [products] => Array
        (
            [domain] => Array
                (
                    [0] => Array
                        (
                            [.hu] => Array
                                (
                                    [tld] => .hu
                                    [period] => Array
                                        (
                                            [1] => Array
                                                (
                                                    [register] => 10.00
                                                    [transfer] => 10.00
                                                    [renew] => 10.00
                                                )
                                            [2] => Array
                                                (
                                                    [register] => 20.00
                                                    [transfer] => 20.00
                                                    [renew] => 20.00
                                                )
                                        )
                                )

                            [.com] => Array
                                (
                                    [tld] => .com
                                    [period] => Array
                                        (
                                            [1] => Array
                                                (
                                                    [register] => 20.00
                                                    [transfer] => 20.00
                                                    [renew] => 20.00
                                                )

                                            [2] => Array
                                                (
                                                    [register] => 40.00
                                                    [renew] => 40.00
                                                )
                                        )
                                )
                        )
                )
        )
)
  • 1 brukere syntes dette svaret var til hjelp
Var dette svaret til hjelp?

Relaterte artikler

Get Products

getproducts Purpose This command can be used to retrieve product and domain details....

Get Orders

getorders Purpose This command is used to generate a list of orders Attributes Optional...

Cancel Order

cancelorder Purpose This command is used to cancel a pending order in the system. Attributes...

Add Order

addorder Purpose This command is used to add a new order to the system. Attributes clientid...