Quote:
Originally Posted by paulipv
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.