Last active
December 17, 2015 02:09
-
-
Save multitel/5533799 to your computer and use it in GitHub Desktop.
e911 ProvisionAddress SOAP function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
include('/path/to/your/nusoap/nusoap.php'); | |
$client = new nusoap_client('http://api.multitel.net/?wsdl','wsdl'); | |
$address ='200 Central Park West'; | |
$address2 =''; | |
$city ='New York'; | |
$state ='NY'; | |
$zip ='10024'; | |
$number = "12127695100"; | |
$name = "American Museum of Natural History"; | |
$parameters=array( | |
array( | |
"UserName" => 'yourusername', | |
"Password" => 'yourpassword', | |
"UniqueId" => '', | |
"Address" => $address, | |
"Address2" => $address2, | |
"City" => $city, | |
"State" => $state, | |
"Zip" => $zip, | |
"Number" => $number, | |
"Callername" => $name | |
) | |
); | |
$Res = array(); | |
$Res = $client->call("ProvisionAddressWs", $parameters,'urn:ProvisionAddressWs'); | |
print_r($Res);exit; | |
// $return_arr = $Res['DATA'][0]; | |
// $return = $return_arr['RETURN']; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment