This method returns DIDs List of Seller in the form of an array (per page 50 DIDs info show). The user is required to give User ID, Password and page number as arguments and he’ll get DIDs Information in the form of an array.
In case of successful, the DIDs Information would be returned. Otherwise, an error code would be returned which is described later.
We are providing a sample code in PHP that accesses and uses this service.
WSDL Access (PHP Client):
$parameters = array(“900400″,”XXXX”, “2”);
$soapclient= new soapclientnusoap(‘http://api.didx.net/webservice/WebGetSellerDIDListWSDL.php?wsdl’, true);
$SoapResult = array();
$SoapResult = $soapclient->call(“WebGetSellerDIDList”, $parameters,’WebGetSellerDIDList’);
Successfull query will return array Information.
In case of any incorrect information provided by the user or in case of no matching data, an error code will be returned. Error codes correspond to the following messages:
-1 = User ID does not exist
-2 = Your Password is Incorrect
-3 = User must be Seller