DomainsListTransfers

List outgoing domain transfers.

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 ID (numeric).
Hoe hoger de ID, hoe later de domeinnaam is besteld.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
45221
domain_X Domain without extension.
Eg "versio.uk" you enter "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" you enter "uk".
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
uk
auto_renew_X Automatic renewal for domain.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
1 = On
0 = Off
transfer_status_X Current status.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
notstarted, pending, cancelled or finished
transfer_text_X Extra information about the transfer status.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
Not being sent when transfer_status = notstarted
transfer_time_update_X Last update time.
The X runs from 1 to the value of total_count
Only sent when value parameter success = 1
Not being sent when transfer_status = notstarted


Example

<? require("class_versio_api.php"); unset($command); $command = array( "command" => "DomainsListTransfers" ); $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['auto_renew_'.$teller]; ?></td> <td><? echo $versio['transfer_status_'.$teller]; ?></td> <td><? echo $versio['transfer_text_'.$teller]; ?></td> <td><? echo $versio['transfer_time_update_'.$teller]; ?></td> </tr> <? $teller++; } ?> </table> <? } } ?>