View Single Post
  #2 (permalink)  
Old 07-09-2009, 02:49 PM
cPanelDavidG's Avatar
cPanelDavidG cPanelDavidG is offline
cPanel Technical Sales
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 7,995
cPanelDavidG is on a distinguished road
Quote:
Originally Posted by paulipv View Post
We have found a posible bug in your XML-API

Bug Info
================================================
Action: listaccts (search).

query key (1): search
query value (1): myacc

query key (2): searchtype
query value (2): package

myacc (package) does not exist but the XML return:

<status>1</status>
<statusmsg>Ok</statusmsg>
The status and statusmsg indicate the call executed successfully. With searches in the XML API, if there are no matches, then the call executes successfully and just doesn't return any search results.

For example, if you search for an existing package that is being used, you will receive results returned in <acct> tags - but when you do a search for a non-existent package, no <acct> tags are returned.
__________________
Want our technical analysts to login to your server to assist you? You can contact our technical analysts at: http://tickets.cPanel.net/submit
Reply With Quote