DomainsListActive

Show list with active domains.

Input

None

Output

Parameter Value Example value
success command executed successfully 0 = fout
1 = command executed successfully
command_response_message Error
Only sent when value parameter success = 0
incorrect password
total_count Total active domain names
Only sent when value parameter success = 1
20
id_X Domain ID (numeric)
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
45221
domain_X Domain without extensions.
Eg "versio.uk" will return "versio".
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
versio
tld_X Domain extension.
Eg "versio.uk" will return "uk".
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
nl
expiration_date_X Domain expiredate.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
01-09-2018
expiration_stamp_X Domain expire date in Linux timestamp.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
1535760000
auto_renew_X Auto renew for domain.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
1 = Aan
0 = Uit
ns1_X Nameserver 1.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
ns9.versio.nl
ns1_ip_X Nameserver 1 (glue) IP adress.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
91.213.214.225
ns2_X Nameserver 2.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
ns9.versio.nl
ns2_ip_X Nameserver 2 (glue) IP adress.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
91.213.214.225
ns3_X Nameserver 3.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
ns9.versio.nl
ns3_ip_X Nameserver 3 (glue) IP adress.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
91.213.214.225
ns4_X Nameserver 4.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
ns9.versio.nl
ns4_ip_X Nameserver 4 (glue) IP adress.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
91.213.214.225
ns5_X Nameserver 5.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
ns9.versio.nl
ns5_ip_X Nameserver 5 (glue) IP adress.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
91.213.214.225
ns6_X Nameserver 6.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
ns9.versio.nl
ns6_ip_X Nameserver 6 (glue) IP adress.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
91.213.214.225
ns7_X Nameserver 7.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
ns9.versio.nl
ns7_ip_X Nameserver 7 (glue) IP adress.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
91.213.214.225
contactid_X Contact id domain holder.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
144509
contactvalidated_X Is the contact validated. 0 = not validated. 1= validated.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
1


Example

<? require("class_versio_api.php"); unset($command); $command = array( "command" => "DomainsListActive" ); $api = new Versio_api(); $versio = $api->api_send( $command ); IF($versio['success']==0) { echo("Error occured. Error code: ".$versio['command_response_code'].". Error message: ".$versio['command_response_message'].""); } else { IF($versio['total_count']>0) { ?> <table> <? $teller = 1; while($versio['total_count']>=$teller) { ?> <tr> <td><? echo $versio['id_'.$teller]; ?></td> <td><? echo $versio['domain_'.$teller]; ?></td> <td><? echo $versio['tld_'.$teller]; ?></td> <td><? echo $versio['expiration_date_'.$teller]; ?></td> <td><? echo $versio['expiration_stamp_'.$teller]; ?></td> <td><? echo $versio['auto_renew_'.$teller]; ?></td> <td><? echo $versio['ns1_'.$teller]; ?></td> <td><? echo $versio['ns1_ip_'.$teller]; ?></td> <td><? echo $versio['ns2_'.$teller]; ?></td> <td><? echo $versio['ns2_ip_'.$teller]; ?></td> <td><? echo $versio['ns3_'.$teller]; ?></td> <td><? echo $versio['ns3_ip_'.$teller]; ?></td> <td><? echo $versio['ns4_'.$teller]; ?></td> <td><? echo $versio['ns4_ip_'.$teller]; ?></td> <td><? echo $versio['ns5_'.$teller]; ?></td> <td><? echo $versio['ns5_ip_'.$teller]; ?></td> <td><? echo $versio['ns6_'.$teller]; ?></td> <td><? echo $versio['ns6_ip_'.$teller]; ?></td> <td><? echo $versio['ns7_'.$teller]; ?></td> <td><? echo $versio['ns7_ip_'.$teller]; ?></td> <td><? echo $versio['contactid_'.$teller]; ?></td> <td><? echo $versio['contactvalidated_'.$teller]; ?></td> </tr> <? $teller++; } ?> </table> <? } else { echo("No active domains found."); } } ?>