DomainsListResellers

List al SIDN reseller names from your account.

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 amount.
Only sent when value parameter success = 1
20
id_X Reseller ID
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
32338
name_X Name.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
versio
email_x E-mail adress.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
h.sarly@email.com
url_x Website.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
http://www.versio.nl
phone_x Phone number.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
0123456780
street_x Street namw.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
Street name
hnr_X Housenumber.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
2
hnradd_X Housenumber addition.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
A
zipcode_X Postcode.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
1234
city_X City name.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
London
country_X Country.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
UK


Voorbeeld

<? require("class_versio_api.php"); unset($command); $command = array( "command" => "DomainsListResellers" ); $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['name_'.$teller]; ?></td> <td><? echo $versio['email_'.$teller]; ?></td> <td><? echo $versio['url_'.$teller]; ?></td> <td><? echo $versio['phone_'.$teller]; ?></td> <td><? echo $versio['street_'.$teller]; ?></td> <td><? echo $versio['hnr_'.$teller]; ?></td> <td><? echo $versio['hnradd_'.$teller]; ?></td> <td><? echo $versio['zipcode_'.$teller]; ?></td> <td><? echo $versio['city_'.$teller]; ?></td> <td><? echo $versio['country_'.$teller]; ?></td> </tr> <? $teller++; } ?> </table> <? } else { echo("No resellers found."); } } ?>