Knowladge Base

SELLER API FOR DOWNLOADING DOCUMENT

Method for to Get Document of a DID

By using this method the seller can see Document of a DID. The seller has to provide user id, password, DID Number (for which he wants to see documents).

In case of successful result, the function return MemberID,Prefix,Document(64 bit encoded),VendorOID,AreaID,DocumentStatus?,DIDNumber,Date,Type(file extension),CustomerName?,Contact,DocNumber?,DocName?,Email,TextName?,TextDetail?,ApprovedBy?,NotifyURL,UserData?,

Origin,UsageFrom?,UsageTo?,LastIP,CurrentRingTo?,AlsoUses?,

MyChannelID?,ChannelQty?and IsTrigger?.

Otherwise, an error code would be returned which is described later.

Method Signature

Example Usage

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

<?php

require_once “nusoap.php”;

$parameters=array(“954488″,”54dfg5″,”156783476332”);
$soapclient= new soapclient(‘http://api.didx.net/webservice/WebGetDIDDocsInfo.php’);
$SoapResult = array();
$SoapResult = $soapclient->call(“getDIDDocsInfo”, $parameters,’urn:getDIDDocsInfo’);

print_r($SoapResult);

?>

This code requests to get Documents of a DID number ‘156783476332’.

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
-3 = This DID Number is not in your account
-30 = Invalid Account Type