Skip to content

Instantly share code, notes, and snippets.

@multitel
multitel / gist:5533278
Last active December 17, 2015 02:08
e911 VerifyAddress SOAP function
<?php
include('/path/to/your/nusoap/nusoap.php');
$client = new nusoap_client('http://api.multitel.net/?wsdl');
$address ='200 Central Park West';
$city ='New York';
$state ='NY';
$zip ='10024';
$parameters=array(
@multitel
multitel / gist:5533310
Last active December 17, 2015 02:08
e911 removeRecord SOAP function
<?php
include('/path/to/your/nusoap/nusoap.php');
$client = new nusoap_client('http://api.multitel.net/?wsdl','wsdl');
$parameters=array(
array(
"UserName" => 'yourusername',
"Password" => 'yourpassword',
"Number" => '15678912345'
)
@multitel
multitel / e911 ProvisionAddress SOAP function
Last active December 17, 2015 02:09
e911 ProvisionAddress SOAP function
<?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";
@multitel
multitel / gist:5533838
Last active December 17, 2015 02:09
e911 QueryRecord SOAP function
<?php
include('/path/to/your/nusoap/nusoap.php');
$client = new nusoap_client('http://api.multitel.net/?wsdl','wsdl');
$parameters=array(
array(
"UserName" => 'yourusername',
"Password" => 'yourpassword',
"Number" => '12127695100'
)
@multitel
multitel / e911 QueryAll SOAP function
Last active December 17, 2015 02:09
e911 QueryAll SOAP function
<?php
include('/path/to/your/nusoap/nusoap.php');
$client = new nusoap_client('http://api.multitel.net/?wsdl','wsdl');
$parameters=array(
array(
"UserName" => 'yourusername',
"Password" => 'yourpassword'
)
);
@multitel
multitel / gist:5533913
Last active December 17, 2015 02:09
SendSms (Text Message) SOAP function
<?php
include('/path/to/your/nusoap/nusoap.php');
$client = new nusoap_client('http://api.multitel.net/?wsdl','wsdl');
$parameters=array(
array(
"UserName" => 'yourusername',
"Password" => 'yourpassword',
"From" => '+15678912345',
"To" => '+4420123123123',
@multitel
multitel / gist:5534033
Last active December 17, 2015 02:09
GetBalance SOAP function
<?php
include('/path/to/your/nusoap/nusoap.php');
$client = new nusoap_client('http://api.multitel.net/?wsdl','wsdl');
$parameters=array(
array(
"UserName" => 'yourusername',
"Password" => 'yourpassword'
)
);
@multitel
multitel / gist:5534046
Last active December 17, 2015 02:09
GetCountries 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"
)
);
@multitel
multitel / gist:5534080
Last active December 17, 2015 02:09
GetAreas 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" => "BE", //Belgium
)
@multitel
multitel / gist:5534104
Last active December 17, 2015 02:09
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