Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Sep 2007
    Posts
    20

    Default xml-api resellerstats not reporting suspended accounts correctly

    i am getting strange results for the value of "suspended" when calling resellerstats .... basically, the suspended tag seems to be corrupted on all but deleted accounts, on deleted accounts suspended is set to 1, but on all other accounts the output is missing ..... here is an example of the output i am getting .....

    - <accts>
    <bandwidthlimit>2000000</bandwidthlimit>
    <bandwidthused>14.27</bandwidthused>
    <deleted>0</deleted>
    <diskquota>100000</diskquota>
    <diskused>416.34</diskused>
    <domain>validdomain.com</domain>
    <package>website_Basic</package>
    <suspended /> <------ ALL NON-DELETED ACCOUNTS APPEAR LIKE THIS
    <user>myuser</user>
    </accts>
    - <accts>
    <bandwidthlimit>0</bandwidthlimit>
    <bandwidthused>23.03</bandwidthused>
    <deleted>1</deleted>
    <diskquota>0</diskquota>
    <diskused>0</diskused>
    <domain>deleteddomain.com</domain>
    <package>deleted account</package>
    <suspended>1</suspended>
    <user>hanhonor</user>
    </accts>


    anyone else seen this?

  2. #2
    Member
    Join Date
    Sep 2007
    Posts
    20

    Default

    hmmm, has no one else run into this?

    just to clarify, all non-deleted accounts, whether suspended or not are returning: <suspended />, whereas all deleted accounts are returning: <suspended>1</suspended>

  3. #3
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,718
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by methos View Post
    hmmm, has no one else run into this?

    just to clarify, all non-deleted accounts, whether suspended or not are returning: <suspended />, whereas all deleted accounts are returning: <suspended>1</suspended>
    I am unable to replicate this issue on:

    WHM 11.23.2 cPanel 11.23.4-B26152
    CENTOS Enterprise 4.6 i686 on standard - WHM X v3.1.0

  4. #4
    Member
    Join Date
    Sep 2007
    Posts
    20

    Default

    I've tried it now on two servers, both running:
    WHM 11.23.2 cPanel 11.23.4-R26138
    FEDORA 7 i686 on standard - WHM X v3.1.0


    can anyone confirm that this is happening in the release version and fixed in later builds?

  5. #5
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,718
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by methos View Post
    I've tried it now on two servers, both running:
    WHM 11.23.2 cPanel 11.23.4-R26138
    FEDORA 7 i686 on standard - WHM X v3.1.0


    can anyone confirm that this is happening in the release version and fixed in later builds?
    I know QA has managed to replicate this issue. I have no ETA on a resolution though. (Internal Case 8842)

Similar Threads & Tags
Similar threads

  1. is XML/JSON-API available only to WHM accounts?
    By eschminke in forum cPanel Developers
    Replies: 6
    Last Post: 12-02-2011, 04:35 PM
  2. Cannot Create New Email Accounts with XML API Script
    By christsealed in forum E-mail Discussions
    Replies: 1
    Last Post: 04-30-2011, 07:48 PM
  3. /xml-api/resellerstats?reseller=root
    By SunShellNET in forum cPanel Developers
    Replies: 1
    Last Post: 04-01-2009, 11:38 AM
  4. XML API: always get login screen, not XML
    By sldff3ald in forum cPanel Developers
    Replies: 3
    Last Post: 09-19-2007, 10:29 AM
  5. Suspended Accounts Dont go on suspended list
    By matty005 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 12-13-2006, 10:35 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube