Knowladge Base

DIDS LIST FOR SELLER

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.

Method Signature

sub WebGetSellerDIDList($UserID,$Password,$Page)

Example Usage

We are providing a sample code in PHP that accesses and uses this service.

WSDL Access (PHP Client):

<?php
$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’);

print_r($SoapResult);

?>

Successfull query will return array Information.

Error Codes

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