Пример #1
0
$sendRespone = $client->sendFax($sendFaxRequest);
/* Display response */
print_r($sendRespone);
/* Setup FaxStatusRequest */
$faxStatusRequest = new MonopondFaxStatusRequest();
$faxStatusRequest->MessageRef = "test-2-1-1";
$faxStatusRequest->Verbosity = "all";
/* Send request to Monopond */
$faxStatus = $client->faxStatus($faxStatusRequest);
/* Display response */
print_r($faxStatus);
/* Setup StopFaxRequest */
$stopFaxRequest = new MonopondStopFaxRequest();
$stopFaxRequest->MessageRef = "test-2-2-1";
/* Send request to Monopond */
$stopFax = $client->resumeFax($stopFaxRequest);
/* Display response */
print_r($stopFax);
/* Setup StopFaxRequest */
$stopFaxRequest = new MonopondStopFaxRequest();
$stopFaxRequest->MessageRef = "test-2-2-1";
/* Send request to Monopond */
$stopFax = $client->stopFax($stopFaxRequest);
/* Display response */
print_r($stopFax);
/* Setup PauseFaxRequest */
$pauseFaxRequest = new MonopondPauseFaxRequest();
$pauseFaxRequest->MessageRef = "test-2-2-1";
/* Send request to Monopond */
$pauseFax = $client->pauseFax($pauseFaxRequest);
/* Display response */