Add Cancel Request

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 found
Given service ID is not found in the database.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Add Contact

addcontact Purpose This command is used to create a new contact under an account. Attributes...

Delete Contact

deletecontact Purpose This command is used to delete a contact in the system. Attributes...

Get Clients Details

getclientsdetails Purpose This command is used to retrieve all the data held about your...

Get Clients Addons

getclientsaddons Purpose This command is used to obtain the addons associated with a client...

Get Clients Domains

getclientsdomains Purpose This command is used to get the details of all the domains a client...