API Function: CancelService
Resource URL: www.dialmycalls.com/api/1-0/CancelService
This will cancel either a text or call that has been scheduled with a date/time in the future. A call must be cancelled within time to allow cancellation, if not an error will be returned.
Required Resource Properties
| Property | |
|---|---|
| service_type | The service type (call or text) that is to be cancelled. |
| service_id | A callid or textid that was returned when the service was initially scheduled. |
Examples
- How To Cancel A Call
-
$request->execute("/1-0/cancelservice/", 'POST',array("service_type"=>"call","serviceid"=>1346,));
- How To Cancel A Text
-
$request->execute("/1-0/cancelservice/", 'POST',array("service_type"=>"text","serviceid"=>1344,));