addcancelrequest
Purpose
This command is used to Add Cancellation Request for a specific product
Attributes
- serviceid - Service ID to be cancelled
- type - Can be:
- Immediate
- End of Billing Period
Optional Attributes
- reason - Reason for cancel
Example Command
$postfields = array(); $postfields['responsetype'] = "json"; $postfields['action'] = 'addcancelrequest'; $postfields['serviceid'] = "1"; $postfields['type'] = "End of Billing Period"; $postfields['reason'] = "Customer Request"; $result = mikrovps_SendCommand( $postfields );
Successful Response
result = success serviceid = xxx #service ID returned on success userid = xxx #UserID returned on success
Error Response
result=error message=Service ID not foundGiven service ID is not found in the database.