The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problem whith XML API accountsummary

Discussion in 'cPanel Developers' started by eugui, Feb 11, 2008.

  1. eugui

    eugui Member

    Joined:
    Dec 10, 2007
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    MarĂ­lia, SP, Brazil
    Hi,

    I'm using whit command: whmreq("/xml-api/accountsummary?user=$user_whm", $host, $user, $hash);

    and whmreq return an array to me and the result is:

    Array
    (
    [accountsummary] => Array
    (
    [acct] => Array
    (
    [0] => Array
    (
    [disklimit] => 2M
    [diskused] => 0M
    [domain] => teste.com.br
    => teste@teste.com.br
    [ip] => xx.xx.xx.xx
    [owner] => teste
    [partition] => home2
    [plan] => teste_testao
    [startdate] => 08 Feb 11 08:51
    [theme] => x
    [unix_startdate] => 1202727076
    [user] => teste
    )

    )

    [status] => 1
    [statusmsg] => Ok
    )

    )

    This account is suspended and why i don't have information about "suspended" and "suspendedreason" ??

    http://www.cpanel.net/plugins/xmlapi/accountsummary.html

    Thanks

    Guilherme
     
    #1 eugui, Feb 11, 2008
    Last edited: Feb 11, 2008
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    This functionality was added in recent builds of cPanel/WHM. Please ensure you are using the latest build of cPanel/WHM. You can find information regarding what builds are currently available by visiting http://layer2.cpanel.net
     
  3. eugui

    eugui Member

    Joined:
    Dec 10, 2007
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    MarĂ­lia, SP, Brazil
    hi,

    i have:
    WHM 11.11.0 cPanel 11.16.0-S18450
    REDHAT Enterprise 4 i686 on standard - WHM X v3.1.0

    i have to upgrade whm version?

    thanks
     
Loading...

Share This Page