#1 (permalink)  
Old 07-09-2009, 11:44 AM
Registered User
 
Join Date: Jul 2009
Posts: 19
paulipv is on a distinguished road
XML-API Posible Error

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>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-09-2009, 02:49 PM
cPanelDavidG's Avatar
cPanel Technical Sales
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 8,033
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.
__________________
Need technical assistance? You can find your best avenue for support at: http://support.cPanel.net
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bandwidth in XML API Andrewcp Developer Discussions 11 05-29-2009 10:36 AM
xml-api DTD Edizon Developer Discussions 5 06-03-2008 03:00 AM
XML-API is any of these possible? neo4242002 Developer Discussions 3 03-17-2008 02:46 PM
XML API: always get login screen, not XML sldff3ald Developer Discussions 3 09-19-2007 10:29 AM
How do I use the xml - api? rhopperger Developer Discussions 3 05-19-2007 09:07 AM


All times are GMT -5. The time now is 10:30 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc