Skip to content

Instantly share code, notes, and snippets.

@multitel
Last active December 17, 2015 02:09
Show Gist options
  • Save multitel/5534104 to your computer and use it in GitHub Desktop.
Save multitel/5534104 to your computer and use it in GitHub Desktop.
GetDIDs SOAP Service
<?php
include('/path/to/your/nusoap/nusoap.php');
$client = new nusoap_client('http://api.multitel.net/?wsdl');
$parameters=array(
array(
"UserName" => "yourusername",
"Password" => "yourpassword",
"CountryCode" => "322" // Belgium, Brussels
)
);
$Res = array();
$Res = $client->call("GetDidsWs", $parameters,'urn:GetDidsWs');
print_r($Res);
exit;
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment