WebhostingRequestPush

Door middel van een 'push' kunt u een webhosting pakket die in beheer is van een andere klant onder uw eigen klantenaccount plaatsen.

Input

Parameter Value Example value
webhosting Username van desbetreffende webhosting pakket.
Parameter is verplicht
uuhsda6


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
push_id Push ID van de aanvraag.
Only sent when value parameter success = 1
20


Voorbeeld

<? require("class_versio_api.php"); unset($command); $command = array( "command" => "WebhostingRequestPush", "webhosting" => "uuhsda6" ); $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("Push request is succesvol verzonden en heeft ID #". $versio['push_id']); } ?>