WebhostingSetAutoRenew

Stel de automatische verlenging van een webhosting account in. De webhosting account op de dag van de verloopdatum automatisch verlengd als u automatische verlenging heeft aan staan.

Input

Parameter Value Example value
username Gebruikersnaam van de webhosting pakket waaronder dit domeinnaam toegevoegd moet worden.
Parameter is verplicht
keeshz51
auto_renew Moet de webhosting account 1 dag voor de verloopdatum automatisch verlengd worden?
Parameter is NOT required
1 = yes
0 = no
If parameter not sent, your default account value will be used


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


Voorbeeld

<? require("class_versio_api.php"); unset($command); $command = array( "command" => "WebhostingSetAutoRenew", "username" => "keeshz51", "auto_renew" => "1" ); $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 { echo("Automatische verlenging is aangezet."); } ?>