Reseller Activities

URL: http://www.virtualphoneline.com/webservice/ResellerAPI.php

  • Method For Creating User under Reseller

  • Method:CreateUser (ResellerUID, ResellerPass)
  • UserID:Reseller UID of virtualphoneline.com
  • Pass: Reseller Password
  • Return Type: Array
  • Return Values:
    • Upon successfull authentication, the method will return new user's numeric account number.
    • Error Codes:

    • -1 : Invalid Reseller UID and Password

  • Example Code:


    • require_once "nusoap.php";

    • $parameters=array("9023848","xxxxx");
    • #print_r($parameters);
    • $soapclient= new soapclientnusoap('http://www.virtualphoneline.com/webservice/ResellerAPI.php');
    • $SoapResult = array();
    • $SoapResult = $soapclient->call("CreateUser", $parameters,'urn:CreateUser);

    • print_r($SoapResult);

    • exit;


  • Method For Assiging DID to user with forwarding settings

  • Method:AssignDID (ResellerUID, ResellerPass, $User_Account, $CountryCode, $ForwardingNumber (PSTN Only))
  • UserID:Reseller UID of virtualphoneline.com
  • Pass: Reseller Password
  • User_Account:User's numeric account number
  • Country Code:Country code of the DID number (note: this time by default 1567 number for USA and for UK 4420 would be assigned)
  • Forwarding number:Forwarding number , any landline or Mobile (PSTN)
  • Return Type: Array
  • Return Values:
    • Upon successfull authentication, the method will return an array containing DID number, monthly charges, setup charges, free minutes, per minute charges after free minutes

    • Error Code:

    • -1 : Invalid Reseller UID and Password
    • -2: Unable to get dids.
    • -3: Unable to get available dids.
    • -4: You do not have enough balance.
    • -5: Unable to reserve did.
    • -6: Unable to get reserved did.
    • -7: Unable to Unreserve did.
    • -8: Unable to buy did.
    • -9: did purchased but not added in your account contact admin.
    • -10: DID already reserved please try an other.
    • -12: Invalid forwarding number.
    • -13: Invalid country code .


  • Method For Adding Funds to user account

  • Method:AddFunds (ResellerUID, ResellerPass,$Amount, $User_account)
  • UserID:Reseller UID of virtualphoneline.com
  • Pass: Reseller Password
  • User_Account:User's numeric account number
  • Amount:Amount to be added as talktime to user account in $US
  • Return Type: Numeric
  • Return Values:

    • Upon successfull authentication, the method will return "1"

    • Error Code:

    • -1: Invalid Reseller UID and Password
    • -2: You are not allowed to add funds to this customer account.
    • -3: Please enter some valid amount.
    • -4: You do not have enough balance.
    • -5: Unable to reserve did.
    • -6: Limit exceed (max $10 per transaction)


  • Method For adding talktime to user account

  • Method:AddTalktime (ResellerUID, ResellerPass,$Amount, $User_account)
  • UserID:Reseller UID of virtualphoneline.com
  • Pass: Reseller Password
  • User_Account:User's numeric account number
  • Amount:Amount to be added as talktime to user account in $US
  • Return Type: Numeric
  • Return Values:
    • Upon successfull authentication, the method will return "1"

    • Error Code:

    • -1: Invalid Reseller UID and Password
    • -2: You are not allowed to add funds to this customer account.
    • -3: Please enter some valid amount.
    • -4: You do not have enough balance.
    • -6: Limit exceed (max $10 per transaction)


  • Method For changing forwarding settings (ringto) for DID number

  • Method:ChangeForwarding (ResellerUID, ResellerPass, $DID, $ForwardingNumber)
  • UserID:Reseller UID of virtualphoneline.com
  • Pass: Reseller Password
  • DID:User's DID number
  • Forwarding Numbers:Landline or Mobile number (PSTN)
  • Return Type: Numeric
  • Return Values:
    • Upon successfull authentication, the method will return "1"

    • Error Code:

    • -1: Invalid Reseller UID and Password
    • -2: Invalid Forwarding Number.

About Us

Reseller Offers

Other Products

Virtual Phone Line has been in service since 1999 Re-Seller Program Super-Phone.com
Work with us Want to start Your own Brand? White Label IP-Pabx.com
    SuperIVR.net

Faq's

Related Products

Contact Us

What is VirtualPhoneLine? DIDX.Net Care@VirtualPhoneLine.com
Termination Rate Per Min Phone2net.Com Virtualphoneline
Coverage Area GroovyTel.Com  
     

Features

Awards

Bookmark To

Numbers from 20+ Countries Internet World Telephony 2001 Add To Del.icio.us Add To Slashdot Add To Furl Add To Newsvine Add To My Yahoo Add To Reddit Add To Simpy Share on Facebook
Call Forwarding to PSTN Internet Telephony 2000
Call Forwarding to MSN   Add To Comments Add To Bloglines Add To Google Bookmarks Add To Spurl Add To Digg Favorites Add To Browser Favorites